DirectiveTree
, Tree
public interface ExportsTree extends DirectiveTree
exports package-name; exports package-name to module-name;
Modifier and Type | Method | Description |
---|---|---|
ExpressionTree |
getExportName() |
Returns the name of the package to be exported.
|
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 getExportName()
List<? extends ExpressionTree> getModuleNames()
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b139-1