|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.javadoc.AnnotationValueImpl
public class AnnotationValueImpl
Represents a value of an annotation type element.
| Nested Class Summary | |
|---|---|
private class |
AnnotationValueImpl.ToStringVisitor
|
private class |
AnnotationValueImpl.ValueVisitor
|
| Field Summary | |
|---|---|
private Attribute |
attr
|
private DocEnv |
env
|
| Constructor Summary | |
|---|---|
AnnotationValueImpl(DocEnv env,
Attribute attr)
|
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Returns a string representation of the value. |
java.lang.Object |
value()
Returns the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final DocEnv env
private final Attribute attr
| Constructor Detail |
|---|
AnnotationValueImpl(DocEnv env,
Attribute attr)
| Method Detail |
|---|
public java.lang.Object value()
String
Type (representing a class literal)
FieldDoc (representing an enum constant)
AnnotationDesc
AnnotationValue[]
value in interface AnnotationValuepublic java.lang.String toString()
toString in interface AnnotationValuetoString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||