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 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(ModuleVisitor moduleVisitor)
      Makes the given module visitor visit this opened package.
      Parameters:
      moduleVisitor - a module visitor.