Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 155429 Details for
Bug 130000
[API] ReconcileContext API: Does getAST3 return AST with bindings?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_130000.txt (text/plain), 1.83 KB, created by
Olivier Thomann
on 2010-01-06 12:20:09 EST
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2010-01-06 12:20:09 EST
Size:
1.83 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/core/compiler/ReconcileContext.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/compiler/ReconcileContext.java,v >retrieving revision 1.16 >diff -u -r1.16 ReconcileContext.java >--- model/org/eclipse/jdt/core/compiler/ReconcileContext.java 26 Nov 2009 16:20:02 -0000 1.16 >+++ model/org/eclipse/jdt/core/compiler/ReconcileContext.java 6 Jan 2010 17:23:36 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2005, 2009 IBM Corporation and others. >+ * Copyright (c) 2005, 2010 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -118,7 +118,24 @@ > public boolean isResolvingBindings() { > return this.operation.resolveBindings; > } >- >+/** >+ * Returns whether the reconcile operation has statement recovery enabled. >+ * >+ * @return whether the reconcile operation has statement recovery enabled >+ * @since 3.6 >+ */ >+public boolean hasStatementRecovery() { >+ return (this.operation.reconcileFlags & ICompilationUnit.ENABLE_STATEMENTS_RECOVERY) != 0; >+} >+/** >+ * Returns whether the reconcile operation has ignore method bodies enabled. >+ * >+ * @return whether the reconcile operation has ignore method bodies enabled >+ * @since 3.6 >+ */ >+public boolean hasIgnoreMethodBodies() { >+ return (this.operation.reconcileFlags & ICompilationUnit.IGNORE_METHOD_BODIES) != 0; >+} > /** > * Returns the delta describing the change to the working copy being reconciled. > * Returns <code>null</code> if there is no change.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 130000
:
155429
|
155471