Uses of Interface
javax.lang.model.element.ModuleElement
Packages that use ModuleElement
包
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 in javax.lang.model.element
Methods in javax.lang.model.element that return ModuleElement修饰符和类方法DescriptionModuleElement.RequiresDirective.getDependency()Returns the module that is required.Methods in javax.lang.model.element that return types with arguments of type ModuleElement修饰符和类方法DescriptionList<? extends ModuleElement> ModuleElement.ExportsDirective.getTargetModules()Returns the specific modules to which the package is being exported, ornull, 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 ornull, if the package is open all modules which have readability to this module.Methods in javax.lang.model.element with parameters of type ModuleElement修饰符和类方法Descriptiondefault RElementVisitor.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修饰符和类方法Descriptiondefault ModuleElementElements.getModuleElement(CharSequence name) Returns a module element given its fully qualified name.default ModuleElementElements.getModuleOf(Element e) Returns the module of an element.Methods in javax.lang.model.util that return types with arguments of type ModuleElement修饰符和类方法Descriptiondefault Set<? extends ModuleElement> Elements.getAllModuleElements()Returns all module elements in the current environment.static List<ModuleElement> Returns a list of modules inelements.static Set<ModuleElement> Returns a set of modules inelements.Methods in javax.lang.model.util with parameters of type ModuleElement修饰符和类方法Descriptiondefault Elements.OriginElements.getOrigin(ModuleElement m, ModuleElement.Directive directive) Returns the origin of the given module directive.default PackageElementElements.getPackageElement(ModuleElement module, CharSequence name) Returns a package given its fully qualified name, as seen from the given module.default TypeElementElements.getTypeElement(ModuleElement module, CharSequence name) Returns a type element given its canonical name, as seen from the given module.default booleanElements.isAutomaticModule(ModuleElement module) Returnstrueif the module element is an automatic module,falseotherwise.AbstractElementVisitor6.visitModule(ModuleElement e, P p) Visits a module element.abstract RAbstractElementVisitor9.visitModule(ModuleElement e, P p) Visits a module element.ElementKindVisitor9.visitModule(ModuleElement e, P p) Visits a module element.ElementScanner9.visitModule(ModuleElement e, P p) Visits a module element.SimpleElementVisitor9.visitModule(ModuleElement e, P p) Visits a module element.