com.sun.tools.classfile
Class ConstantPool.CONSTANT_String_info

java.lang.Object
  extended by com.sun.tools.classfile.ConstantPool.CPInfo
      extended by com.sun.tools.classfile.ConstantPool.CONSTANT_String_info
Enclosing class:
ConstantPool

public static class ConstantPool.CONSTANT_String_info
extends ConstantPool.CPInfo


Field Summary
 int string_index
           
 
Fields inherited from class com.sun.tools.classfile.ConstantPool.CPInfo
cp
 
Constructor Summary
ConstantPool.CONSTANT_String_info(ConstantPool cp, ClassReader cr)
           
ConstantPool.CONSTANT_String_info(ConstantPool cp, int string_index)
           
 
Method Summary
<R,D> R
accept(ConstantPool.Visitor<R,D> visitor, D data)
           
 java.lang.String getString()
           
 int getTag()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

string_index

public final int string_index
Constructor Detail

ConstantPool.CONSTANT_String_info

ConstantPool.CONSTANT_String_info(ConstantPool cp,
                                  ClassReader cr)
                            throws java.io.IOException
Throws:
java.io.IOException

ConstantPool.CONSTANT_String_info

public ConstantPool.CONSTANT_String_info(ConstantPool cp,
                                         int string_index)
Method Detail

getTag

public int getTag()
Specified by:
getTag in class ConstantPool.CPInfo

getString

public java.lang.String getString()
                           throws ConstantPoolException
Throws:
ConstantPoolException

accept

public <R,D> R accept(ConstantPool.Visitor<R,D> visitor,
                      D data)
Specified by:
accept in class ConstantPool.CPInfo