code: public FieldInfoList filter(final FieldInfoFilter filter) {
          final FieldInfoList fieldInfoFiltered = new FieldInfoList();
          for (final FieldInfo resource : this) {
              if (filter.accept(resource)) {
                  fieldInfoFiltered.add(resource);
              }
          }
          return fieldInfoFiltered;
      }
docs: Find the subset of the {@link FieldInfo} objects in this list for which the given filter predicate is true.
  
  @param filter
  The {@link FieldInfoFilter} to apply.
  @return The subset of the {@link FieldInfo} objects in this list for which the given filter predicate is
  true.