Class ClassElementValue
java.lang.Object
org.aspectj.apache.bcel.classfile.annotation.ElementValue
org.aspectj.apache.bcel.classfile.annotation.ClassElementValue
-
Field Summary
Fields inherited from class ElementValue
ANNOTATION, ARRAY, CLASS, cpool, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, typeModifier 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
ConstructorsModifierConstructorDescriptionprotectedClassElementValue(int typeIdx, ConstantPool cpool) ClassElementValue(ClassElementValue value, ConstantPool cpool, boolean copyPoolEntries) Return immutable variant of this ClassElementValueGenClassElementValue(ObjectType t, ConstantPool cpool) -
Method Summary
Methods inherited from class ElementValue
copy, getConstantPool, getElementValueType, readElementValueModifier and TypeMethodDescriptionstatic ElementValuecopy(ElementValue value, ConstantPool cpool, boolean copyPoolEntries) Creates an (modifiable) ElementValueGen copy of an (immutable) ElementValue - constant pool is assumed correct.protected ConstantPoolintstatic ElementValuereadElementValue(DataInputStream dis, ConstantPool cpGen)
-
Constructor Details
-
ClassElementValue
-
ClassElementValue
-
ClassElementValue
Return immutable variant of this ClassElementValueGen
-
-
Method Details
-
getIndex
public int getIndex() -
getClassString
-
stringifyValue
- Specified by:
stringifyValuein classElementValue
-
dump
- Specified by:
dumpin classElementValue- Throws:
IOException
-