docs: public static Collection<Field> getAttributes(
              final Class<?> classToInspect, final Predicate<Field> filter) {
          Set<Field> allFields = new HashSet<>();
          getAllAttributes(classToInspect, allFields, Function.identity(), filter);
          return allFields;
      }