public final class CpUtf8 extends CpEntry
TAG_CLASS, TAG_DOUBLE, TAG_FIELDREF, TAG_FLOAT, TAG_INTEGER, TAG_INTERFACE_METHODREF, TAG_LONG, TAG_METHODREF, TAG_NAME_AND_TYPE, TAG_STRING, TAG_UTF8
Constructor and Description |
---|
CpUtf8(ConstantPool pool)
Create a new entry which will be read eventually from a stream.
|
Modifier and Type | Method and Description |
---|---|
void |
computeHash()
Signal the entry to recompute (and store) its hashcode.
|
java.lang.String |
getString() |
void |
setString(java.lang.String string) |
java.lang.String |
toString() |
public CpUtf8(ConstantPool pool)
public java.lang.String getString()
public void setString(java.lang.String string)
public java.lang.String toString()
toString
in class java.lang.Object
public void computeHash()
CpEntry
The default does nothing.
computeHash
in class CpEntry
Copyright ? 2000-2003 Clarity Systems Group, LLC. All Rights Reserved.