DirectiveTree
, Tree
public interface ExportsTree extends DirectiveTree
exports package-name; exports package-name to module-name;
Modifier and Type | Method | Description |
---|---|---|
List<? extends ExpressionTree> |
getModuleNames() |
Returns the names of the modules to which the package is exported,
or null, if the package is exported to all modules.
|
ExpressionTree |
getPackageName() |
Returns the name of the package to be exported.
|
ExpressionTree getPackageName()
List<? extends ExpressionTree> getModuleNames()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b161-1