Interface ModuleElement.ProvidesDirective
- All Superinterfaces:
ModuleElement.Directive
- Enclosing interface:
ModuleElement
An implementation of a service provided by a module.
- Since:
- 9
-
Method Summary
Modifier and TypeMethodDescriptionList
<? extends TypeElement> Returns the implementations of the service being provided.Returns the service being provided.Methods declared in interface ModuleElement.Directive
accept, getKind
Modifier and TypeMethodDescription<R,
P> R accept
(ModuleElement.DirectiveVisitor<R, P> v, P p) Applies a visitor to this directive.getKind()
Returns thekind
of this directive.
-
Method Details
-
getService
-
getImplementations
List<? extends TypeElement> getImplementations()Returns the implementations of the service being provided.- Returns:
- the implementations of the service being provided
-