Class RequiresInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.RequiresInfo
- All Implemented Interfaces:
IRequiresInfo
-
Constructor Summary
ConstructorsConstructorDescriptionRequiresInfo(byte[] classFileBytes, IConstantPool constantPool, int offset)
-
Method Summary
Modifier and TypeMethodDescriptionint
Answer back the requires flags.int
Answer back the requires index.char[]
Answer back the requires module name.int
Answer back the requires version index.char[]
Answer back the requires version string.
-
Constructor Details
-
RequiresInfo
public RequiresInfo(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException- Throws:
ClassFormatException
-
-
Method Details
-
getRequiresIndex
public int getRequiresIndex()Description copied from interface:IRequiresInfo
Answer back the requires index.- Specified by:
getRequiresIndex
in interfaceIRequiresInfo
- Returns:
- the requires index
-
getRequiresModuleName
public char[] getRequiresModuleName()Description copied from interface:IRequiresInfo
Answer back the requires module name.- Specified by:
getRequiresModuleName
in interfaceIRequiresInfo
- Returns:
- the requires module name
-
getRequiresFlags
public int getRequiresFlags()Description copied from interface:IRequiresInfo
Answer back the requires flags.- Specified by:
getRequiresFlags
in interfaceIRequiresInfo
- Returns:
- the requires flags
-
getRequiresVersionIndex
public int getRequiresVersionIndex()Description copied from interface:IRequiresInfo
Answer back the requires version index.- Specified by:
getRequiresVersionIndex
in interfaceIRequiresInfo
- Returns:
- the requires version index
-
getRequiresVersionValue
public char[] getRequiresVersionValue()Description copied from interface:IRequiresInfo
Answer back the requires version string.- Specified by:
getRequiresVersionValue
in interfaceIRequiresInfo
- Returns:
- the requires version string
-