public class ClassElementValueGen 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| Modifier | Constructor | Description |
|---|---|---|
protected |
ClassElementValueGen(int typeIdx,
ConstantPoolGen cpool) |
|
|
ClassElementValueGen(ClassElementValue value,
ConstantPoolGen cpool,
boolean copyPoolEntries) |
|
|
ClassElementValueGen(ObjectType t,
ConstantPoolGen cpool) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
dump(java.io.DataOutputStream dos) |
|
java.lang.String |
getClassString() |
|
ElementValue |
getElementValue() |
Return immutable variant of this ClassElementValueGen
|
int |
getIndex() |
|
java.lang.String |
stringifyValue() |
copy, getConstantPool, getElementValueType, readElementValueprotected ClassElementValueGen(int typeIdx,
ConstantPoolGen cpool)
public ClassElementValueGen(ObjectType t, ConstantPoolGen cpool)
public ClassElementValueGen(ClassElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)
public ElementValue getElementValue()
getElementValue in class ElementValueGenpublic int getIndex()
public java.lang.String getClassString()
public java.lang.String stringifyValue()
stringifyValue in class ElementValueGenpublic void dump(java.io.DataOutputStream dos)
throws java.io.IOException
dump in class ElementValueGenjava.io.IOException