Klasse ElementValue
java.lang.Object
org.aspectj.apache.bcel.classfile.annotation.ElementValue
- Bekannte direkte Unterklassen:
AnnotationElementValue
,ArrayElementValue
,ClassElementValue
,EnumElementValue
,SimpleElementValue
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final int
static final int
static final int
protected ConstantPool
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
protected int
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ElementValue
copy
(ElementValue value, ConstantPool cpool, boolean copyPoolEntries) Creates an (modifiable) ElementValueGen copy of an (immutable) ElementValue - constant pool is assumed correct.abstract void
dump
(DataOutputStream dos) protected ConstantPool
int
static ElementValue
readElementValue
(DataInputStream dis, ConstantPool cpGen) abstract String
-
Felddetails
-
STRING
public static final int STRING- Siehe auch:
-
ENUM_CONSTANT
public static final int ENUM_CONSTANT- Siehe auch:
-
CLASS
public static final int CLASS- Siehe auch:
-
ANNOTATION
public static final int ANNOTATION- Siehe auch:
-
ARRAY
public static final int ARRAY- Siehe auch:
-
PRIMITIVE_INT
public static final int PRIMITIVE_INT- Siehe auch:
-
PRIMITIVE_BYTE
public static final int PRIMITIVE_BYTE- Siehe auch:
-
PRIMITIVE_CHAR
public static final int PRIMITIVE_CHAR- Siehe auch:
-
PRIMITIVE_DOUBLE
public static final int PRIMITIVE_DOUBLE- Siehe auch:
-
PRIMITIVE_FLOAT
public static final int PRIMITIVE_FLOAT- Siehe auch:
-
PRIMITIVE_LONG
public static final int PRIMITIVE_LONG- Siehe auch:
-
PRIMITIVE_SHORT
public static final int PRIMITIVE_SHORT- Siehe auch:
-
PRIMITIVE_BOOLEAN
public static final int PRIMITIVE_BOOLEAN- Siehe auch:
-
type
protected int type -
cpool
-
-
Konstruktordetails
-
ElementValue
-
-
Methodendetails
-
getElementValueType
public int getElementValueType() -
stringifyValue
-
dump
- Löst aus:
IOException
-
readElementValue
public static ElementValue readElementValue(DataInputStream dis, ConstantPool cpGen) throws IOException - Löst aus:
IOException
-
getConstantPool
-
copy
Creates an (modifiable) ElementValueGen copy of an (immutable) ElementValue - constant pool is assumed correct.
-