Klasse ModuleMainClassAttribute
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
org.aspectj.org.eclipse.jdt.internal.core.util.ModuleMainClassAttribute
- Alle implementierten Schnittstellen:
IClassFileAttribute
,IModuleMainClassAttribute
public class ModuleMainClassAttribute
extends ClassFileAttribute
implements IModuleMainClassAttribute
Default implementation of IModuleMainClassAttribute
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungModuleMainClassAttribute
(byte[] classFileBytes, IConstantPool constantPool, int offset) Constructor for ModuleMainClassAttribute. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Answer back the main class index.char[]
Answer back the name of main class.Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
-
Konstruktordetails
-
ModuleMainClassAttribute
public ModuleMainClassAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException Constructor for ModuleMainClassAttribute.- Parameter:
classFileBytes
-constantPool
-offset
-- Löst aus:
ClassFormatException
-
-
Methodendetails
-
getMainClassIndex
public int getMainClassIndex()Beschreibung aus Schnittstelle kopiert:IModuleMainClassAttribute
Answer back the main class index.- Angegeben von:
getMainClassIndex
in SchnittstelleIModuleMainClassAttribute
- Gibt zurück:
- the main class index
-
getMainClassName
public char[] getMainClassName()Beschreibung aus Schnittstelle kopiert:IModuleMainClassAttribute
Answer back the name of main class.- Angegeben von:
getMainClassName
in SchnittstelleIModuleMainClassAttribute
- Gibt zurück:
- the name of main class
-