Class ConstantPoolEntryString
- java.lang.Object
-
- org.benf.cfr.reader.entities.AbstractConstantPoolEntry
-
- org.benf.cfr.reader.entities.constantpool.ConstantPoolEntryString
-
- All Implemented Interfaces:
ConstantPoolEntry,ConstantPoolEntryLiteral
public class ConstantPoolEntryString extends AbstractConstantPoolEntry implements ConstantPoolEntryLiteral
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.benf.cfr.reader.entities.constantpool.ConstantPoolEntry
ConstantPoolEntry.Type
-
-
Field Summary
Fields Modifier and Type Field Description private static longOFFSET_OF_STRING_INDEXprivate java.lang.Stringstringprivate longstringIndex
-
Constructor Summary
Constructors Constructor Description ConstantPoolEntryString(ConstantPool cp, ByteData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump(Dumper d)longgetRawByteLength()StackTypegetStackType()java.lang.StringgetValue()-
Methods inherited from class org.benf.cfr.reader.entities.AbstractConstantPoolEntry
getCp
-
-
-
-
Field Detail
-
OFFSET_OF_STRING_INDEX
private static final long OFFSET_OF_STRING_INDEX
- See Also:
- Constant Field Values
-
stringIndex
private final long stringIndex
-
string
private transient java.lang.String string
-
-
Constructor Detail
-
ConstantPoolEntryString
public ConstantPoolEntryString(ConstantPool cp, ByteData data)
-
-
Method Detail
-
getRawByteLength
public long getRawByteLength()
- Specified by:
getRawByteLengthin interfaceConstantPoolEntry
-
dump
public void dump(Dumper d)
- Specified by:
dumpin interfaceConstantPoolEntry
-
getValue
public java.lang.String getValue()
-
getStackType
public StackType getStackType()
- Specified by:
getStackTypein interfaceConstantPoolEntryLiteral
-
-