public class ArrayElementValue extends ElementValue
ANNOTATION, ARRAY, CLASS, cpool, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type| Constructor and Description |
|---|
ArrayElementValue(ArrayElementValue value,
ConstantPool cpool,
boolean copyPoolEntries) |
ArrayElementValue(ConstantPool cp) |
ArrayElementValue(int type,
ElementValue[] datums,
ConstantPool cpool) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(ElementValue gen) |
void |
dump(java.io.DataOutputStream dos) |
ElementValue[] |
getElementValuesArray() |
int |
getElementValuesArraySize() |
java.lang.String |
stringifyValue() |
copy, getConstantPool, getElementValueType, readElementValuepublic ArrayElementValue(ConstantPool cp)
public ArrayElementValue(int type,
ElementValue[] datums,
ConstantPool cpool)
public ArrayElementValue(ArrayElementValue value, ConstantPool cpool, boolean copyPoolEntries)
public ElementValue[] getElementValuesArray()
public int getElementValuesArraySize()
public void dump(java.io.DataOutputStream dos)
throws java.io.IOException
dump in class ElementValuejava.io.IOExceptionpublic java.lang.String stringifyValue()
stringifyValue in class ElementValuepublic void addElement(ElementValue gen)