Class ArrayElementValue
- java.lang.Object
-
- org.aspectj.apache.bcel.classfile.annotation.ElementValue
-
- org.aspectj.apache.bcel.classfile.annotation.ArrayElementValue
-
public class ArrayElementValue extends ElementValue
-
-
Field Summary
-
Fields inherited from class 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
-
-
Constructor Summary
Constructors Constructor Description ArrayElementValue(int type, ElementValue[] datums, ConstantPool cpool)ArrayElementValue(ArrayElementValue value, ConstantPool cpool, boolean copyPoolEntries)ArrayElementValue(ConstantPool cp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddElement(ElementValue gen)voiddump(DataOutputStream dos)ElementValue[]getElementValuesArray()intgetElementValuesArraySize()StringstringifyValue()-
Methods inherited from class org.aspectj.apache.bcel.classfile.annotation.ElementValue
copy, getConstantPool, getElementValueType, readElementValue
-
-
-
-
Constructor Detail
-
ArrayElementValue
public ArrayElementValue(ConstantPool cp)
-
ArrayElementValue
public ArrayElementValue(int type, ElementValue[] datums, ConstantPool cpool)
-
ArrayElementValue
public ArrayElementValue(ArrayElementValue value, ConstantPool cpool, boolean copyPoolEntries)
-
-
Method Detail
-
getElementValuesArray
public ElementValue[] getElementValuesArray()
-
getElementValuesArraySize
public int getElementValuesArraySize()
-
dump
public void dump(DataOutputStream dos) throws IOException
- Specified by:
dumpin classElementValue- Throws:
IOException
-
stringifyValue
public String stringifyValue()
- Specified by:
stringifyValuein classElementValue
-
addElement
public void addElement(ElementValue gen)
-
-