|
|
|
|
Uses of Class org.eclipse.jdt.core.dom.CompilationUnit
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. |
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)
Deprecated. Use org.eclipse.jdt.core.dom.AST.convertCompilationUnit(int, CompilationUnitDeclaration, Map, boolean, CompilationUnit, int, IProgressMonitor) instead
|
static
CompilationUnit
|
AST.
convertCompilationUnit
(int level,
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration compilationUnitDeclaration,
Map options,
boolean isResolved,
org.eclipse.jdt.internal.core.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,
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.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. |
Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.
|
|
|