public class ConstantPoolEntryString extends AbstractConstantPoolEntry implements ConstantPoolEntryLiteral
ConstantPoolEntry.Type| Modifier and Type | Field and Description |
|---|---|
private static long |
OFFSET_OF_STRING_INDEX |
private java.lang.String |
string |
private long |
stringIndex |
| Constructor and Description |
|---|
ConstantPoolEntryString(ConstantPool cp,
ByteData data) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(Dumper d) |
long |
getRawByteLength() |
StackType |
getStackType() |
java.lang.String |
getValue() |
getCpprivate static final long OFFSET_OF_STRING_INDEX
private final long stringIndex
private transient java.lang.String string
public ConstantPoolEntryString(ConstantPool cp, ByteData data)
public long getRawByteLength()
getRawByteLength in interface ConstantPoolEntrypublic void dump(Dumper d)
dump in interface ConstantPoolEntrypublic java.lang.String getValue()
public StackType getStackType()
getStackType in interface ConstantPoolEntryLiteral