Uses of Class
org.eclipse.jdt.core.dom.CompilationUnit

Packages that use CompilationUnit
org.eclipse.jdt.core   
org.eclipse.jdt.core.compiler   
org.eclipse.jdt.core.dom   
org.eclipse.jdt.core.dom.rewrite   
org.eclipse.jdt.core.util   
org.eclipse.jdt.internal.core   
org.eclipse.jdt.internal.core.dom   
org.eclipse.jdt.internal.core.dom.rewrite   
org.eclipse.jdt.internal.core.util   
 

Uses of CompilationUnit in org.eclipse.jdt.core
 

Methods in org.eclipse.jdt.core that return CompilationUnit
 CompilationUnit IJavaElementDelta.getCompilationUnitAST()
          Returns the compilation unit AST created by the last reconcile operation on this delta's element.
 CompilationUnit ICompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, boolean enableStatementsRecovery, WorkingCopyOwner owner, IProgressMonitor monitor)
          Reconciles the contents of this working copy, sends out a Java delta notification indicating the nature of the change of the working copy since the last time it was either reconciled or made consistent (IOpenable.makeConsistent(IProgressMonitor)), and returns a compilation unit AST if requested.
 CompilationUnit ICompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, WorkingCopyOwner owner, IProgressMonitor monitor)
          Reconciles the contents of this working copy, sends out a Java delta notification indicating the nature of the change of the working copy since the last time it was either reconciled or made consistent (IOpenable.makeConsistent(IProgressMonitor)), and returns a compilation unit AST if requested.
 CompilationUnit ICompilationUnit.reconcile(int astLevel, int reconcileFlags, WorkingCopyOwner owner, IProgressMonitor monitor)
          Reconciles the contents of this working copy, sends out a Java delta notification indicating the nature of the change of the working copy since the last time it was either reconciled or made consistent (IOpenable.makeConsistent(IProgressMonitor)), and returns a compilation unit AST if requested.
 

Uses of CompilationUnit in org.eclipse.jdt.core.compiler
 

Methods in org.eclipse.jdt.core.compiler that return CompilationUnit
 CompilationUnit ReconcileContext.getAST3()
          Deprecated. JLS3 has been deprecated. This method has been replaced by ReconcileContext.getAST4() which returns an AST with JLS4 level.
 CompilationUnit ReconcileContext.getAST4()
          Returns a resolved AST with JLS4 level.
 

Uses of CompilationUnit in org.eclipse.jdt.core.dom
 

Methods in org.eclipse.jdt.core.dom that return CompilationUnit
static CompilationUnit AST.convertCompilationUnit(int level, CompilationUnitDeclaration compilationUnitDeclaration, char[] source, java.util.Map options, boolean isResolved, CompilationUnit workingCopy, int reconcileFlags, IProgressMonitor monitor)
          Deprecated. Use org.eclipse.jdt.core.dom.AST.convertCompilationUnit(int, CompilationUnitDeclaration, Map, boolean, CompilationUnit, int, IProgressMonitor) instead
static CompilationUnit AST.convertCompilationUnit(int level, CompilationUnitDeclaration compilationUnitDeclaration, java.util.Map options, boolean isResolved, CompilationUnit workingCopy, int reconcileFlags, IProgressMonitor monitor)
          Internal method.
 CompilationUnit AST.newCompilationUnit()
          Creates an unparented compilation unit node owned by this AST.
static CompilationUnit AST.parseCompilationUnit(char[] source)
          Deprecated. Use ASTParser instead.
static CompilationUnit AST.parseCompilationUnit(char[] source, java.lang.String unitName, IJavaProject project)
          Deprecated. Use ASTParser instead.
static CompilationUnit AST.parseCompilationUnit(IClassFile classFile, boolean resolveBindings)
          Deprecated. Use ASTParser instead.
static CompilationUnit AST.parseCompilationUnit(ICompilationUnit unit, boolean resolveBindings)
          Deprecated. Use ASTParser instead.
 

Methods in org.eclipse.jdt.core.dom with parameters of type CompilationUnit
 void ASTRequestor.acceptAST(ICompilationUnit source, CompilationUnit ast)
          Accepts an AST corresponding to the compilation unit.
 void FileASTRequestor.acceptAST(java.lang.String sourceFilePath, CompilationUnit ast)
          Accepts an AST corresponding to the compilation unit.
 void ASTVisitor.endVisit(CompilationUnit node)
          End of visit the given type-specific AST node.
 boolean ASTMatcher.match(CompilationUnit node, java.lang.Object other)
          Returns whether the given node and the other object match.
 boolean ASTVisitor.visit(CompilationUnit node)
          Visits the given type-specific AST node.
 

