org.apache.bcel.classfile
Class EnumElementValue

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

public class EnumElementValue
extends ElementValue


Field Summary
 
Fields inherited from class org.apache.bcel.classfile.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
EnumElementValue(int type, int typeIdx, int valueIdx, 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()
           
 
Methods inherited from class org.apache.bcel.classfile.ElementValue
getElementValueType, readElementValue, toShortString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumElementValue

public EnumElementValue(int type,
                        int typeIdx,
                        int valueIdx,
                        ConstantPool cpool)
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()
Specified by:
stringifyValue in class ElementValue

getEnumTypeString

public java.lang.String getEnumTypeString()

getEnumValueString

public java.lang.String getEnumValueString()

getValueIndex

public int getValueIndex()

getTypeIndex

public int getTypeIndex()


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.