|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AnnotationValue
Represents a value of an annotation type element. A value is of one of the following types:
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)
| Method Summary | ||
|---|---|---|
|
accept(AnnotationValueVisitor<R,P> v,
P p)
Applies a visitor to this value. |
|
java.lang.Object |
getValue()
Returns the value. |
|
java.lang.String |
toString()
Returns a string representation of this value. |
|
| Method Detail |
|---|
java.lang.Object getValue()
java.lang.String toString()
toString in class java.lang.Object
<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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||