javax.lang.model.element
public interface: AnnotationValue [javadoc |
source]
Represents a value of an annotation type element.
A value is of one of the following types:
- a wrapper class (such as Integer ) for a primitive type
- {@code String}
- {@code TypeMirror}
- {@code VariableElement} (representing an enum constant)
- {@code AnnotationMirror}
- {@code List extends AnnotationValue>}
(representing the elements, in declared order, if the value is an array)
- author:
Joseph - D. Darcy
- author:
Scott - Seligman
- author:
Peter - von der Ahé
- since:
1.6 -
| Method from javax.lang.model.element.AnnotationValue Detail: |
public R accept(AnnotationValueVisitor<R, P> v,
P p)
Applies a visitor to this value. |
public Object getValue()
|
public String toString()
Returns a string representation of this value.
This is returned in a form suitable for representing this value
in the source code of an annotation. |