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
FieldsModifier 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
Constructors -
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
- See Also:
-
ENUM_CONSTANT
- See Also:
-
CLASS
- See Also:
-
ANNOTATION
- See Also:
-
ARRAY
- See Also:
-
PRIMITIVE_INT
- See Also:
-
PRIMITIVE_BYTE
- See Also:
-
PRIMITIVE_CHAR
- See Also:
-
PRIMITIVE_DOUBLE
- See Also:
-
PRIMITIVE_FLOAT
- See Also:
-
PRIMITIVE_LONG
- See Also:
-
PRIMITIVE_SHORT
- See Also:
-
PRIMITIVE_BOOLEAN
- See Also:
-
-
Constructor Details
-
ElementValue
-
-
Method Details
-
toString
-
getElementValueType
-
stringifyValue
-
dump
- Throws:
IOException
-
readElementValue
- Throws:
IOException
-
toShortString
-