code: public static Predicate<Field> hasModifiers(final Integer modifiers) {
          return field -> (modifiers & field.getModifiers()) == modifiers;
      }
docs: Create a predicate to check that a field has a given set of modifiers.
  
  @param modifiers of the field to check
  @return Predicate to check that a field has a given set of modifiers