org.apache.bcel.classfile
public class SimpleElementValue extends ElementValue
Constructor Summary | |
---|---|
SimpleElementValue(int type, int index, ConstantPool cpool) |
Method Summary | |
---|---|
void | dump(DataOutputStream dos) |
int | getIndex() |
boolean | getValueBoolean() |
byte | getValueByte() |
char | getValueChar() |
double | getValueDouble() |
float | getValueFloat() |
int | getValueInt() |
long | getValueLong() |
short | getValueShort() |
String | getValueString() |
void | setIndex(int index) |
String | stringifyValue() |
String | toString() |
Returns: Value entry index in the cpool