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)
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(AnnotationValueVisitor<R,P> v,
P p)
Applies a visitor to this value.
|
Object |
getValue()
Returns the value.
|
String |
toString()
Returns a string representation of this value.
|
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 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, 2014, Oracle and/or its affiliates. All rights reserved.