Example usage for Java javax.lang.model.util Elements fields, constructors, methods, implement or subclass
The text is from its open source code.
List extends AnnotationMirror> | getAllAnnotationMirrors(Element e) Returns all annotations present on an element, whether directly present or present via inheritance. |
List extends Element> | getAllMembers(TypeElement type) Returns all members of a type element, whether inherited or declared directly. |
PackageElement | getPackageOf(Element type) Returns the package of an element. |
TypeElement | getTypeElement(CharSequence name) Returns a type element given its canonical name if the type element is unique in the environment. |
boolean | overrides(ExecutableElement overrider, ExecutableElement overridden, TypeElement type) Tests whether one method, as a member of a given type, overrides another method. |