@Beta public interface CompilationUnit extends AnnotationTarget
| Modifier and Type | Method and Description |
|---|---|
String |
getDocComment() |
Path |
getFilePath()
Returns the file handle for the given compilation unit.
|
String |
getPackageName() |
Iterable<? extends TypeDeclaration> |
getSourceTypeDeclarations() |
findAnnotation, getAnnotationsgetCompilationUnit, getSimpleNameString getPackageName()
String getDocComment()
Iterable<? extends TypeDeclaration> getSourceTypeDeclarations()
TypeDeclarations directly contained in the compilation unit.Copyright © 2015. All Rights Reserved.