Class 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 Detail

      • 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 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