public static final class ConstantPool.StringConstantEntry extends ConstantPool.ConstantEntry
| Modifier and Type | Field and Description |
|---|---|
int |
stringIndex |
index, owner| Constructor and Description |
|---|
ConstantPool.StringConstantEntry(ConstantPool owner,
int stringIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ConstantPool.Visitor visitor) |
int |
byteLength() |
java.lang.Object |
getConstantValue() |
ConstantPool.Tag |
getTag() |
java.lang.String |
getValue() |
java.lang.String |
toString() |
sizepublic ConstantPool.StringConstantEntry(ConstantPool owner, int stringIndex)
public java.lang.String getValue()
public ConstantPool.Tag getTag()
getTag in class ConstantPool.Entrypublic int byteLength()
byteLength in class ConstantPool.Entrypublic void accept(ConstantPool.Visitor visitor)
accept in class ConstantPool.Entrypublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object getConstantValue()
getConstantValue in class ConstantPool.ConstantEntry