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 and Description |
|---|---|
|
ClassElementValueGen(ClassElementValue value,
ConstantPoolGen cpool,
boolean copyPoolEntries) |
protected |
ClassElementValueGen(int typeIdx,
ConstantPoolGen cpool) |
|
ClassElementValueGen(ObjectType t,
ConstantPoolGen cpool) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(DataOutputStream dos) |
String |
getClassString() |
ElementValue |
getElementValue()
Return immutable variant of this ClassElementValueGen
|
int |
getIndex() |
String |
stringifyValue() |
copy, getConstantPool, getElementValueType, readElementValuepublic ClassElementValueGen(ClassElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)
protected ClassElementValueGen(int typeIdx, ConstantPoolGen cpool)
public ClassElementValueGen(ObjectType t, ConstantPoolGen cpool)
public void dump(DataOutputStream dos) throws IOException
dump in class ElementValueGenIOExceptionpublic String getClassString()
public ElementValue getElementValue()
getElementValue in class ElementValueGenpublic int getIndex()
public String stringifyValue()
stringifyValue in class ElementValueGenCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.