Package com.strobel.reflection.emit
Class ConstantPool.StringConstant
- java.lang.Object
-
- com.strobel.reflection.emit.ConstantPool.Entry
-
- com.strobel.reflection.emit.ConstantPool.StringConstant
-
- Enclosing class:
- ConstantPool
public static final class ConstantPool.StringConstant extends ConstantPool.Entry
-
-
Field Summary
Fields Modifier and Type Field Description int
stringIndex
-
Fields inherited from class com.strobel.reflection.emit.ConstantPool.Entry
index, owner
-
-
Constructor Summary
Constructors Constructor Description StringConstant(ConstantPool owner, int stringIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,D>
Raccept(ConstantPool.Visitor<R,D> visitor, D data)
int
byteLength()
ConstantPool.Tag
getTag()
java.lang.String
getValue()
java.lang.String
toString()
-
Methods inherited from class com.strobel.reflection.emit.ConstantPool.Entry
size
-
-
-
-
Constructor Detail
-
StringConstant
public StringConstant(ConstantPool owner, int stringIndex)
-
-
Method Detail
-
getValue
public java.lang.String getValue()
-
getTag
public ConstantPool.Tag getTag()
- Specified by:
getTag
in classConstantPool.Entry
-
byteLength
public int byteLength()
- Specified by:
byteLength
in classConstantPool.Entry
-
accept
public <R,D> R accept(ConstantPool.Visitor<R,D> visitor, D data)
- Specified by:
accept
in classConstantPool.Entry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-