Class BytecodeModuleProvided
- java.lang.Object
-
- org.eolang.jeo.representation.bytecode.BytecodeModuleProvided
-
public final class BytecodeModuleProvided extends Object
A node that represents a service and its implementation provided by the current module.- Since:
- 0.15.0
-
-
Constructor Summary
Constructors Constructor Description BytecodeModuleProvided(String service, List<String> providers)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectivesModuleProvideddirectives(Format format)Converts this provided service to directives.voidwrite(org.objectweb.asm.ModuleVisitor module)Writes this provided service to the given module visitor.
-
-
-
Method Detail
-
write
public void write(org.objectweb.asm.ModuleVisitor module)
Writes this provided service to the given module visitor.- Parameters:
module- The module visitor
-
directives
public DirectivesModuleProvided directives(Format format)
Converts this provided service to directives.- Parameters:
format- Directive format- Returns:
- Directives for this provided service
-
-