code: public void markAsVisited(final Field field) {
          final OneOf oneOfAnnotation = field.getAnnotation(OneOf.class);
          if (oneOfAnnotation != null) {
              final OneOfGroup oneOfGroup = this.mapping.get(oneOfAnnotation.value());
              oneOfGroup.satisfiedBy.add(new OneOfSatisfier(field, false));
          }
          final CanSatisfyOneOf canSatisfyOneOf = field.getAnnotation(CanSatisfyOneOf.class);
          if (canSatisfyOneOf != null) {
              final OneOfGroup oneOfGroup = this.mapping.get(canSatisfyOneOf.value());
              oneOfGroup.satisfiedBy.add(new OneOfSatisfier(field, true));
          }
      }
docs: Check if a field is part of a {@link org.mapfish.print.parser.OneOf} relationship and mark the group as
  satisfied.
  
  @param field the field that is done.