Package org.apache.bcel.classfile
Class ElementValue
java.lang.Object
org.apache.bcel.classfile.ElementValue
- Direct Known Subclasses:
AnnotationElementValue
,ArrayElementValue
,ClassElementValue
,EnumElementValue
,SimpleElementValue
- Since:
- 6.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
static final byte
static final byte
protected ConstantPool
Deprecated.(since 6.0) will be made private and final; do not access directly, use getterstatic final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
protected int
Deprecated.(since 6.0) will be made private and final; do not access directly, use getter -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
dump
(DataOutputStream dos) int
static ElementValue
readElementValue
(DataInput input, ConstantPool cpool) abstract String
toString()
-
Field Details
-
type
Deprecated.(since 6.0) will be made private and final; do not access directly, use getter -
cpool
Deprecated.(since 6.0) will be made private and final; do not access directly, use getter -
STRING
public static final byte STRING- See Also:
-
ENUM_CONSTANT
public static final byte ENUM_CONSTANT- See Also:
-
CLASS
public static final byte CLASS- See Also:
-
ANNOTATION
public static final byte ANNOTATION- See Also:
-
ARRAY
public static final byte ARRAY- See Also:
-
PRIMITIVE_INT
public static final byte PRIMITIVE_INT- See Also:
-
PRIMITIVE_BYTE
public static final byte PRIMITIVE_BYTE- See Also:
-
PRIMITIVE_CHAR
public static final byte PRIMITIVE_CHAR- See Also:
-
PRIMITIVE_DOUBLE
public static final byte PRIMITIVE_DOUBLE- See Also:
-
PRIMITIVE_FLOAT
public static final byte PRIMITIVE_FLOAT- See Also:
-
PRIMITIVE_LONG
public static final byte PRIMITIVE_LONG- See Also:
-
PRIMITIVE_SHORT
public static final byte PRIMITIVE_SHORT- See Also:
-
PRIMITIVE_BOOLEAN
public static final byte PRIMITIVE_BOOLEAN- See Also:
-
-
Constructor Details
-
ElementValue
-
-
Method Details
-
toString
-
getElementValueType
public int getElementValueType() -
stringifyValue
-
dump
- Throws:
IOException
-
readElementValue
- Throws:
IOException
-
toShortString
-