Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 88997 - [search] Declaration search ignores qualifiers of parameter types
Summary: [search] Declaration search ignores qualifiers of parameter types
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Manoj N Palat CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks: 521243
  Show dependency tree
 
Reported: 2005-03-24 10:09 EST by Markus Keller CLA
Modified: 2020-03-26 18:34 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-03-24 10:09:59 EST
I20050323-1615

- pack/String.java:
package pack;
public class String { }

- pack2/X.java:
package pack2;
public class X {
	public static void foo(String s) { }
	public void foo(pack.String s) { }
}

- Select first foo and press Ctrl+G. The second foo is also found.
Search for declarations in workspace now uses a java element search with
IJavaSearchConstants.IGNORE_DECLARING_TYPE | IJavaSearchConstants.IGNORE_RETURN_TYPE
Comment 1 Frederic Fusier CLA 2005-04-26 08:28:16 EDT
Qualifiers are not ignored, they do no exist in first foo method.
Search engine behaves like this since 2.1 => this is not related to the fact
that search for declarations in wksp now uses new IJavaSearchConstants IGNORE_*
values...).
=> defer
Comment 2 Frederic Fusier CLA 2005-08-05 04:06:34 EDT
Reopen for 3.2
Comment 3 Frederic Fusier CLA 2006-04-04 05:20:03 EDT
Unfortunately have to defer it again. Endgame plan is really short for 3.2...
Comment 4 Frederic Fusier CLA 2007-06-21 10:28:21 EDT
Reopen as LATER is deprecated...
Comment 5 Frederic Fusier CLA 2009-06-25 11:59:04 EDT
Set as P5 bugs which have be unchanged for more than 2 years...
Comment 6 Manoj N Palat CLA 2014-10-23 03:01:08 EDT
Ref bug 431357 comment 17 as well
Comment 7 Manoj N Palat CLA 2017-08-23 00:09:54 EDT
*** Bug 521240 has been marked as a duplicate of this bug. ***
Comment 8 Noopur Gupta CLA 2017-08-23 01:35:27 EDT
Manoj, when are you planning to have a look at this? -- Just to know if should wait for this fix or look for alternate solutions to bug 521243.
Comment 9 Eclipse Genie CLA 2020-03-26 18:34:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.