- All Superinterfaces:
- ModuleElement.Directive
- Enclosing interface:
- ModuleElement
An exported package of a module.
- Since:
- 9
- 
Method SummaryModifier and TypeMethodDescriptionReturns the package being exported.List<? extends ModuleElement> 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.Methods declared in interface javax.lang.model.element.ModuleElement.Directiveaccept, getKind
- 
Method Details- 
getPackagePackageElement getPackage()Returns the package being exported.- Returns:
- the package being exported
 
- 
getTargetModulesList<? extends ModuleElement> 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.- Returns:
- the specific modules to which the package is being exported
 
 
-