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
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
-