Package | Description |
---|---|
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.
|
Modifier and Type | Interface and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
List<? extends ModuleElement.Directive> |
ModuleElement.getDirectives()
Returns the directives contained in the declaration of this module.
|
Modifier and Type | Method and Description |
---|---|
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 . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b134-2