- All Superinterfaces:
ModuleElement.Directive
- Enclosing interface:
ModuleElement
An opened package of a module.
- Since:
- 9
-
Method Summary
Modifier and TypeMethodDescriptionReturns the package being opened.List
<? extends ModuleElement> 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 declared in interface javax.lang.model.element.ModuleElement.Directive
accept, getKind
-
Method Details
-
getPackage
-
getTargetModules
List<? extends ModuleElement> 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.- Returns:
- the specific modules to which the package is being opened
-