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 Details

    • BytecodeModuleProvided

      public BytecodeModuleProvided(String service, List<String> providers)
      Constructor.
      Parameters:
      service - The internal name of the service
      providers - The internal names of the implementations of the service
  • Method Details

    • 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