Class ElementValue
java.lang.Object
org.aspectj.apache.bcel.classfile.annotation.ElementValue
- Direct Known Subclasses:
AnnotationElementValue,ArrayElementValue,ClassElementValue,EnumElementValue,SimpleElementValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intprotected ConstantPoolstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementValuecopy(ElementValue value, ConstantPool cpool, boolean copyPoolEntries) Creates an (modifiable) ElementValueGen copy of an (immutable) ElementValue - constant pool is assumed correct.abstract voiddump(DataOutputStream dos) protected ConstantPoolintstatic ElementValuereadElementValue(DataInputStream dis, ConstantPool cpGen) abstract String
-
Field Details
-
STRING
public static final int STRING- See Also:
-
ENUM_CONSTANT
public static final int ENUM_CONSTANT- See Also:
-
CLASS
public static final int CLASS- See Also:
-
ANNOTATION
public static final int ANNOTATION- See Also:
-
ARRAY
public static final int ARRAY- See Also:
-
PRIMITIVE_INT
public static final int PRIMITIVE_INT- See Also:
-
PRIMITIVE_BYTE
public static final int PRIMITIVE_BYTE- See Also:
-
PRIMITIVE_CHAR
public static final int PRIMITIVE_CHAR- See Also:
-
PRIMITIVE_DOUBLE
public static final int PRIMITIVE_DOUBLE- See Also:
-
PRIMITIVE_FLOAT
public static final int PRIMITIVE_FLOAT- See Also:
-
PRIMITIVE_LONG
public static final int PRIMITIVE_LONG- See Also:
-
PRIMITIVE_SHORT
public static final int PRIMITIVE_SHORT- See Also:
-
PRIMITIVE_BOOLEAN
public static final int PRIMITIVE_BOOLEAN- See Also:
-
type
protected int type -
cpool
-
-
Constructor Details
-
ElementValue
-
-
Method Details
-
getElementValueType
public int getElementValueType() -
stringifyValue
-
dump
- Throws:
IOException
-
readElementValue
public static ElementValue readElementValue(DataInputStream dis, ConstantPool cpGen) throws IOException - Throws:
IOException
-
getConstantPool
-
copy
Creates an (modifiable) ElementValueGen copy of an (immutable) ElementValue - constant pool is assumed correct.
-