public static Predicate<Element> hasModifiers(final Set<Modifier> modifiers) {
        return new Predicate<Element>() {
            @Override
            public boolean apply(Element input) {
                return input.getModifiers().containsAll(modifiers);
            }
        };
    }
Static utility methods pertaining to {@link Element} instances.

@author Gregory Kick
android/annotation_processors/xposed_hook_compiler/src/main/java/github/tornaco/permission/compiler/common/MoreElements.java