- asType
Returns the given Element instance as TypeElement.This method is functionally
equivalent to an insta
- getAnnotationMirror
Returns an AnnotationMirror for the annotation of type annotationClass on
element, or Optional#absen
- isAnnotationPresent
Returns true iff the given element has an AnnotationMirror whose
AnnotationMirror#getAnnotationType(
- getPackage
An alternate implementation of Elements#getPackageOf that does not require an
Elements instance.
- asExecutable
Returns the given Element instance as ExecutableElement.This method is
functionally equivalent to an
- getLocalAndInheritedMethods
Returns the set of all non-private methods from type, including methods that it
inherits from its an
- hasModifiers
Returns a Predicate that can be used to filter elements by Modifier. The
predicate returns true if t
- methodVisibleFromPackage