Class AnnotationElementValue
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.annotation.ElementValue
-
- proguard.classfile.attribute.annotation.AnnotationElementValue
-
- All Implemented Interfaces:
java.io.Serializable
,Processable
public class AnnotationElementValue extends ElementValue
ThisElementValue
represents an annotation element value.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Annotation
annotationValue
-
Fields inherited from class proguard.classfile.attribute.annotation.ElementValue
referencedClass, referencedMethod, TAG_ANNOTATION, TAG_ARRAY, TAG_CLASS, TAG_ENUM_CONSTANT, TAG_STRING_CONSTANT, u2elementNameIndex
-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description AnnotationElementValue()
Creates an uninitialized AnnotationElementValue.AnnotationElementValue(int u2elementNameIndex, Annotation annotationValue)
Creates an initialized AnnotationElementValue.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class proguard.classfile.attribute.annotation.ElementValue
getMethodName, referencedMethodAccept
-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
-
-
-
Field Detail
-
annotationValue
public Annotation annotationValue
-
-
Constructor Detail
-
AnnotationElementValue
public AnnotationElementValue()
Creates an uninitialized AnnotationElementValue.
-
AnnotationElementValue
public AnnotationElementValue(int u2elementNameIndex, Annotation annotationValue)
Creates an initialized AnnotationElementValue.
-
-
Method Detail
-
annotationAccept
public void annotationAccept(Clazz clazz, AnnotationVisitor annotationVisitor)
Applies the given visitor to the annotation.
-
getTag
public char getTag()
Description copied from class:ElementValue
Returns the tag of this element value.- Specified by:
getTag
in classElementValue
-
accept
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
Description copied from class:ElementValue
Accepts the given visitor.- Specified by:
accept
in classElementValue
-
-