Package gnu.bytecode
Class CpoolUtf8
- java.lang.Object
-
- gnu.bytecode.CpoolEntry
-
- gnu.bytecode.CpoolUtf8
-
public class CpoolUtf8 extends CpoolEntry
A CONSTANT_Utf8 entry in the constant pool.
-
-
Field Summary
-
Fields inherited from class gnu.bytecode.CpoolEntry
index
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getString()
int
getTag()
int
hashCode()
void
intern()
void
print(ClassTypeWriter dst, int verbosity)
Print this constant pool entry.-
Methods inherited from class gnu.bytecode.CpoolEntry
getIndex
-
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCpoolEntry
-
intern
public final void intern()
-
getTag
public int getTag()
- Specified by:
getTag
in classCpoolEntry
-
getString
public final String getString()
-
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 classCpoolEntry
-
-