public interface AnnotationValue
Integer
) for a primitive type String
TypeMirror
VariableElement
(representing an enum constant) AnnotationMirror
List<? extends AnnotationValue>
(representing the elements, in declared order, if the value is an array) Object getValue()
String toString()
<R, P> R accept(AnnotationValueVisitor<R,P> v, P p)
R
- the return type of the visitor's methodsP
- the type of the additional parameter to the visitor's methodsv
- the visitor operating on this valuep
- additional parameter to the visitor
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.compiler/javax/lang/model/element/AnnotationValue.html