Class BytecodeModuleOpened
java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeModuleOpened
A node that represents an opened package with its name and the module that can access it.
- Since:
- 0.15.0
-
Constructor Summary
ConstructorsConstructorDescriptionBytecodeModuleOpened(String pckg, int access, List<String> modules) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiondirectives(Format format) Converts this opened package to directives.voidwrite(org.objectweb.asm.ModuleVisitor module) Writes this opened package to the given module visitor.
-
Constructor Details
-
BytecodeModuleOpened
Constructor.- Parameters:
pckg- The internal name of the opened packageaccess- The access flag of the opened packagemodules- The fully qualified names (using dots) of the modules
-
-
Method Details
-
write
public void write(org.objectweb.asm.ModuleVisitor module) Writes this opened package to the given module visitor.- Parameters:
module- The module visitor
-
directives
Converts this opened package to directives.- Parameters:
format- Directive format- Returns:
- Directives
-