-
- All Implemented Interfaces:
public abstract class ConstantNameInfo extends AbstractConstant
Base class for constant pool data structures that reference a name.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegernameIndexprivate final ConstantUtf8InfonameConstantprivate final Stringverboseprivate final Stringnameprivate final ConstantTypeconstantType
-
Constructor Summary
Constructors Constructor Description ConstantNameInfo(ClassFile classFile)
-
Method Summary
Modifier and Type Method Description final IntegergetNameIndex()Index of the constant pool entry containing the referenced name. final UnitsetNameIndex(Integer nameIndex)Index of the constant pool entry containing the referenced name. final ConstantUtf8InfogetNameConstant()StringgetVerbose()final StringgetName()Booleanequals(Object other)Check if constant is equal to another one. IntegerhashCode()Hash code of the constant, -
-
Constructor Detail
-
ConstantNameInfo
ConstantNameInfo(ClassFile classFile)
-
-
Method Detail
-
getNameIndex
final Integer getNameIndex()
Index of the constant pool entry containing the referenced name.
-
setNameIndex
final Unit setNameIndex(Integer nameIndex)
Index of the constant pool entry containing the referenced name.
-
getNameConstant
final ConstantUtf8Info getNameConstant()
-
getVerbose
String getVerbose()
-
-
-
-