Top Description Fields Constructors Methods
jdk.internal.org.objectweb.asm.tree

public Class ModuleRequireNode

extends Object
Class Inheritance
Imports
jdk.internal.org.objectweb.asm.ModuleVisitor

A node that represents a required module with its name and access of a module descriptor.
Author
Remi Forax

Field Summary

Modifier and TypeField and Description
public int
access

The access flag of the dependence among ACC_TRANSITIVE, ACC_STATIC_PHASE, ACC_SYNTHETIC and ACC_MANDATED.

public String
module

The fully qualified name (using dots) of the dependence.

public String
version

The module version at compile time, or null.

Constructor Summary

AccessConstructor and Description
public
ModuleRequireNode(final String
the fully qualified name (using dots) of the dependence.
module
,
final int
the access flag of the dependence among ACC_TRANSITIVE, ACC_STATIC_PHASE, ACC_SYNTHETIC and ACC_MANDATED.
access
,
final String
the module version at compile time, or null.
version
)

Constructs a new ModuleRequireNode.

Method Summary

Modifier and TypeMethod and Description
public void
accept(final ModuleVisitor
a module visitor.
moduleVisitor
)

Makes the given module visitor visit this require directive.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessback to summary
public int access

The access flag of the dependence among ACC_TRANSITIVE, ACC_STATIC_PHASE, ACC_SYNTHETIC and ACC_MANDATED.

moduleback to summary
public String module

The fully qualified name (using dots) of the dependence.

versionback to summary
public String version

The module version at compile time, or null.

Constructor Detail

ModuleRequireNodeback to summary
public ModuleRequireNode(final String module, final int access, final String version)

Constructs a new ModuleRequireNode.

Parameters
module:String

the fully qualified name (using dots) of the dependence.

access:int

the access flag of the dependence among ACC_TRANSITIVE, ACC_STATIC_PHASE, ACC_SYNTHETIC and ACC_MANDATED.

version:String

the module version at compile time, or null.

Method Detail

acceptback to summary
public void accept(final ModuleVisitor moduleVisitor)

Makes the given module visitor visit this require directive.

Parameters
moduleVisitor:ModuleVisitor

a module visitor.