org.aspectj.apache.bcel.classfile.annotation
Class ArrayElementValue

java.lang.Object
  extended by org.aspectj.apache.bcel.classfile.annotation.ElementValue
      extended by 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, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING
 
Constructor Summary
ArrayElementValue(ArrayElementValue value, ConstantPool cpool, boolean copyPoolEntries)
           
ArrayElementValue(ConstantPool cp)
           
ArrayElementValue(int type, ElementValue[] datums, ConstantPool cpool)
           
 
Method Summary
 void addElement(ElementValue gen)
           
 void dump(java.io.DataOutputStream dos)
           
 ElementValue[] getElementValuesArray()
           
 int getElementValuesArraySize()
           
 java.lang.String stringifyValue()
           
 
Methods inherited from class org.aspectj.apache.bcel.classfile.annotation.ElementValue
copy, getElementValueType, readElementValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(java.io.DataOutputStream dos)
          throws java.io.IOException
Specified by:
dump in class ElementValue
Throws:
java.io.IOException

stringifyValue

public java.lang.String stringifyValue()
Specified by:
stringifyValue in class ElementValue

addElement

public void addElement(ElementValue gen)