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 165905 Details for
Bug 309966
IType#getKey() does not work for unresolved local ITypes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Complement
patch_309966_2.txt (text/plain), 3.18 KB, created by
Olivier Thomann
on 2010-04-23 09:11:53 EDT
(
hide
)
Description:
Complement
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2010-04-23 09:11:53 EDT
Size:
3.18 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/core/IField.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IField.java,v >retrieving revision 1.21 >diff -u -r1.21 IField.java >--- model/org/eclipse/jdt/core/IField.java 27 Jun 2008 16:04:01 -0000 1.21 >+++ model/org/eclipse/jdt/core/IField.java 23 Apr 2010 13:10:54 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2008 IBM Corporation and others. >+ * Copyright (c) 2000, 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 >@@ -95,13 +95,16 @@ > */ > String getElementName(); > /** >- * Returns the binding key for this field. A binding key is a key that uniquely >- * identifies this field. It allows access to generic info for parameterized >- * fields. >+ * Returns the binding key for this field only if the given field is {@link #isResolved() resolved}. >+ * A binding key is a key that uniquely identifies this field. It allows access to generic info >+ * for parameterized fields. > * >+ * <p>If the given field is not resolved, the returned key is simply the java element's key. >+ * </p> > * @return the binding key for this field > * @see org.eclipse.jdt.core.dom.IBinding#getKey() > * @see BindingKey >+ * @see #isResolved() > * @since 3.1 > */ > String getKey(); >Index: model/org/eclipse/jdt/core/IMethod.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IMethod.java,v >retrieving revision 1.32 >diff -u -r1.32 IMethod.java >--- model/org/eclipse/jdt/core/IMethod.java 27 Jun 2008 16:04:01 -0000 1.32 >+++ model/org/eclipse/jdt/core/IMethod.java 23 Apr 2010 13:10:54 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2008 IBM Corporation and others. >+ * Copyright (c) 2000, 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 >@@ -101,13 +101,16 @@ > */ > int getNumberOfParameters(); > /** >- * Returns the binding key for this method. A binding key is a key that uniquely >- * identifies this method. It allows access to generic info for parameterized >- * methods. >+ * Returns the binding key for this method only if the given method is {@link #isResolved() resolved}. >+ * A binding key is a key that uniquely identifies this method. It allows access >+ * to generic info for parameterized methods. > * >+ * <p>If the given method is not resolved, the returned key is simply the java element's key. >+ * </p> > * @return the binding key for this method > * @see org.eclipse.jdt.core.dom.IBinding#getKey() > * @see BindingKey >+ * @see #isResolved() > * @since 3.1 > */ > String getKey();
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 309966
:
165863
| 165905