Class ArrayElementValue
java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.annotation.ElementValue
proguard.classfile.attribute.annotation.ArrayElementValue
- All Implemented Interfaces:
Serializable,Processable
This
ElementValue represents an array element value.- See Also:
-
Field Summary
FieldsFields inherited from class proguard.classfile.attribute.annotation.ElementValue
referencedClass, referencedMethod, TAG_ANNOTATION, TAG_ARRAY, TAG_CLASS, TAG_ENUM_CONSTANT, TAG_STRING_CONSTANT, u2elementNameIndexFields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo -
Constructor Summary
ConstructorsConstructorDescriptionCreates an uninitialized ArrayElementValue.ArrayElementValue(int u2elementNameIndex, int u2elementValuesCount, ElementValue[] elementValues) Creates an initialized ArrayElementValue. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) Accepts the given visitor.voidelementValueAccept(Clazz clazz, Annotation annotation, int index, ElementValueVisitor elementValueVisitor) Applies the given visitor to the specified nested element value.voidelementValuesAccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) Applies the given visitor to all nested element values.chargetTag()Returns the tag of this element value.Methods inherited from class proguard.classfile.attribute.annotation.ElementValue
getMethodName, referencedMethodAcceptMethods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.util.Processable
accept
-
Field Details
-
u2elementValuesCount
public int u2elementValuesCount -
elementValues
-
-
Constructor Details
-
ArrayElementValue
public ArrayElementValue()Creates an uninitialized ArrayElementValue. -
ArrayElementValue
public ArrayElementValue(int u2elementNameIndex, int u2elementValuesCount, ElementValue[] elementValues) Creates an initialized ArrayElementValue.
-
-
Method Details
-
getTag
public char getTag()Description copied from class:ElementValueReturns the tag of this element value.- Specified by:
getTagin classElementValue
-
accept
Description copied from class:ElementValueAccepts the given visitor.- Specified by:
acceptin classElementValue
-
elementValueAccept
public void elementValueAccept(Clazz clazz, Annotation annotation, int index, ElementValueVisitor elementValueVisitor) Applies the given visitor to the specified nested element value. -
elementValuesAccept
public void elementValuesAccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) Applies the given visitor to all nested element values.
-