Uses of CompilationUnit in org.eclipse.jdt.core.dom.rewrite
 

Methods in org.eclipse.jdt.core.dom.rewrite with parameters of type CompilationUnit
static ImportRewrite ImportRewrite.create(CompilationUnit astRoot, boolean restoreExistingImports)
          Creates a ImportRewrite from a an AST (CompilationUnit).
 

Uses of CompilationUnit in org.eclipse.jdt.core.util
 

Methods in org.eclipse.jdt.core.util with parameters of type CompilationUnit
static TextEdit CompilationUnitSorter.sort(CompilationUnit unit, java.util.Comparator comparator, int options, TextEditGroup group, IProgressMonitor monitor)
          Reorders the declarations in the given compilation unit according to the specified comparator.
 

Uses of CompilationUnit in org.eclipse.jdt.internal.core
 

Fields in org.eclipse.jdt.internal.core declared as CompilationUnit
 CompilationUnit ReconcileWorkingCopyOperation.ast
           
protected  CompilationUnit CreateElementInCUOperation.cuAST
          The compilation unit AST used for this operation
 

Methods in org.eclipse.jdt.internal.core that return CompilationUnit
 CompilationUnit JavaElementDelta.getCompilationUnitAST()
           
 CompilationUnit ReconcileWorkingCopyOperation.makeConsistent(CompilationUnit workingCopy)
           
 CompilationUnit CompilationUnit.makeConsistent(int astLevel, boolean resolveBindings, int reconcileFlags, java.util.HashMap problems, IProgressMonitor monitor)
           
protected  CompilationUnit CreateElementInCUOperation.parse(ICompilationUnit cu)
           
 CompilationUnit CompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, boolean enableStatementsRecovery, WorkingCopyOwner workingCopyOwner, IProgressMonitor monitor)
           
 CompilationUnit CompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, WorkingCopyOwner workingCopyOwner, IProgressMonitor monitor)
           
 CompilationUnit CompilationUnit.reconcile(int astLevel, int reconcileFlags, WorkingCopyOwner workingCopyOwner, IProgressMonitor monitor)
           
 

Methods in org.eclipse.jdt.internal.core with parameters of type CompilationUnit
 TextEdit SortElementsOperation.calculateEdit(CompilationUnit unit, TextEditGroup group)
          Calculates the required text edits to sort the unit
 void JavaElementDelta.changedAST(CompilationUnit changedAST)
           
 ASTNode SourceField.findNode(CompilationUnit ast)
           
 ASTNode SourceRefElement.findNode(CompilationUnit ast)
          Returns the ASTNode that corresponds to this JavaElement or null if there is no corresponding node.
 ASTNode JavaElement.findNode(CompilationUnit ast)
          Returns the ASTNode that corresponds to this JavaElement or null if there is no corresponding node.
 

Uses of CompilationUnit in org.eclipse.jdt.internal.core.dom
 

Methods in org.eclipse.jdt.internal.core.dom with parameters of type CompilationUnit
 boolean NaiveASTFlattener.visit(CompilationUnit node)
           
 

Uses of CompilationUnit in org.eclipse.jdt.internal.core.dom.rewrite
 

Methods in org.eclipse.jdt.internal.core.dom.rewrite with parameters of type CompilationUnit
 boolean ASTRewriteAnalyzer.visit(CompilationUnit node)
           
 boolean ASTRewriteFlattener.visit(CompilationUnit node)
           
 

Constructors in org.eclipse.jdt.internal.core.dom.rewrite with parameters of type CompilationUnit
ImportRewriteAnalyzer(ICompilationUnit cu, CompilationUnit root, java.lang.String[] importOrder, int threshold, int staticThreshold, boolean restoreExistingImports, boolean useContextToFilterImplicitImports)
           
 

Uses of CompilationUnit in org.eclipse.jdt.internal.core.util
 

Constructors in org.eclipse.jdt.internal.core.util with parameters of type CompilationUnit
DOMFinder(CompilationUnit ast, SourceRefElement element, boolean resolveBinding)