Class AnnotationDescImpl.ElementValuePairImpl
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.javadoc.main.AnnotationDescImpl.ElementValuePairImpl
-
- All Implemented Interfaces:
AnnotationDesc.ElementValuePair
- Enclosing class:
- AnnotationDescImpl
public static class AnnotationDescImpl.ElementValuePairImpl extends Object implements AnnotationDesc.ElementValuePair
Represents an association between an annotation type element and one of its values.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationTypeElementDoc
element()
Returns the annotation type element.String
toString()
Returns a string representation of this pair of the form "name=value".AnnotationValue
value()
Returns the value associated with the annotation type element.
-
-
-
Method Detail
-
element
public AnnotationTypeElementDoc element()
Returns the annotation type element.- Specified by:
element
in interfaceAnnotationDesc.ElementValuePair
- Returns:
- the annotation type element.
-
value
public AnnotationValue value()
Returns the value associated with the annotation type element.- Specified by:
value
in interfaceAnnotationDesc.ElementValuePair
- Returns:
- the value associated with the annotation type element.
-
-