8034245: Refactor TopLevel tree node

Added JCPackageDecl to JCTree to store package-level information.

Reviewed-by: jjg, jlahoda
This commit is contained in:
Paul Govereau 2014-04-22 17:07:54 -04:00
parent b349726850
commit 9783b65028
25 changed files with 293 additions and 145 deletions

View file

@ -207,6 +207,12 @@ public interface Tree {
*/
LAMBDA_EXPRESSION(LambdaExpressionTree.class),
/**
* Used for instances of {@link PackageTree}.
* @since 1.9
*/
PACKAGE(PackageTree.class),
/**
* Used for instances of {@link ParenthesizedTree}.
*/