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