gnu.bytecode

Class 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, getTag, hashCode, print

Method Details

getString

public final CpoolUtf8 getString()

getTag

public int getTag()
Overrides:
getTag in interface CpoolEntry

hashCode

public int hashCode()
Overrides:
hashCode in interface CpoolEntry

print

public void print(ClassTypeWriter dst,
                  int verbosity)
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.
Overrides:
print in interface CpoolEntry