Interface ModuleElement.ProvidesDirective

All Superinterfaces:
ModuleElement.Directive
Enclosing interface:
ModuleElement

public static interface ModuleElement.ProvidesDirective
extends ModuleElement.Directive
An implementation of a service provided by a module.
Since:
9
  • Method Details

    • getService

      TypeElement getService()
      Returns the service being provided.
      Returns:
      the service being provided
    • getImplementations

      List<? extends TypeElement> getImplementations()
      Returns the implementations of the service being provided.
      Returns:
      the implementations of the service being provided