|
Java™ Platform Standard Ed. 6 |
|||||||||
| 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. |
|
Object |
getValue()
Returns the value. |
|
String |
toString()
Returns a string representation of this value. |
|
| Method Detail |
|---|
Object getValue()
String toString()
toString in class 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
|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.