public class ModuleRequireNode extends Object
| Modifier and Type | Field and 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 and Description |
|---|
ModuleRequireNode(String module,
int access,
String version)
Constructs a new
ModuleRequireNode. |
| Modifier and Type | Method and 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.Copyright © 2018. All rights reserved.