org.apache.bcel.generic
public class EnumElementValueGen extends ElementValueGen
| Constructor Summary | |
|---|---|
| protected | EnumElementValueGen(int typeIdx, int valueIdx, ConstantPoolGen cpool)
This ctor assumes the constant pool already contains the right type and
value - as indicated by typeIdx and valueIdx. |
| EnumElementValueGen(ObjectType t, String value, ConstantPoolGen cpool) | |
| EnumElementValueGen(EnumElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries) | |
| Method Summary | |
|---|---|
| void | dump(DataOutputStream dos) |
| ElementValue | getElementValue()
Return immutable variant of this EnumElementValue |
| String | getEnumTypeString() |
| String | getEnumValueString() |
| int | getTypeIndex() |
| int | getValueIndex() |
| String | stringifyValue() |