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 236601 Details for
Bug 389787
Expression#resolveTypeBinding returns wrong type for SimpleName inside QualifiedName
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
New patch suggestion
clipboard.txt (text/plain), 1.31 KB, created by
Jesper Moller
on 2013-10-17 10:07:26 EDT
(
hide
)
Description:
New patch suggestion
Filename:
MIME Type:
Creator:
Jesper Moller
Created:
2013-10-17 10:07:26 EDT
Size:
1.31 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >diff --git dom/org/eclipse/jdt/core/dom/Expression.java dom/org/eclipse/jdt/core/dom/Expression.java >index a5b6dab..1bad7df 100644 >--- dom/org/eclipse/jdt/core/dom/Expression.java >+++ dom/org/eclipse/jdt/core/dom/Expression.java >@@ -11,6 +11,7 @@ > * > * Contributors: > * IBM Corporation - initial API and implementation >+ * Jesper Steen Moller - minor JavaDoc for bug 389787 > *******************************************************************************/ > > package org.eclipse.jdt.core.dom; >@@ -110,7 +111,14 @@ > * Note that bindings are generally unavailable unless requested when the > * AST is being built. > * </p> >- * >+ * <p> >+ * Note that the binding returned is based on how the construct is is resolved, >+ * in context. For instance, if the expression <code>obj.field</code> is a field reference >+ * to <code>field</code> inside the class A, the type binding returned for <code>obj</code> would >+ * return a binding for A', even if the declared type of obj was a subclass of A, satisfying >+ * <code>fieldAccess.getExpression().resolveTypeBinding() >+ * == fieldAccess.resolveFieldBinding().getDeclaringClass()</code> >+ * </p> > * @return the binding for the type of this expression, or > * <code>null</code> if the type cannot be resolved > */
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 389787
:
228391
| 236601