Class BytecodeModuleExported
java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeModuleExported
A node that represents an exported package with its name and the module that can access to it.
- Since:
- 0.15.0
-
Constructor Summary
ConstructorsConstructorDescriptionBytecodeModuleExported(String pckg, int access, List<String> modules) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiondirectives(Format format) Converts this exported package to directives.voidwrite(org.objectweb.asm.ModuleVisitor module) Writes this exported package to the given module visitor.
-
Constructor Details
-
BytecodeModuleExported
Constructor.- Parameters:
pckg- The internal name of the exported packageaccess- The access flagsmodules- 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
Converts this exported package to directives.- Parameters:
format- Directive format- Returns:
- Directives
-