Class BytecodeModuleExported

java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeModuleExported

public final class BytecodeModuleExported extends Object
A node that represents an exported package with its name and the module that can access to it.
Since:
0.15.0
  • Constructor Details

    • BytecodeModuleExported

      public BytecodeModuleExported(String pckg, int access, List<String> modules)
      Constructor.
      Parameters:
      pckg - The internal name of the exported package
      access - The access flags
      modules - The list of modules that can access this exported package
  • Method Details

    • write

      public void write(org.objectweb.asm.ModuleVisitor module)
      Writes this exported package to the given module visitor.
      Parameters:
      module - Uhe module visitor
    • directives

      public DirectivesModuleExported directives(Format format)
      Converts this exported package to directives.
      Parameters:
      format - Directive format
      Returns:
      Directives