Package spoon.reflect.cu
Interface CompilationUnit
-
- All Superinterfaces:
Cloneable
,CtCompilationUnit
,CtElement
,CtQueryable
,CtVisitable
,FactoryAccessor
,Serializable
,SourcePositionHolder
- All Known Implementing Classes:
CompilationUnitImpl
,NoSourcePosition.NullCompilationUnit
@Deprecated public interface CompilationUnit extends CtCompilationUnit
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, setPosition
-
Methods 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, updateAllParentsBelow
-
Methods inherited from interface spoon.reflect.visitor.chain.CtQueryable
filterChildren, map, map
-
Methods inherited from interface spoon.reflect.visitor.CtVisitable
accept
-
Methods inherited from interface spoon.processing.FactoryAccessor
getFactory, setFactory
-
-