-
- All Implemented Interfaces:
public final class ConstantStringInfo extends AbstractConstant
Describes a CONSTANT_String_info constant pool data structure.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerstringIndexprivate final ConstantUtf8Infoutf8Constantprivate final ConstantTypeconstantTypeprivate final Stringverbose
-
Constructor Summary
Constructors Constructor Description ConstantStringInfo(ClassFile classFile)
-
Method Summary
Modifier and Type Method Description final IntegergetStringIndex()Index of the constant pool entry containing the string of this entry. final UnitsetStringIndex(Integer stringIndex)Index of the constant pool entry containing the string of this entry. final ConstantUtf8InfogetUtf8Constant()ConstantTypegetConstantType()Type of the cp_info structure. StringgetVerbose()Booleanequals(Object other)Check if constant is equal to another one. IntegerhashCode()Hash code of the constant, -
-
Constructor Detail
-
ConstantStringInfo
ConstantStringInfo(ClassFile classFile)
-
-
Method Detail
-
getStringIndex
final Integer getStringIndex()
Index of the constant pool entry containing the string of this entry.
-
setStringIndex
final Unit setStringIndex(Integer stringIndex)
Index of the constant pool entry containing the string of this entry.
-
getUtf8Constant
final ConstantUtf8Info getUtf8Constant()
-
getConstantType
ConstantType getConstantType()
Type of the cp_info structure.
-
getVerbose
String getVerbose()
-
-
-
-