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, u2elementNameIndex
processingFlags, 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, referencedMethodAccept
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
public int u2elementValuesCount
public ElementValue[] elementValues
public ArrayElementValue()
public ArrayElementValue(int u2elementNameIndex, int u2elementValuesCount, ElementValue[] elementValues)
public char getTag()
ElementValue
getTag
in class ElementValue
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
ElementValue
accept
in class ElementValue
public void elementValueAccept(Clazz clazz, Annotation annotation, int index, ElementValueVisitor elementValueVisitor)
public void elementValuesAccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)