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

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

public class EnumElementValue
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
EnumElementValue(EnumElementValue value, ConstantPool cpool, boolean copyPoolEntries)
           
EnumElementValue(ObjectType t, java.lang.String value, ConstantPool cpool)
           
 
Method Summary
 void dump(java.io.DataOutputStream dos)
           
 java.lang.String getEnumTypeString()
           
 java.lang.String getEnumValueString()
           
 int getTypeIndex()
           
 int getValueIndex()
           
 java.lang.String stringifyValue()
          return signature and value, something like Lp/Color;RED
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

EnumElementValue

public EnumElementValue(ObjectType t,
                        java.lang.String value,
                        ConstantPool cpool)

EnumElementValue

public EnumElementValue(EnumElementValue value,
                        ConstantPool cpool,
                        boolean copyPoolEntries)
Method Detail

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()
return signature and value, something like Lp/Color;RED

Specified by:
stringifyValue in class ElementValue

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getEnumTypeString

public java.lang.String getEnumTypeString()

getEnumValueString

public java.lang.String getEnumValueString()

getValueIndex

public int getValueIndex()

getTypeIndex

public int getTypeIndex()