org.apache.bcel.classfile
public abstract class ElementValue extends Object
Since: 5.3
Version: $Id: ElementValue
| Field Summary | |
|---|---|
| static int | ANNOTATION |
| static int | ARRAY |
| protected ConstantPool | cpool |
| static int | CLASS |
| static int | ENUM_CONSTANT |
| static int | PRIMITIVE_BOOLEAN |
| static int | PRIMITIVE_BYTE |
| static int | PRIMITIVE_CHAR |
| static int | PRIMITIVE_DOUBLE |
| static int | PRIMITIVE_FLOAT |
| static int | PRIMITIVE_INT |
| static int | PRIMITIVE_LONG |
| static int | PRIMITIVE_SHORT |
| static int | STRING |
| protected int | type |
| Constructor Summary | |
|---|---|
| protected | ElementValue(int type, ConstantPool cpool) |
| Method Summary | |
|---|---|
| abstract void | dump(DataOutputStream dos) |
| int | getElementValueType() |
| static ElementValue | readElementValue(DataInputStream dis, ConstantPool cpool) |
| abstract String | stringifyValue() |
| String | toShortString() |
| String | toString() |