Example usage for Java javax.lang.model.element ExecutableElement fields, constructors, methods, implement or subclass
The text is from its open source code.
TypeMirror | asType() Returns the ExecutableType executable type defined by this executable element. |
A | getAnnotation(Class annotationType) |
List extends AnnotationMirror> | getAnnotationMirrors() To get inherited annotations as well, use Elements#getAllAnnotationMirrors(Element) getAllAnnotationMirrors . |
Element | getEnclosingElement() Returns the innermost element within which this element is, loosely speaking, enclosed. |
Set | getModifiers() Returns the modifiers of this element, excluding annotations. |
List extends VariableElement> | getParameters() Returns the formal parameters of this executable. |
TypeMirror | getReturnType() Returns the return type of this executable. |
Name | getSimpleName() Returns the simple name of a constructor, method, or initializer. |
List extends TypeMirror> | getThrownTypes() Returns the exceptions and other throwables listed in this method or constructor's throws clause in declaration order. |
String | toString() Returns a string representation of the object. |