Package org.apache.bcel.generic
Class ClassElementValueGen
java.lang.Object
org.apache.bcel.generic.ElementValueGen
org.apache.bcel.generic.ClassElementValueGen
- 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
ModifierConstructorDescriptionprotected
ClassElementValueGen
(int typeIdx, ConstantPoolGen cpool) ClassElementValueGen
(ClassElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries) ClassElementValueGen
(ObjectType t, ConstantPoolGen cpool) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dump
(DataOutputStream dos) Return immutable variant of this ClassElementValueGenint
getIndex()
Methods inherited from class org.apache.bcel.generic.ElementValueGen
copy, getConstantPool, getElementValueType, readElementValue
-
Constructor Details
-
ClassElementValueGen
-
ClassElementValueGen
-
ClassElementValueGen
public ClassElementValueGen(ClassElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)
-
-
Method Details
-
getElementValue
Return immutable variant of this ClassElementValueGen- Specified by:
getElementValue
in classElementValueGen
-
getIndex
public int getIndex() -
getClassString
-
stringifyValue
- Specified by:
stringifyValue
in classElementValueGen
-
dump
- Specified by:
dump
in classElementValueGen
- Throws:
IOException
-