Module org.eclipse.persistence.asm
Class ModuleRequireNode
- java.lang.Object
-
- org.eclipse.persistence.internal.libraries.asm.tree.ModuleRequireNode
-
public class ModuleRequireNode extends Object
A node that represents a required module with its name and access of a module descriptor.- Author:
- Remi Forax
-
-
Field Summary
Fields Modifier and Type Field Description intaccessThe access flag of the dependence amongACC_TRANSITIVE,ACC_STATIC_PHASE,ACC_SYNTHETICandACC_MANDATED.StringmoduleThe fully qualified name (using dots) of the dependence.StringversionThe module version at compile time, or null.
-
Constructor Summary
Constructors Constructor Description ModuleRequireNode(String module, int access, String version)Constructs a newModuleRequireNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ModuleVisitor moduleVisitor)Makes the given module visitor visit this require directive.
-
-
-
Field Detail
-
module
public String module
The fully qualified name (using dots) of the dependence.
-
access
public int access
The access flag of the dependence amongACC_TRANSITIVE,ACC_STATIC_PHASE,ACC_SYNTHETICandACC_MANDATED.
-
version
public String version
The module version at compile time, or null.
-
-
Constructor Detail
-
ModuleRequireNode
public ModuleRequireNode(String module, int access, String version)
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_SYNTHETICandACC_MANDATED.version- the module version at compile time, or null.
-
-
Method Detail
-
accept
public void accept(ModuleVisitor moduleVisitor)
Makes the given module visitor visit this require directive.- Parameters:
moduleVisitor- a module visitor.
-
-