public class AnnotationConstant extends java.lang.Object implements AnnotationValue, java.io.Serializable
Constructor and Description |
---|
AnnotationConstant(java.lang.Object value,
java.lang.String image) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(AnnotationVisitor visitor)
Accept a visitor for this value.
|
java.lang.String |
getImage() |
java.lang.Object |
getParameterValue()
Get a parameter value for
Annotation.getNamedParameter(String) . |
java.lang.Object |
getValue() |
java.lang.String |
toString() |
public AnnotationConstant(java.lang.Object value, java.lang.String image)
public java.lang.Object getValue()
public java.lang.String getImage()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object accept(AnnotationVisitor visitor)
AnnotationValue
accept
in interface AnnotationValue
visitor
- Visitorpublic java.lang.Object getParameterValue()
AnnotationValue
Annotation.getNamedParameter(String)
.getParameterValue
in interface AnnotationValue
Copyright © 2002–2018. All rights reserved.