| java.lang.Object com.sun.tools.javadoc.AnnotationDescImpl
AnnotationDescImpl | public class AnnotationDescImpl implements AnnotationDesc(Code) | | Represents an annotation.
An annotation associates a value with each element of an annotation type.
Sure it ought to be called "Annotation", but that clashes with
java.lang.annotation.Annotation.
author: Scott Seligman version: 1.11 07/05/05 since: 1.5 |
Inner Class :public static class ElementValuePairImpl implements ElementValuePair | |
Method Summary | |
public AnnotationTypeDoc | annotationType() Returns the annotation type of this annotation. | public ElementValuePair[] | elementValues() Returns this annotation's elements and their values. | public String | toString() Returns a string representation of this annotation. |
annotationType | public AnnotationTypeDoc annotationType()(Code) | | Returns the annotation type of this annotation.
|
elementValues | public ElementValuePair[] elementValues()(Code) | | Returns this annotation's elements and their values.
Only those explicitly present in the annotation are
included, not those assuming their default values.
Returns an empty array if there are none.
|
toString | public String toString()(Code) | | Returns a string representation of this annotation.
String is of one of the forms:
|
|
|