public interface CompilationUnit extends Model
[JLS3:7.3] Compilation Units
Modifier and Type | Method and Description |
---|---|
List<? extends Comment> |
getComments()
Returns the comments.
|
List<? extends ImportDeclaration> |
getImportDeclarations()
Returns the import declarations.
|
PackageDeclaration |
getPackageDeclaration()
Returns the package declaration.
|
List<? extends TypeDeclaration> |
getTypeDeclarations()
Returns the type declarations.
|
accept, equals, findModelTrait, getModelKind, hashCode, putModelTrait
PackageDeclaration getPackageDeclaration()
null
if the compilation unit is on the default packageList<? extends ImportDeclaration> getImportDeclarations()
List<? extends TypeDeclaration> getTypeDeclarations()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.