Interface IModuleMainClassAttribute
- All Superinterfaces:
IClassFileAttribute
- All Known Implementing Classes:
ModuleMainClassAttribute
Description of a Module Main Class Attribute as described in the JVMS9 4.7.27
This interface may be implemented by clients.
- Since:
- 3.14
-
Method Summary
Modifier and TypeMethodDescriptionintAnswer back the main class index.char[]Answer back the name of main class.Methods inherited from interface IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndexModifier and TypeMethodDescriptionlongAnswer back the attribute length as specified in the JVM specifications.char[]Answer back the attribute name as specified in the JVM specifications.intAnswer back the attribute name index in the constant pool as specified in the JVM specifications.
-
Method Details
-
getMainClassIndex
int getMainClassIndex()Answer back the main class index.- Returns:
- the main class index
-
getMainClassName
char[] getMainClassName()Answer back the name of main class.- Returns:
- the name of main class
-