code: public void markAsVisited(final Field field) {
          if (field.getAnnotation(Requires.class) != null) {
              this.dependantsInJson.add(field);
          }
  
          final Field dependant = this.requirementToDependantMap.get(field.getName());
          if (dependant != null) {
              this.dependantToRequirementsMap.remove(dependant, field.getName());
          }
      }
docs: Check if a field is part of a {@link org.mapfish.print.parser.Requires} relationship and mark the
  requirement as satisfied for the given field.
  
  @param field the field that is done.