Example usage for Java javax.lang.model.element Element fields, constructors, methods, implement or subclass
The text is from its open source code.
R | accept(ElementVisitor Applies a visitor to this element. |
TypeMirror | asType() Returns the type defined by this element. |
boolean | equals(Object obj) Returns true if the argument represents the same element as this , or false otherwise. |
A | getAnnotation(Class annotationType) |
List extends AnnotationMirror> | getAnnotationMirrors() To get inherited annotations as well, use Elements#getAllAnnotationMirrors(Element) getAllAnnotationMirrors . |
Class> | getClass() Returns the runtime class of this Object . |
List extends Element> | getEnclosedElements() Returns the elements that are, loosely speaking, directly enclosed by this element. |
Element | getEnclosingElement() Returns the innermost element within which this element is, loosely speaking, enclosed. |
ElementKind | getKind() Returns the kind of this element. |
Set | getModifiers() Returns the modifiers of this element, excluding annotations. |
Name | getSimpleName() Returns the simple (unqualified) name of this element. |
String | toString() Returns a string representation of the object. |