org.apache.bcel.generic
public class SimpleElementValueGen extends ElementValueGen
| Constructor Summary | |
|---|---|
| protected | SimpleElementValueGen(int type, int idx, ConstantPoolGen cpGen)
Protected ctor used for deserialization, doesn't *put* an entry in the
constant pool, assumes the one at the supplied index is correct. |
| SimpleElementValueGen(int type, ConstantPoolGen cpGen, int value) | |
| SimpleElementValueGen(int type, ConstantPoolGen cpGen, long value) | |
| SimpleElementValueGen(int type, ConstantPoolGen cpGen, double value) | |
| SimpleElementValueGen(int type, ConstantPoolGen cpGen, float value) | |
| SimpleElementValueGen(int type, ConstantPoolGen cpGen, short value) | |
| SimpleElementValueGen(int type, ConstantPoolGen cpGen, byte value) | |
| SimpleElementValueGen(int type, ConstantPoolGen cpGen, char value) | |
| SimpleElementValueGen(int type, ConstantPoolGen cpGen, boolean value) | |
| SimpleElementValueGen(int type, ConstantPoolGen cpGen, String value) | |
| SimpleElementValueGen(SimpleElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)
The boolean controls whether we copy info from the 'old' constant pool to
the 'new'. | |
| Method Summary | |
|---|---|
| void | dump(DataOutputStream dos) |
| ElementValue | getElementValue()
Return immutable variant |
| int | getIndex() |
| int | getValueInt() |
| String | getValueString() |
| String | stringifyValue() |