Package | Description |
---|---|
javax.annotation.processing |
Facilities for declaring annotation processors and for
allowing annotation processors to communicate with an annotation processing
tool environment.
|
javax.lang.model.element |
Interfaces used to model elements of the Java programming language.
|
javax.lang.model.util |
Utilities to assist in the processing of
program elements and
types.
|
Modifier and Type | Method and Description |
---|---|
Iterable<? 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.
|
Modifier and Type | Method and Description |
---|---|
Map<? extends ExecutableElement,? extends AnnotationValue> |
AnnotationMirror.getElementValues()
Returns the values of this annotation's elements.
|
Modifier and Type | Method and Description |
---|---|
R |
ElementVisitor.visitExecutable(ExecutableElement e,
P p)
Visits an executable element.
|
Modifier and Type | Method and Description |
---|---|
static List<ExecutableElement> |
ElementFilter.constructorsIn(Iterable<? extends Element> elements)
Returns a list of constructors in
elements . |
static Set<ExecutableElement> |
ElementFilter.constructorsIn(Set<? extends Element> elements)
Returns a set of constructors in
elements . |
Map<? extends ExecutableElement,? extends AnnotationValue> |
Elements.getElementValuesWithDefaults(AnnotationMirror a)
Returns the values of an annotation's elements, including defaults.
|
static List<ExecutableElement> |
ElementFilter.methodsIn(Iterable<? extends Element> elements)
Returns a list of methods in
elements . |
static Set<ExecutableElement> |
ElementFilter.methodsIn(Set<? extends Element> elements)
Returns a set of methods in
elements . |
Modifier and Type | Method and Description |
---|---|
boolean |
Elements.overrides(ExecutableElement overrider,
ExecutableElement overridden,
TypeElement type)
Tests whether one method, as a member of a given type,
overrides another method.
|
R |
ElementScanner6.visitExecutable(ExecutableElement e,
P p)
Visits an executable element.
|
R |
ElementKindVisitor6.visitExecutable(ExecutableElement e,
P p)
Visits an executable element, dispatching to the visit method
for the specific kind of executable,
CONSTRUCTOR , INSTANCE_INIT , METHOD , or
STATIC_INIT . |
R |
SimpleElementVisitor6.visitExecutable(ExecutableElement e,
P p)
Visits an executable element.
|
R |
ElementKindVisitor6.visitExecutableAsConstructor(ExecutableElement e,
P p)
Visits a
CONSTRUCTOR executable element by calling
defaultAction . |
R |
ElementKindVisitor6.visitExecutableAsInstanceInit(ExecutableElement e,
P p)
Visits an
INSTANCE_INIT executable element by calling
defaultAction . |
R |
ElementKindVisitor6.visitExecutableAsMethod(ExecutableElement e,
P p)
Visits a
METHOD executable element by calling
defaultAction . |
R |
ElementKindVisitor6.visitExecutableAsStaticInit(ExecutableElement e,
P p)
Visits a
STATIC_INIT executable element by calling
defaultAction . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.