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, cpool, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type
 
Constructor Summary
  ClassElementValue(ClassElementValue value, ConstantPool cpool, boolean copyPoolEntries)
          Return immutable variant of this ClassElementValueGen
protected ClassElementValue(int typeIdx, ConstantPool cpool)
           
  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, getConstantPool, getElementValueType, readElementValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassElementValue

protected ClassElementValue(int typeIdx,
                            ConstantPool cpool)

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