Package spoon.reflect.cu
Interface CompilationUnit
- All Superinterfaces:
Cloneable,CtCompilationUnit,CtElement,CtQueryable,CtVisitable,FactoryAccessor,Serializable,SourcePositionHolder
- All Known Implementing Classes:
CompilationUnitImpl,NoSourcePosition.NullCompilationUnit
Deprecated.
Defines a compilation unit. In Java, a compilation unit can contain only one
public type declaration and other secondary types declarations (not public).
-
Nested Class Summary
Nested classes/interfaces inherited from interface spoon.reflect.declaration.CtCompilationUnit
CtCompilationUnit.UNIT_TYPE -
Method Summary
Methods inherited from interface spoon.reflect.declaration.CtCompilationUnit
addDeclaredType, addDeclaredTypeReference, clone, getBinaryFiles, getDeclaredModule, getDeclaredModuleReference, getDeclaredPackage, getDeclaredTypeReferences, getDeclaredTypes, getFile, getImports, getLineSeparatorPositions, getMainType, getOriginalSourceCode, getPackageDeclaration, getParent, getUnitType, setDeclaredModule, setDeclaredModuleReference, setDeclaredPackage, setDeclaredTypeReferences, setDeclaredTypes, setFile, setImports, setLineSeparatorPositions, setPackageDeclaration, setParent, setPositionMethods inherited from interface spoon.reflect.declaration.CtElement
addAnnotation, addComment, asIterable, delete, descendantIterator, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getMetadata, getMetadataKeys, getOriginalSourceFragment, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hasParent, isImplicit, isParentInitialized, prettyprint, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setComments, setDocComment, setImplicit, setPositions, setValueByRole, toString, toStringDebug, updateAllParentsBelowMethods inherited from interface spoon.reflect.visitor.chain.CtQueryable
filterChildren, map, mapMethods inherited from interface spoon.reflect.visitor.CtVisitable
acceptMethods inherited from interface spoon.processing.FactoryAccessor
getFactory, setFactory