Class BytecodeModuleOpened


  • public final class BytecodeModuleOpened
    extends Object
    A node that represents an opened package with its name and the module that can access it.
    Since:
    0.15.0
    • Constructor Detail

      • BytecodeModuleOpened

        public BytecodeModuleOpened​(String pckg,
                                    int access,
                                    List<String> modules)
        Constructor.
        Parameters:
        pckg - The internal name of the opened package
        access - The access flag of the opened package
        modules - The fully qualified names (using dots) of the modules
    • Method Detail

      • write

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

        public DirectivesModuleOpened directives​(Format format)
        Converts this opened package to directives.
        Parameters:
        format - Directive format
        Returns:
        Directives