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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionElementValuePairImpl
(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol meth, com.sun.tools.javac.code.Attribute value) -
Method Summary
-
Field Details
-
env
-
meth
private final com.sun.tools.javac.code.Symbol.MethodSymbol meth -
value
private final com.sun.tools.javac.code.Attribute value
-
-
Constructor Details
-
ElementValuePairImpl
ElementValuePairImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol meth, com.sun.tools.javac.code.Attribute value)
-
-
Method Details
-
element
Returns the annotation type element.- Specified by:
element
in interfaceAnnotationDesc.ElementValuePair
- Returns:
- the annotation type element.
-
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.
-
toString
Returns a string representation of this pair of the form "name=value".
-