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

java.lang.Object
  extended by org.aspectj.apache.bcel.classfile.annotation.ElementValue
      extended by org.aspectj.apache.bcel.classfile.annotation.ClassElementValue

public class ClassElementValue
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
ClassElementValue(ClassElementValue value, ConstantPool cpool, boolean copyPoolEntries)
          Return immutable variant of this ClassElementValueGen
ClassElementValue(ObjectType t, ConstantPool cpool)
           
 
Method Summary
 void dump(java.io.DataOutputStream dos)
           
 java.lang.String getClassString()
           
 int getIndex()
           
 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

ClassElementValue

public ClassElementValue(ObjectType t,
                         ConstantPool cpool)

ClassElementValue

public ClassElementValue(ClassElementValue value,
                         ConstantPool cpool,
                         boolean copyPoolEntries)
Return immutable variant of this ClassElementValueGen

Method Detail

getIndex

public int getIndex()

getClassString

public java.lang.String getClassString()

stringifyValue

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

dump

public void dump(java.io.DataOutputStream dos)
          throws java.io.IOException
Specified by:
dump in class ElementValue
Throws:
java.io.IOException