Uses of Interface
javax.lang.model.element.ExecutableElement
Package
Description
Provides interfaces to represent source code as abstract syntax
trees (AST).
Provides utilities for operations on abstract syntax trees (AST).
Facilities for declaring annotation processors and for
allowing annotation processors to communicate with an annotation processing
tool environment.
Interfaces used to model elements of the Java programming language.
Utilities to assist in the processing of
program elements and
types.
-
Uses of ExecutableElement in com.sun.source.tree
Modifier and TypeMethodDescriptionScope.getEnclosingMethod()
Returns the innermost executable element containing the position of this scope. -
Uses of ExecutableElement in com.sun.source.util
Modifier and TypeMethodDescriptionabstract MethodTree
Trees.getTree
(ExecutableElement method) Returns theMethodTree
node for a givenExecutableElement
. -
Uses of ExecutableElement in javax.annotation.processing
Modifier and TypeMethodDescriptionIterable
<? extends Completion> AbstractProcessor.getCompletions
(Element element, AnnotationMirror annotation, ExecutableElement member, String userText) Returns an empty iterable of completions.Iterable
<? extends Completion> Processor.getCompletions
(Element element, AnnotationMirror annotation, ExecutableElement member, String userText) Returns to the tool infrastructure an iterable of suggested completions to an annotation. -
Uses of ExecutableElement in javax.lang.model.element
Modifier and TypeMethodDescriptionRecordComponentElement.getAccessor()
Returns the executable element for the accessor associated with the given record component.Modifier and TypeMethodDescriptionMap
<? extends ExecutableElement, ? extends AnnotationValue> AnnotationMirror.getElementValues()
Returns the values of this annotation's elements.Modifier and TypeMethodDescriptionElementVisitor.visitExecutable
(ExecutableElement e, P p) Visits an executable element. -
Uses of ExecutableElement in javax.lang.model.util
Modifier and TypeMethodDescriptionstatic List
<ExecutableElement> ElementFilter.constructorsIn
(Iterable<? extends Element> elements) Returns a list of constructors inelements
.static Set
<ExecutableElement> ElementFilter.constructorsIn
(Set<? extends Element> elements) Returns a set of constructors inelements
.Map
<? extends ExecutableElement, ? extends AnnotationValue> Elements.getElementValuesWithDefaults
(AnnotationMirror a) Returns the values of an annotation's elements, including defaults.static List
<ExecutableElement> Returns a list of methods inelements
.static Set
<ExecutableElement> Returns a set of methods inelements
.Modifier and TypeMethodDescriptiondefault boolean
Elements.isBridge
(ExecutableElement e) Returnstrue
if the executable element is a bridge method,false
otherwise.default boolean
Elements.isCanonicalConstructor
(ExecutableElement e) Returnstrue
if the executable element can be determined to be a canonical constructor of a record,false
otherwise.default boolean
Elements.isCompactConstructor
(ExecutableElement e) Returnstrue
if the executable element can be determined to be a compact constructor of a record,false
otherwise.boolean
Elements.overrides
(ExecutableElement overrider, ExecutableElement overridden, TypeElement type) Tests whether one method, as a member of a given class or interface, overrides another method.default RecordComponentElement
Elements.recordComponentFor
(ExecutableElement accessor) Returns the record component for the given accessor.ElementKindVisitor6.visitExecutable
(ExecutableElement e, P p) Visits an executable element.ElementScanner14.visitExecutable
(ExecutableElement e, P p) Visits an executable element.ElementScanner6.visitExecutable
(ExecutableElement e, P p) Visits an executable element.SimpleElementVisitor6.visitExecutable
(ExecutableElement e, P p) Visits an executable element.ElementKindVisitor6.visitExecutableAsConstructor
(ExecutableElement e, P p) Visits aCONSTRUCTOR
executable element.ElementKindVisitor6.visitExecutableAsInstanceInit
(ExecutableElement e, P p) Visits anINSTANCE_INIT
executable element.ElementKindVisitor6.visitExecutableAsMethod
(ExecutableElement e, P p) Visits aMETHOD
executable element.ElementKindVisitor6.visitExecutableAsStaticInit
(ExecutableElement e, P p) Visits aSTATIC_INIT
executable element.