equal
deleted
inserted
replaced
39 */ |
39 */ |
40 @jdk.Exported |
40 @jdk.Exported |
41 public interface CompilationUnitTree extends Tree { |
41 public interface CompilationUnitTree extends Tree { |
42 List<? extends AnnotationTree> getPackageAnnotations(); |
42 List<? extends AnnotationTree> getPackageAnnotations(); |
43 ExpressionTree getPackageName(); |
43 ExpressionTree getPackageName(); |
|
44 |
|
45 /** |
|
46 * Return the PackageTree associated with this compilation unit. |
|
47 * @since 1.9 |
|
48 */ |
|
49 PackageTree getPackage(); |
44 List<? extends ImportTree> getImports(); |
50 List<? extends ImportTree> getImports(); |
45 List<? extends Tree> getTypeDecls(); |
51 List<? extends Tree> getTypeDecls(); |
46 JavaFileObject getSourceFile(); |
52 JavaFileObject getSourceFile(); |
47 |
53 |
48 /** |
54 /** |