@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, getAnnotations
getCompilationUnit, getSimpleName
java.lang.String getPackageName()
java.lang.String getDocComment()
java.lang.Iterable<? extends TypeDeclaration> getSourceTypeDeclarations()
TypeDeclaration
s directly contained in the compilation unit.