Package com.strobel.assembler.ir
Class ConstantPool.StringConstantEntry
- java.lang.Object
-
- com.strobel.assembler.ir.ConstantPool.Entry
-
- com.strobel.assembler.ir.ConstantPool.ConstantEntry
-
- com.strobel.assembler.ir.ConstantPool.StringConstantEntry
-
- Enclosing class:
- ConstantPool
public static final class ConstantPool.StringConstantEntry extends ConstantPool.ConstantEntry
-
-
Field Summary
Fields Modifier and Type Field Description int
stringIndex
-
Fields inherited from class com.strobel.assembler.ir.ConstantPool.Entry
index, owner
-
-
Constructor Summary
Constructors Constructor Description StringConstantEntry(ConstantPool owner, int stringIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ConstantPool.Visitor visitor)
int
byteLength()
(package private) void
fixupKey(ConstantPool.Key key)
java.lang.Object
getConstantValue()
ConstantPool.Tag
getTag()
java.lang.String
getValue()
java.lang.String
toString()
-
Methods inherited from class com.strobel.assembler.ir.ConstantPool.Entry
size
-
-
-
-
Constructor Detail
-
StringConstantEntry
public StringConstantEntry(ConstantPool owner, int stringIndex)
-
-
Method Detail
-
getValue
public java.lang.String getValue()
-
fixupKey
void fixupKey(ConstantPool.Key key)
- Specified by:
fixupKey
in classConstantPool.Entry
-
getTag
public ConstantPool.Tag getTag()
- Specified by:
getTag
in classConstantPool.Entry
-
byteLength
public int byteLength()
- Specified by:
byteLength
in classConstantPool.Entry
-
accept
public void accept(ConstantPool.Visitor visitor)
- Specified by:
accept
in classConstantPool.Entry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getConstantValue
public java.lang.Object getConstantValue()
- Specified by:
getConstantValue
in classConstantPool.ConstantEntry
-
-