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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintAnswer back the requires flags.intAnswer back the requires index.char[]Answer back the requires module name.intAnswer 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:IRequiresInfoAnswer back the requires index.- Specified by:
getRequiresIndexin interfaceIRequiresInfo- Returns:
- the requires index
-
getRequiresModuleName
public char[] getRequiresModuleName()Description copied from interface:IRequiresInfoAnswer back the requires module name.- Specified by:
getRequiresModuleNamein interfaceIRequiresInfo- Returns:
- the requires module name
-
getRequiresFlags
public int getRequiresFlags()Description copied from interface:IRequiresInfoAnswer back the requires flags.- Specified by:
getRequiresFlagsin interfaceIRequiresInfo- Returns:
- the requires flags
-
getRequiresVersionIndex
public int getRequiresVersionIndex()Description copied from interface:IRequiresInfoAnswer back the requires version index.- Specified by:
getRequiresVersionIndexin interfaceIRequiresInfo- Returns:
- the requires version index
-
getRequiresVersionValue
public char[] getRequiresVersionValue()Description copied from interface:IRequiresInfoAnswer back the requires version string.- Specified by:
getRequiresVersionValuein interfaceIRequiresInfo- Returns:
- the requires version string
-