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 intstringIndex-
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)intbyteLength()ConstantPool.TaggetTag()java.lang.StringgetValue()java.lang.StringtoString()-
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:
getTagin classConstantPool.Entry
-
byteLength
public int byteLength()
- Specified by:
byteLengthin classConstantPool.Entry
-
accept
public <R,D> R accept(ConstantPool.Visitor<R,D> visitor, D data)
- Specified by:
acceptin classConstantPool.Entry
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-