DirectiveTree
, Tree
public interface ExportsTree extends DirectiveTree
exports package-name; exports package-name to module-name;
Modifier and Type | Method and 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-internal+0-2016-09-03-162606.buildd.src