public class RequiresInfo extends ClassFileStruct implements IRequiresInfo
| Constructor and Description |
|---|
RequiresInfo(byte[] classFileBytes,
IConstantPool constantPool,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRequiresFlags()
Answer back the requires flags.
|
int |
getRequiresIndex()
Answer back the requires index.
|
char[] |
getRequiresModuleName()
Answer back the requires module name.
|
int |
getRequiresVersionIndex()
Answer back the requires version index.
|
char[] |
getRequiresVersionValue()
Answer back the requires version string.
|
public RequiresInfo(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
throws ClassFormatException
ClassFormatExceptionpublic int getRequiresIndex()
IRequiresInfogetRequiresIndex in interface IRequiresInfopublic char[] getRequiresModuleName()
IRequiresInfogetRequiresModuleName in interface IRequiresInfopublic int getRequiresFlags()
IRequiresInfogetRequiresFlags in interface IRequiresInfopublic int getRequiresVersionIndex()
IRequiresInfogetRequiresVersionIndex in interface IRequiresInfopublic char[] getRequiresVersionValue()
IRequiresInfogetRequiresVersionValue in interface IRequiresInfo