Package org.apache.bcel.generic
Class ClassElementValueGen
- java.lang.Object
-
- org.apache.bcel.generic.ElementValueGen
-
- org.apache.bcel.generic.ClassElementValueGen
-
public class ClassElementValueGen extends ElementValueGen
- Since:
- 6.0
-
-
Field Summary
-
Fields inherited from class org.apache.bcel.generic.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 Summary
Constructors Modifier Constructor Description protectedClassElementValueGen(int typeIdx, ConstantPoolGen cpool)ClassElementValueGen(ClassElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)ClassElementValueGen(ObjectType t, ConstantPoolGen cpool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump(java.io.DataOutputStream dos)java.lang.StringgetClassString()ElementValuegetElementValue()Return immutable variant of this ClassElementValueGenintgetIndex()java.lang.StringstringifyValue()-
Methods inherited from class org.apache.bcel.generic.ElementValueGen
copy, getConstantPool, getElementValueType, readElementValue
-
-
-
-
Constructor Detail
-
ClassElementValueGen
protected ClassElementValueGen(int typeIdx, ConstantPoolGen cpool)
-
ClassElementValueGen
public ClassElementValueGen(ObjectType t, ConstantPoolGen cpool)
-
ClassElementValueGen
public ClassElementValueGen(ClassElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)
-
-
Method Detail
-
getElementValue
public ElementValue getElementValue()
Return immutable variant of this ClassElementValueGen- Specified by:
getElementValuein classElementValueGen
-
getIndex
public int getIndex()
-
getClassString
public java.lang.String getClassString()
-
stringifyValue
public java.lang.String stringifyValue()
- Specified by:
stringifyValuein classElementValueGen
-
dump
public void dump(java.io.DataOutputStream dos) throws java.io.IOException- Specified by:
dumpin classElementValueGen- Throws:
java.io.IOException
-
-