Integer object to hold an
int
String representing a String
TypeMirror representing a Class literal
VariableElement representing an enum constant
AnnotationMirror representing an annotation
List<? extends AnnotationValue>
representing the elements, in declared order, if the value is an array
| Modifier and Type | Method and Description |
|---|---|
| public < the return type of the visitor's methods R, the type of the additional parameter to the visitor's methods P> R | Returns: a visitor-specified resultthe visitor operating on this value v, P additional parameter to the visitor p)Applies a visitor to this value. |
| public Object | |
| public String | Returns: a string representation of this valueReturns a string representation of this value. |
| accept | back to summary |
|---|---|
| public <R, P> R accept(AnnotationValueVisitor<R, P> v, P p) Applies a visitor to this value.
| |
| getValue | back to summary |
|---|---|
| public Object getValue() Returns the value.
| |
| toString | back to summary |
|---|---|
| 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.
| |