Uses of Interface
javax.lang.model.element.ModuleElement
-
Packages that use ModuleElement 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. -
-
Uses of ModuleElement in javax.lang.model.element
Methods in javax.lang.model.element that return ModuleElement Modifier and Type Method Description ModuleElement
ModuleElement.RequiresDirective. getDependency()
Returns the module that is requiredMethods in javax.lang.model.element that return types with arguments of type ModuleElement Modifier and Type Method 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.List<? extends ModuleElement>
ModuleElement.OpensDirective. getTargetModules()
Returns the specific modules to which the package is being open or null, if the package is open all modules which have readability to this module.Methods in javax.lang.model.element with parameters of type ModuleElement Modifier and Type Method Description default R
ElementVisitor. visitModule(ModuleElement e, P p)
Visits a module element. -
Uses of ModuleElement in javax.lang.model.util
Methods in javax.lang.model.util that return ModuleElement Modifier and Type Method Description default ModuleElement
Elements. getModuleElement(CharSequence name)
Returns a module element given its fully qualified name.default ModuleElement
Elements. getModuleOf(Element type)
Returns the module of an element.Methods in javax.lang.model.util that return types with arguments of type ModuleElement Modifier and Type Method Description default Set<? extends ModuleElement>
Elements. getAllModuleElements()
Returns all module elements in the current environment.static List<ModuleElement>
ElementFilter. modulesIn(Iterable<? extends Element> elements)
Returns a list of modules inelements
.static Set<ModuleElement>
ElementFilter. modulesIn(Set<? extends Element> elements)
Returns a set of modules inelements
.Methods in javax.lang.model.util with parameters of type ModuleElement Modifier and Type Method Description default Elements.Origin
Elements. getOrigin(ModuleElement m, ModuleElement.Directive directive)
Returns the origin of the given module directive.default PackageElement
Elements. getPackageElement(ModuleElement module, CharSequence name)
Returns a package given its fully qualified name, as seen from the given module.default 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)
Visits a module element.abstract R
AbstractElementVisitor9. visitModule(ModuleElement t, P p)
Visits aModuleElement
in a manner defined by a subclass.R
ElementKindVisitor9. visitModule(ModuleElement e, P p)
Visits aModuleElement
by callingdefaultAction
.R
ElementScanner9. visitModule(ModuleElement e, P p)
Visits aModuleElement
by scanning the enclosed elements.R
SimpleElementVisitor9. visitModule(ModuleElement e, P p)
Visits aModuleElement
by callingdefaultAction
.
-