code: public static <T extends Element> Predicate<T> hasModifiers(Modifier... modifiers) {
      return hasModifiers(ImmutableSet.copyOf(modifiers));
    }
docs: Returns a {@link Predicate} that can be used to filter elements by {@link Modifier}.
  The predicate returns {@code true} if the input {@link Element} has all of the given
  {@code modifiers}, perhaps in addition to others.
  
  <p>Here is an example how one could get a List of static methods of a class:
  <pre>{@code
  FluentIterable.from(ElementFilter.methodsIn(clazzElement.getEnclosedElements()))
  .filter(MoreElements.hasModifiers(Modifier.STATIC).toList();
  }</pre>