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