Class ModuleExportNode

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

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

    Fields
    Modifier and Type
    Field
    Description
    int
    The access flags (see Opcodes).
    The list of modules that can access this exported package, specified with fully qualified names (using dots).
    The internal name of the exported package (see Type.getInternalName()).
  • Constructor Summary

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

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

    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 exported package (see Type.getInternalName()).
    • access

      public int access
      The access flags (see Opcodes). Valid values are ACC_SYNTHETIC and ACC_MANDATED.
    • modules

      public List<String> modules
      The list of modules that can access this exported package, specified with fully qualified names (using dots). May be null.
  • Constructor Details

    • ModuleExportNode

      public ModuleExportNode(String packaze, int access, List<String> modules)
      Constructs a new ModuleExportNode.
      Parameters:
      packaze - the internal name of the exported package (see Type.getInternalName()).
      access - the package access flags, one or more of ACC_SYNTHETIC and ACC_MANDATED.
      modules - a list of modules that can access this exported package, specified with fully qualified names (using dots).
  • Method Details

    • accept

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