Interface IConstantPoolEntry3
- All Superinterfaces:
IConstantPoolEntry, IConstantPoolEntry2
- All Known Implementing Classes:
ConstantPoolEntry2
Description of a constant pool entry as described in the JVM specifications.
Its contents is initialized according to its kind.
- Since:
- 3.14
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the index for a CONSTANT_Module type entry.char[]Returns the name of a CONSTANT_Module type entry.intReturns the index for a CONSTANT_Package type entry.char[]Returns the name of a CONSTANT_Package type entry.Methods inherited from interface IConstantPoolEntry
getClassIndex, getClassInfoName, getClassInfoNameIndex, getClassName, getDoubleValue, getFieldDescriptor, getFieldName, getFloatValue, getIntegerValue, getKind, getLongValue, getMethodDescriptor, getMethodName, getNameAndTypeIndex, getNameAndTypeInfoDescriptorIndex, getNameAndTypeInfoNameIndex, getStringIndex, getStringValue, getUtf8Length, getUtf8ValueMethods inherited from interface IConstantPoolEntry2
getBootstrapMethodAttributeIndex, getDescriptorIndex, getReferenceIndex, getReferenceKind
-
Method Details
-
getModuleIndex
int getModuleIndex()Returns the index for a CONSTANT_Module type entry. The value is unspecified otherwise.- Returns:
- the index for a CONSTANT_Module type entry
- See Also:
-
getModuleName
char[] getModuleName()Returns the name of a CONSTANT_Module type entry. Returns null otherwise.- Returns:
- the name of a CONSTANT_Module type entry
- See Also:
-
getPackageIndex
int getPackageIndex()Returns the index for a CONSTANT_Package type entry. The value is unspecified otherwise.- Returns:
- the index for a CONSTANT_Package type entry
- See Also:
-
getPackageName
char[] getPackageName()Returns the name of a CONSTANT_Package type entry. Returns null otherwise.- Returns:
- the name of a CONSTANT_Package type entry
- See Also:
-