public class ModuleRequireNode
extends java.lang.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. |
java.lang.String |
module |
The fully qualified name (using dots) of the dependence.
|
java.lang.String |
version |
The module version at compile time, or null.
|
| Constructor | Description |
|---|---|
ModuleRequireNode(java.lang.String module,
int access,
java.lang.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 java.lang.String module
public int access
ACC_TRANSITIVE, ACC_STATIC_PHASE,
ACC_SYNTHETIC and ACC_MANDATED.public java.lang.String version
public ModuleRequireNode(java.lang.String module,
int access,
java.lang.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.