Class ModuleOpenNode

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

public class ModuleOpenNode extends Object
A node that represents an opened package with its name and the module that can access it.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The access flag of the opened package, valid values are among ACC_SYNTHETIC and ACC_MANDATED.
    The fully qualified names (using dots) of the modules that can use deep reflection to the classes of the open package, or null.
    The internal name of the opened package (see Type.getInternalName()).
  • Constructor Summary

    Constructors
    Constructor
    Description
    ModuleOpenNode(String packaze, int access, List<String> modules)
    Constructs a new ModuleOpenNode.
  • Method Summary

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

    Methods inherited from class java.lang.Object

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

    • packaze

      public String packaze
      The internal name of the opened package (see Type.getInternalName()).
    • access

      public int access
      The access flag of the opened package, valid values are among ACC_SYNTHETIC and ACC_MANDATED.
    • modules

      public List<String> modules
      The fully qualified names (using dots) of the modules that can use deep reflection to the classes of the open package, or null.
  • Constructor Details

    • ModuleOpenNode

      public ModuleOpenNode(String packaze, int access, List<String> modules)
      Constructs a new ModuleOpenNode.
      Parameters:
      packaze - the internal name of the opened package (see Type.getInternalName()).
      access - the access flag of the opened package, valid values are among ACC_SYNTHETIC and ACC_MANDATED.
      modules - the fully qualified names (using dots) of the modules that can use deep reflection to the classes of the open package, or null.
  • Method Details

    • accept

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