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