gnu.bytecode
Class CpoolString

java.lang.Object
  extended by gnu.bytecode.CpoolEntry
      extended by gnu.bytecode.CpoolString

public class CpoolString
extends CpoolEntry

A CONSTANT_String entry in the constant pool.


Field Summary
 
Fields inherited from class gnu.bytecode.CpoolEntry
index
 
Method Summary
 CpoolUtf8 getString()
           
 int getTag()
           
 int hashCode()
           
 void print(ClassTypeWriter dst, int verbosity)
          Print this constant pool entry.
 
Methods inherited from class gnu.bytecode.CpoolEntry
getIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTag

public int getTag()
Specified by:
getTag in class CpoolEntry

getString

public final CpoolUtf8 getString()

hashCode

public int hashCode()
Overrides:
hashCode in class CpoolEntry

print

public void print(ClassTypeWriter dst,
                  int verbosity)
Description copied from class: CpoolEntry
Print this constant pool entry. If verbosity==0, print very tersely (no extraneous text). If verbosity==1, prefix the type of the constant. If verbosity==2, add more descriptive text.

Specified by:
print in class CpoolEntry