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 Summary
Constructors Constructor Description BytecodeModuleExported(String pckg, int access, List<String> modules)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectivesModuleExporteddirectives(Format format)Converts this exported package to directives.voidwrite(org.objectweb.asm.ModuleVisitor module)Writes this exported package to the given module visitor.
-
-
-
Method Detail
-
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
-
-