Klasse SimpleElementValue
java.lang.Object
org.aspectj.apache.bcel.classfile.annotation.ElementValue
org.aspectj.apache.bcel.classfile.annotation.SimpleElementValue
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.apache.bcel.classfile.annotation.ElementValue
ANNOTATION, ARRAY, CLASS, cpool, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type
-
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
SimpleElementValue
(int type, int idx, ConstantPool cpGen) Protected ctor used for deserialization, doesn't *put* an entry in the constant pool, assumes the one at the supplied index is correct.SimpleElementValue
(int type, ConstantPool cpGen, boolean value) SimpleElementValue
(int type, ConstantPool cpGen, byte value) SimpleElementValue
(int type, ConstantPool cpGen, char value) SimpleElementValue
(int type, ConstantPool cpGen, double value) SimpleElementValue
(int type, ConstantPool cpGen, float value) SimpleElementValue
(int type, ConstantPool cpGen, int value) SimpleElementValue
(int type, ConstantPool cpGen, long value) SimpleElementValue
(int type, ConstantPool cpGen, short value) SimpleElementValue
(int type, ConstantPool cpGen, String value) SimpleElementValue
(SimpleElementValue value, ConstantPool cpool, boolean copyPoolEntries) The boolean controls whether we copy info from the 'old' constant pool to the 'new'. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
dump
(DataOutputStream dos) int
getIndex()
boolean
byte
char
double
float
int
long
short
toString()
Von Klasse geerbte Methoden org.aspectj.apache.bcel.classfile.annotation.ElementValue
copy, getConstantPool, getElementValueType, readElementValue
-
Konstruktordetails
-
SimpleElementValue
Protected ctor used for deserialization, doesn't *put* an entry in the constant pool, assumes the one at the supplied index is correct. -
SimpleElementValue
-
SimpleElementValue
-
SimpleElementValue
-
SimpleElementValue
-
SimpleElementValue
-
SimpleElementValue
-
SimpleElementValue
-
SimpleElementValue
-
SimpleElementValue
-
SimpleElementValue
The boolean controls whether we copy info from the 'old' constant pool to the 'new'. You need to use this ctor if the annotation is being copied from one file to another.
-
-
Methodendetails
-
getValueByte
public byte getValueByte() -
getValueChar
public char getValueChar() -
getValueLong
public long getValueLong() -
getValueFloat
public float getValueFloat() -
getValueDouble
public double getValueDouble() -
getValueBoolean
public boolean getValueBoolean() -
getValueShort
public short getValueShort() -
getIndex
public int getIndex() -
getValueString
-
getValueInt
public int getValueInt() -
stringifyValue
- Angegeben von:
stringifyValue
in KlasseElementValue
-
toString
-
dump
- Angegeben von:
dump
in KlasseElementValue
- Löst aus:
IOException
-