Uses of Interface
javax.lang.model.element.AnnotationValue
Package
Description
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 AnnotationValue in com.sun.source.util
Modifier and TypeMethodDescriptionabstract TreePath
Trees.getPath(Element e, AnnotationMirror a, AnnotationValue v)
Returns the TreePath node for an AnnotationValue for an AnnotationMirror on a given Element.abstract Tree
Trees.getTree(Element e, AnnotationMirror a, AnnotationValue v)
Returns the Tree node for an AnnotationValue for an AnnotationMirror on a given Element. -
Uses of AnnotationValue in javax.annotation.processing
Modifier and TypeMethodDescriptionvoid
Messager.printMessage(Diagnostic.Kind kind, CharSequence msg, Element e, AnnotationMirror a, AnnotationValue v)
Prints a message of the specified kind at the location of the annotation value inside the annotation mirror of the annotated element. -
Uses of AnnotationValue in javax.lang.model.element
Modifier and TypeMethodDescriptionExecutableElement.getDefaultValue()
Returns the default value if this executable is an annotation interface element.UnknownAnnotationValueException.getUnknownAnnotationValue()
Returns the unknown annotation value.Modifier and TypeMethodDescriptionMap<? extends ExecutableElement,? extends AnnotationValue>
AnnotationMirror.getElementValues()
Returns the values of this annotation's elements.Modifier and TypeMethodDescriptiondefault R
AnnotationValueVisitor.visit(AnnotationValue av)
A convenience method equivalent tovisit(av, null)
.AnnotationValueVisitor.visit(AnnotationValue av, P p)
Visits an annotation value.AnnotationValueVisitor.visitUnknown(AnnotationValue av, P p)
Visits an unknown kind of annotation value.Modifier and TypeMethodDescriptionAnnotationValueVisitor.visitArray(List<? extends AnnotationValue> vals, P p)
Visits an array value in an annotation.ModifierConstructorDescriptionCreates a newUnknownAnnotationValueException
. -
Uses of AnnotationValue in javax.lang.model.util
Modifier and TypeMethodDescriptionMap<? extends ExecutableElement,? extends AnnotationValue>
Elements.getElementValuesWithDefaults(AnnotationMirror a)
Returns the values of an annotation's elements, including defaults.Modifier and TypeMethodDescriptionAbstractAnnotationValueVisitor6.visit(AnnotationValue av)
Visits an annotation value as if by passing itself to that value'saccept
method passingnull
for the additional parameter.AbstractAnnotationValueVisitor6.visit(AnnotationValue av, P p)
Visits any annotation value as if by passing itself to that value'saccept
.AbstractAnnotationValueVisitor6.visitUnknown(AnnotationValue av, P p)
Visits an unknown kind of annotation value.Modifier and TypeMethodDescriptionSimpleAnnotationValueVisitor6.visitArray(List<? extends AnnotationValue> vals, P p)
Visits an array value in an annotation.