Eclipse JDT
Release 3.3

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

Packages that use CompilationUnit
org.eclipse.jdt.core The Java model is the set of classes that model the objects associated with creating, editing, and building a Java program.  
org.eclipse.jdt.core.compiler This package contains compiler associated infrastructure APIs.  
org.eclipse.jdt.core.dom The Java DOM/AST is the set of classes that model the source code of a Java program as a structured document.  
org.eclipse.jdt.core.dom.rewrite The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree.  
org.eclipse.jdt.core.util Provides a set of tools and utilities for manipulating .class files and Java model elements.  
org.eclipse.jdt.ui Application programming interfaces for interaction with the Eclipse Java User Interface.  
org.eclipse.jdt.ui.actions Application programming interfaces for Eclipse Java User Interface specific actions.  
org.eclipse.jdt.ui.text.java Application programming interfaces for interaction with the Eclipse Java User Interface.  
 

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, 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, 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, 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()
          Returns a resolved AST with JLS3 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, org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration compilationUnitDeclaration, char[] source, Map options, boolean isResolved, org.eclipse.jdt.internal.core.CompilationUnit workingCopy, int reconcileFlags, IProgressMonitor monitor)
          Internal method.
static CompilationUnit AST.parseCompilationUnit(ICompilationUnit unit, boolean resolveBindings)
          Deprecated. Use ASTParser instead.
static CompilationUnit AST.parseCompilationUnit(IClassFile classFile, boolean resolveBindings)
          Deprecated. Use ASTParser instead.
static CompilationUnit AST.parseCompilationUnit(char[] source, String unitName, IJavaProject project)
          Deprecated. Use ASTParser instead.
static CompilationUnit AST.parseCompilationUnit(char[] source)
          Deprecated. Use ASTParser instead.
 CompilationUnit AST.newCompilationUnit()
          Creates an unparented compilation unit node owned by this AST.
 

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

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, 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.ui
 

Methods in org.eclipse.jdt.ui with parameters of type CompilationUnit
static ImportRewrite CodeStyleConfiguration.createImportRewrite(CompilationUnit astRoot, boolean restoreExistingImports)
          Returns a ImportRewrite using ImportRewrite.create(CompilationUnit, boolean) and configures the rewriter with the settings as specified in the JDT UI preferences.
 

Uses of CompilationUnit in org.eclipse.jdt.ui.actions
 

Methods in org.eclipse.jdt.ui.actions with parameters of type CompilationUnit
static IWorkspaceRunnable OverrideMethodsAction.createRunnable(CompilationUnit astRoot, ITypeBinding type, IMethodBinding[] methodToOverride, int insertPos, boolean createComments)
          Returns a runnable that creates the method stubs for overridden methods.
static IWorkspaceRunnable AddUnimplementedConstructorsAction.createRunnable(CompilationUnit astRoot, ITypeBinding type, IMethodBinding[] constructorsToOverride, int insertPos, boolean createComments, int visibility, boolean omitSuper)
          Returns a runnable that creates the constructor stubs.
 

Uses of CompilationUnit in org.eclipse.jdt.ui.text.java
 

Methods in org.eclipse.jdt.ui.text.java that return CompilationUnit
 CompilationUnit IInvocationContext.getASTRoot()
          Returns an AST of the compilation unit, possibly only a partial AST focused on the selection offset (see ASTParser.setFocalPosition(int)).
 

Methods in org.eclipse.jdt.ui.text.java with parameters of type CompilationUnit
 ASTNode IProblemLocation.getCoveringNode(CompilationUnit astRoot)
          Convenience method to evaluate the AST node covering this problem.
 ASTNode IProblemLocation.getCoveredNode(CompilationUnit astRoot)
          Convenience method to evaluate the AST node covered by this problem.
 


Eclipse JDT
Release 3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.