Class ConstantElementValue
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.annotation.ElementValue
-
- proguard.classfile.attribute.annotation.ConstantElementValue
-
- All Implemented Interfaces:
java.io.Serializable,Processable
public class ConstantElementValue extends ElementValue
ThisElementValuerepresents a constant element value.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description charu1tagintu2constantValueIndex-
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 ConstantElementValue(char u1tag)Creates an uninitialized ConstantElementValue.ConstantElementValue(char u1tag, int u2elementNameIndex, int u2constantValueIndex)Creates an initialized ConstantElementValue.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)Accepts the given visitor.chargetTag()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
-
-
-
-
Method Detail
-
getTag
public char getTag()
Description copied from class:ElementValueReturns the tag of this element value.- Specified by:
getTagin classElementValue
-
accept
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
Description copied from class:ElementValueAccepts the given visitor.- Specified by:
acceptin classElementValue
-
-