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