Uses of Interface
javax.lang.model.element.ModuleElement.Directive
Package
Description
Interfaces used to model elements of the Java programming language.
Utilities to assist in the processing of
program elements and
types.
-
Uses of ModuleElement.Directive in javax.lang.model.element
Modifier and TypeInterfaceDescriptionstatic interface
An exported package of a module.static interface
An opened package of a module.static interface
An implementation of a service provided by a module.static interface
A dependency of a module.static interface
A reference to a service used by a module.Modifier and TypeMethodDescriptionUnknownDirectiveException.getUnknownDirective()
Returns the unknown directive.Modifier and TypeMethodDescriptionList
<? extends ModuleElement.Directive> ModuleElement.getDirectives()
Returns the directives contained in the declaration of this module.Modifier and TypeMethodDescriptiondefault R
ModuleElement.DirectiveVisitor.visit
(ModuleElement.Directive d) Visits any directive as if by passing itself to that directive'saccept
method and passingnull
for the additional parameter.default R
ModuleElement.DirectiveVisitor.visit
(ModuleElement.Directive d, P p) Visits any directive as if by passing itself to that directive'saccept
method.default R
ModuleElement.DirectiveVisitor.visitUnknown
(ModuleElement.Directive d, P p) Visits an unknown directive.ModifierConstructorDescriptionCreates a newUnknownElementException
. -
Uses of ModuleElement.Directive in javax.lang.model.util
Modifier and TypeMethodDescriptiondefault Elements.Origin
Elements.getOrigin
(ModuleElement m, ModuleElement.Directive directive) Returns the origin of the given module directive.Modifier and TypeMethodDescriptionstatic List
<ModuleElement.ExportsDirective> ElementFilter.exportsIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofexports
directives indirectives
.static List
<ModuleElement.OpensDirective> ElementFilter.opensIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofopens
directives indirectives
.static List
<ModuleElement.ProvidesDirective> ElementFilter.providesIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofprovides
directives indirectives
.static List
<ModuleElement.RequiresDirective> ElementFilter.requiresIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofrequires
directives indirectives
.static List
<ModuleElement.UsesDirective> ElementFilter.usesIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofuses
directives indirectives
.