public class AnnotationElementValue extends ElementValue
ElementValue represents an annotation element value.| Modifier and Type | Field and Description |
|---|---|
Annotation |
annotationValue |
referencedClass, referencedMethod, TAG_ANNOTATION, TAG_ARRAY, TAG_CLASS, TAG_ENUM_CONSTANT, TAG_STRING_CONSTANT, u2elementNameIndexprocessingFlags, processingInfo| Constructor and Description |
|---|
AnnotationElementValue()
Creates an uninitialized AnnotationElementValue.
|
AnnotationElementValue(int u2elementNameIndex,
Annotation annotationValue)
Creates an initialized AnnotationElementValue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor)
Accepts the given visitor.
|
void |
annotationAccept(Clazz clazz,
AnnotationVisitor annotationVisitor)
Applies the given visitor to the annotation.
|
char |
getTag()
Returns the tag of this element value.
|
getMethodName, referencedMethodAcceptgetProcessingFlags, getProcessingInfo, setProcessingFlags, setProcessingInfopublic Annotation annotationValue
public AnnotationElementValue()
public AnnotationElementValue(int u2elementNameIndex,
Annotation annotationValue)
public void annotationAccept(Clazz clazz, AnnotationVisitor annotationVisitor)
public char getTag()
ElementValuegetTag in class ElementValuepublic void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
ElementValueaccept in class ElementValue