public class ModuleRequireNode extends Object
| Modifier and Type | Field | Description |
|---|---|---|
int |
access |
The access flag of the dependence among
ACC_TRANSITIVE, ACC_STATIC_PHASE,
ACC_SYNTHETIC and ACC_MANDATED. |
String |
module |
The fully qualified name (using dots) of the dependence.
|
String |
version |
The module version at compile time, or null.
|
| Constructor | Description |
|---|---|
ModuleRequireNode(String module,
int access,
String version) |
Constructs a new
ModuleRequireNode. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(ModuleVisitor moduleVisitor) |
Makes the given module visitor visit this require directive.
|
public String module
public int access
ACC_TRANSITIVE, ACC_STATIC_PHASE,
ACC_SYNTHETIC and ACC_MANDATED.public String version
public ModuleRequireNode(String module, int access, String version)
ModuleRequireNode.module - the fully qualified name (using dots) of the dependence.access - the access flag of the dependence among ACC_TRANSITIVE,
ACC_STATIC_PHASE, ACC_SYNTHETIC and ACC_MANDATED.version - the module version at compile time, or null.public void accept(ModuleVisitor moduleVisitor)
moduleVisitor - a module visitor.