public class ModuleMainClassAttribute extends ClassFileAttribute implements IModuleMainClassAttribute
NO_ATTRIBUTES| Constructor and Description |
|---|
ModuleMainClassAttribute(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
Constructor for ModuleMainClassAttribute.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMainClassIndex()
Answer back the main class index.
|
char[] |
getMainClassName()
Answer back the name of main class.
|
getAttributeLength, getAttributeName, getAttributeNameIndexdoubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8Atclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeLength, getAttributeName, getAttributeNameIndexpublic ModuleMainClassAttribute(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
throws ClassFormatException
classFileBytes - constantPool - offset - ClassFormatExceptionpublic int getMainClassIndex()
IModuleMainClassAttributegetMainClassIndex in interface IModuleMainClassAttributepublic char[] getMainClassName()
IModuleMainClassAttributegetMainClassName in interface IModuleMainClassAttribute