Package org.objectweb.asm.tree
Class ModuleRequireNode
- java.lang.Object
-
- org.objectweb.asm.tree.ModuleRequireNode
-
public class ModuleRequireNode extends java.lang.Object
A node that represents a required module with its name and access of a module descriptor.
-
-
Field Summary
Fields Modifier and Type Field Description int
access
The access flag of the dependence amongACC_TRANSITIVE
,ACC_STATIC_PHASE
,ACC_SYNTHETIC
andACC_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 Summary
Constructors Constructor Description ModuleRequireNode(java.lang.String module, int access, java.lang.String version)
Constructs a newModuleRequireNode
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(org.objectweb.asm.ModuleVisitor moduleVisitor)
Makes the given module visitor visit this require directive.
-
-
-
Field Detail
-
module
public java.lang.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_SYNTHETIC
andACC_MANDATED
.
-
version
public java.lang.String version
The module version at compile time, or null.
-
-
Constructor Detail
-
ModuleRequireNode
public ModuleRequireNode(java.lang.String module, int access, java.lang.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_SYNTHETIC
andACC_MANDATED
.version
- the module version at compile time, or null.
-
-