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 | Method and Description |
---|---|
ModuleElement |
ModuleElement.RequiresDirective.getDependency()
Returns the module that is required
|
Modifier and Type | Method and Description |
---|---|
List<? extends ModuleElement> |
ModuleElement.ExportsDirective.getTargetModules()
Returns the specific modules to which the package is being exported,
or null, if the package is exported to all modules which
have readability to this module.
|
Modifier and Type | Method and Description |
---|---|
R |
ElementVisitor.visitModule(ModuleElement e,
P p)
Visits a module element.
|
Modifier and Type | Method and Description |
---|---|
ModuleElement |
Elements.getModuleElement(CharSequence name)
Returns a module element given its fully qualified name.
|
ModuleElement |
Elements.getModuleOf(Element type)
Returns the module of an element.
|
Modifier and Type | Method and Description |
---|---|
static List<ModuleElement> |
ElementFilter.modulesIn(Iterable<? extends Element> elements)
Returns a list of modules in
elements . |
static Set<ModuleElement> |
ElementFilter.modulesIn(Set<? extends Element> elements)
Returns a set of modules in
elements . |
Modifier and Type | Method and Description |
---|---|
PackageElement |
Elements.getPackageElement(ModuleElement module,
CharSequence name)
Returns a package given its fully qualified name, as seen from the given module.
|
TypeElement |
Elements.getTypeElement(ModuleElement module,
CharSequence name)
Returns a type element given its canonical name, as seen from the given module.
|
R |
AbstractElementVisitor6.visitModule(ModuleElement e,
P p)
Deprecated.
Visits a module element.
|
abstract R |
AbstractElementVisitor9.visitModule(ModuleElement t,
P p)
Visits a
ModuleElement in a manner defined by a
subclass. |
R |
ElementKindVisitor9.visitModule(ModuleElement e,
P p)
Visits a
ModuleElement by calling
defaultAction . |
R |
ElementScanner9.visitModule(ModuleElement e,
P p)
Visits a
ModuleElement by scanning the enclosed
elements. |
R |
SimpleElementVisitor9.visitModule(ModuleElement e,
P p)
Visits a
ModuleElement by calling
defaultAction . |
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-internal+0-2016-08-31-194618.buildd.src