public class ArrayElementValue extends ElementValue
ElementValue represents an array element value.| Modifier and Type | Field and Description |
|---|---|
ElementValue[] |
elementValues |
int |
u2elementValuesCount |
referencedClass, referencedMethod, TAG_ANNOTATION, TAG_ARRAY, TAG_CLASS, TAG_ENUM_CONSTANT, TAG_STRING_CONSTANT, u2elementNameIndexprocessingFlags, processingInfo| Constructor and Description |
|---|
ArrayElementValue()
Creates an uninitialized ArrayElementValue.
|
ArrayElementValue(int u2elementNameIndex,
int u2elementValuesCount,
ElementValue[] elementValues)
Creates an initialized ArrayElementValue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor)
Accepts the given visitor.
|
void |
elementValueAccept(Clazz clazz,
Annotation annotation,
int index,
ElementValueVisitor elementValueVisitor)
Applies the given visitor to the specified nested element value.
|
void |
elementValuesAccept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor)
Applies the given visitor to all nested element values.
|
char |
getTag()
Returns the tag of this element value.
|
getMethodName, referencedMethodAcceptgetProcessingFlags, getProcessingInfo, setProcessingFlags, setProcessingInfopublic int u2elementValuesCount
public ElementValue[] elementValues
public ArrayElementValue()
public ArrayElementValue(int u2elementNameIndex,
int u2elementValuesCount,
ElementValue[] elementValues)
public char getTag()
ElementValuegetTag in class ElementValuepublic void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
ElementValueaccept in class ElementValuepublic void elementValueAccept(Clazz clazz, Annotation annotation, int index, ElementValueVisitor elementValueVisitor)
public void elementValuesAccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)