Class ArrayElementValue
- java.lang.Object
- 
- proguard.util.SimpleProcessable
- 
- proguard.classfile.attribute.annotation.ElementValue
- 
- proguard.classfile.attribute.annotation.ArrayElementValue
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- Processable
 
 public class ArrayElementValue extends ElementValue ThisElementValuerepresents an array element value.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description ElementValue[]elementValuesintu2elementValuesCount- 
Fields inherited from class proguard.classfile.attribute.annotation.ElementValuereferencedClass, referencedMethod, TAG_ANNOTATION, TAG_ARRAY, TAG_CLASS, TAG_ENUM_CONSTANT, TAG_STRING_CONSTANT, u2elementNameIndex
 - 
Fields inherited from class proguard.util.SimpleProcessableprocessingFlags, processingInfo
 
- 
 - 
Constructor SummaryConstructors Constructor Description ArrayElementValue()Creates an uninitialized ArrayElementValue.ArrayElementValue(int u2elementNameIndex, int u2elementValuesCount, ElementValue[] elementValues)Creates an initialized ArrayElementValue.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(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.ElementValuegetMethodName, referencedMethodAccept
 - 
Methods inherited from class proguard.util.SimpleProcessableaddProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
 
- 
 
- 
- 
- 
Field Detail- 
u2elementValuesCountpublic int u2elementValuesCount 
 - 
elementValuespublic ElementValue[] elementValues 
 
- 
 - 
Constructor Detail- 
ArrayElementValuepublic ArrayElementValue() Creates an uninitialized ArrayElementValue.
 - 
ArrayElementValuepublic ArrayElementValue(int u2elementNameIndex, int u2elementValuesCount, ElementValue[] elementValues)Creates an initialized ArrayElementValue.
 
- 
 - 
Method Detail- 
getTagpublic char getTag() Description copied from class:ElementValueReturns the tag of this element value.- Specified by:
- getTagin class- ElementValue
 
 - 
acceptpublic void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) Description copied from class:ElementValueAccepts the given visitor.- Specified by:
- acceptin class- ElementValue
 
 - 
elementValueAcceptpublic void elementValueAccept(Clazz clazz, Annotation annotation, int index, ElementValueVisitor elementValueVisitor) Applies the given visitor to the specified nested element value.
 - 
elementValuesAcceptpublic void elementValuesAccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) Applies the given visitor to all nested element values.
 
- 
 
-