Class BytecodeModuleOpened
- java.lang.Object
-
- org.eolang.jeo.representation.bytecode.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 Summary
Constructors Constructor Description BytecodeModuleOpened(String pckg, int access, List<String> modules)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectivesModuleOpeneddirectives(Format format)Converts this opened package to directives.voidwrite(org.objectweb.asm.ModuleVisitor module)Writes this opened package to the given module visitor.
-
-
-
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
-
-