Module org.eclipse.persistence.asm
Class ModuleRequireNode
java.lang.Object
org.eclipse.persistence.internal.libraries.asm.tree.ModuleRequireNode
A node that represents a required module with its name and access of a module descriptor.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionModuleRequireNode
(String module, int access, String version) Constructs a newModuleRequireNode
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModuleVisitor moduleVisitor) Makes the given module visitor visit this require directive.
-
Field Details
-
module
The fully qualified name (using dots) of the dependence. -
access
public int accessThe access flag of the dependence amongACC_TRANSITIVE
,ACC_STATIC_PHASE
,ACC_SYNTHETIC
andACC_MANDATED
. -
version
The module version at compile time, or null.
-
-
Constructor Details
-
ModuleRequireNode
Constructs a newModuleRequireNode
.- Parameters:
module
- the fully qualified name (using dots) of the dependence.access
- the access flag of the dependence amongACC_TRANSITIVE
,ACC_STATIC_PHASE
,ACC_SYNTHETIC
andACC_MANDATED
.version
- the module version at compile time, or null.
-
-
Method Details
-
accept
Makes the given module visitor visit this require directive.- Parameters:
moduleVisitor
- a module visitor.
-