Package org.eclipse.jdt.core.util
Interface IConstantPoolEntry3
- All Superinterfaces:
IConstantPoolEntry
,IConstantPoolEntry2
Description of a constant pool entry as described in the JVM specifications.
Its contents is initialized according to its kind.
- Since:
- 3.14
- Restriction:
- This interface is not intended to be implemented by clients.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the index for a CONSTANT_Module type entry.char[]
Returns the name of a CONSTANT_Module type entry.int
Returns the index for a CONSTANT_Package type entry.char[]
Returns the name of a CONSTANT_Package type entry.Methods inherited from interface org.eclipse.jdt.core.util.IConstantPoolEntry
getClassIndex, getClassInfoName, getClassInfoNameIndex, getClassName, getDoubleValue, getFieldDescriptor, getFieldName, getFloatValue, getIntegerValue, getKind, getLongValue, getMethodDescriptor, getMethodName, getNameAndTypeIndex, getNameAndTypeInfoDescriptorIndex, getNameAndTypeInfoNameIndex, getStringIndex, getStringValue, getUtf8Length, getUtf8Value
Methods inherited from interface org.eclipse.jdt.core.util.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:
-