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 Details
-
element
Returns the annotation type element.- Specified by:
elementin interfaceAnnotationDesc.ElementValuePair- Returns:
- the annotation type element.
-
value
Returns the value associated with the annotation type element.- Specified by:
valuein interfaceAnnotationDesc.ElementValuePair- Returns:
- the value associated with the annotation type element.
-
toString
Returns a string representation of this pair of the form "name=value".
-