public class ArrayElementValueGen extends ElementValueGen
ANNOTATION, ARRAY, CLASS, cpGen, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type| Constructor and Description |
|---|
ArrayElementValueGen(ArrayElementValue value,
ConstantPoolGen cpool,
boolean copyPoolEntries) |
ArrayElementValueGen(ConstantPoolGen cp) |
ArrayElementValueGen(int type,
ElementValue[] datums,
ConstantPoolGen cpool) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(ElementValueGen gen) |
void |
dump(java.io.DataOutputStream dos) |
ElementValue |
getElementValue()
Return immutable variant of this ArrayElementValueGen
|
java.util.List |
getElementValues() |
int |
getElementValuesSize() |
java.lang.String |
stringifyValue() |
copy, getConstantPool, getElementValueType, readElementValuepublic ArrayElementValueGen(ConstantPoolGen cp)
public ArrayElementValueGen(int type,
ElementValue[] datums,
ConstantPoolGen cpool)
public ArrayElementValueGen(ArrayElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)
value - cpool - public ElementValue getElementValue()
getElementValue in class ElementValueGenpublic void dump(java.io.DataOutputStream dos)
throws java.io.IOException
dump in class ElementValueGenjava.io.IOExceptionpublic java.lang.String stringifyValue()
stringifyValue in class ElementValueGenpublic java.util.List getElementValues()
public int getElementValuesSize()
public void addElement(ElementValueGen gen)