Class ModuleRequireNode

java.lang.Object
org.objectweb.asm.tree.ModuleRequireNode

public class ModuleRequireNode extends 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
    The access flag of the dependence among ACC_TRANSITIVE, ACC_STATIC_PHASE, ACC_SYNTHETIC and ACC_MANDATED.
    The fully qualified name (using dots) of the dependence.
    The module version at compile time, or null.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ModuleRequireNode(String module, int access, String version)
    Constructs a new ModuleRequireNode.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.objectweb.asm.ModuleVisitor moduleVisitor)
    Makes the given module visitor visit this require directive.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • module

      public String module
      The fully qualified name (using dots) of the dependence.
    • access

      public int access
      The access flag of the dependence among ACC_TRANSITIVE, ACC_STATIC_PHASE, ACC_SYNTHETIC and ACC_MANDATED.
    • version

      public String version
      The module version at compile time, or null.
  • Constructor Details

    • ModuleRequireNode

      public ModuleRequireNode(String module, int access, String version)
      Constructs a new ModuleRequireNode.
      Parameters:
      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.
  • Method Details

    • accept

      public void accept(org.objectweb.asm.ModuleVisitor moduleVisitor)
      Makes the given module visitor visit this require directive.
      Parameters:
      moduleVisitor - a module visitor.