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, u2elementNameIndex
processingFlags, 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, referencedMethodAccept
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
public Annotation annotationValue
public AnnotationElementValue()
public AnnotationElementValue(int u2elementNameIndex, Annotation annotationValue)
public void annotationAccept(Clazz clazz, AnnotationVisitor annotationVisitor)
public char getTag()
ElementValue
getTag
in class ElementValue
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
ElementValue
accept
in class ElementValue