## Uses of Interface
javax.lang.model.element.ModuleElement.Directive

Packages that use ModuleElement.Directive
javax.lang.model.element: Interfaces used to model elements of the Java programming language.
javax.lang.model.util: Utilities to assist in the processing of program elements and types.

### Uses of ModuleElement.Directive in javax.lang.model.element

Subinterfaces of ModuleElement.Directive in javax.lang.model.element
`static interface` `ModuleElement.ExportsDirective` An exported package of a module.
`static interface` `ModuleElement.ProvidesDirective` An implementation of a service provided by a module.
`static interface` `ModuleElement.RequiresDirective` A dependency of a module.
`static interface` `ModuleElement.UsesDirective` A reference to a service used by a module.

Methods in javax.lang.model.element that return types with arguments of type ModuleElement.Directive
`List<? extends ModuleElement.Directive>` ModuleElement.`getDirectives()` Returns the directives contained in the declaration of this module.

### Uses of ModuleElement.Directive in javax.lang.model.util

Method parameters in javax.lang.model.util with type arguments of type ModuleElement.Directive
`static List<ModuleElement.ExportsDirective>` ElementFilter.`exportsIn(Iterable<? extends ModuleElement.Directive> directives)` Returns a list of export directives in `directives`.
`static List<ModuleElement.ProvidesDirective>` ElementFilter.`providesIn(Iterable<? extends ModuleElement.Directive> directives)` Returns a list of provides directives in `directives`.
`static List<ModuleElement.RequiresDirective>` ElementFilter.`requiresIn(Iterable<? extends ModuleElement.Directive> directives)` Returns a list of requires directives in `directives`.
`static List<ModuleElement.UsesDirective>` ElementFilter.`usesIn(Iterable<? extends ModuleElement.Directive> directives)` Returns a list of uses directives in `directives`.