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 bytestatic final bytestatic final byteprotected ConstantPoolDeprecated.(since 6.0) will be made private and final; do not access directly, use getterstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final byteprotected intDeprecated.(since 6.0) will be made private and final; do not access directly, use getter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddump(DataOutputStream dos) intstatic ElementValuereadElementValue(DataInput input, ConstantPool cpool) abstract StringtoString()
-
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
-