Bug 75642 - [1.5][search] Methods and constructor search does not work with generics
Summary: [1.5][search] Methods and constructor search does not work with generics
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 80084 80194 84524 (view as bug list)
Depends on: 82558
Blocks: 79030 79272 79990
  Show dependency tree
 
Reported: 2004-10-05 10:19 EDT by Frederic Fusier CLA
Modified: 2005-02-15 05:24 EST (History)
6 users (show)

See Also:


Attachments
Patch files for the implementation of this functionality (80.71 KB, application/octet-stream)
2005-01-17 17:57 EST, Frederic Fusier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2004-10-05 10:19:19 EDT
Due to amount of work to make search working for generics, several bugs are
opened to treat this new functionality.
This bug will be for methods and contructors search only.
I will add references to other bugs when they will be created.
Comment 1 Frederic Fusier CLA 2004-10-05 10:20:20 EDT
See also bug 73277 for fields search and bug 76641 for types search...
Comment 2 Frederic Fusier CLA 2004-10-05 12:30:15 EDT
In comment 1, you should read:
See also bug 75641 for types search...
Comment 3 Frederic Fusier CLA 2004-10-07 13:13:14 EDT
*** Bug 75816 has been marked as a duplicate of this bug. ***
Comment 4 Frederic Fusier CLA 2004-11-23 12:31:49 EST
*** Bug 79311 has been marked as a duplicate of this bug. ***
Comment 5 Frederic Fusier CLA 2004-12-04 04:06:20 EST
*** Bug 80194 has been marked as a duplicate of this bug. ***
Comment 6 Frederic Fusier CLA 2004-12-04 04:06:53 EST
*** Bug 80084 has been marked as a duplicate of this bug. ***
Comment 7 Frederic Fusier CLA 2004-12-05 09:04:43 EST
Bug 79311 was not a duplicate of this bug...
Comment 8 Frederic Fusier CLA 2005-01-03 04:41:14 EST
bug 75816 was not a duplicate of this bug...
Comment 9 Frederic Fusier CLA 2005-01-07 12:27:02 EST
*** Bug 80194 has been marked as a duplicate of this bug. ***
Comment 10 Frederic Fusier CLA 2005-01-17 17:52:37 EST
Fixed and released in HEAD.

Search engine is now able to find references and declarations to generic and/or
parameterized methods/constructors.

It supports search using IJavaElement or String patterns.

Note that Search Engine applies match rules SearchPattern.R_ERASURE_MATCH and
SearchPattern.R_EQUIVALENT_MATCH during the matches locations research...

[jdt-core-internal]
Too many changes to be described here... So, I'll attach zipped patch file to
keep a trace of all changes done for this functionality.
Note that 553 new Java Search tests have been added for this new functionality.
However, hence parallel changes have been done on JavaSearchBugsTests, this big
increase of tests does not impact global test time execution:
RunJavaSearchTests:
 - previous version: 558 tests, 78.833 seconds
 - new version:     1011 tests, 66.175 seconds
Comment 11 Frederic Fusier CLA 2005-01-17 17:57:16 EST
Created attachment 17227 [details]
Patch files for the implementation of this functionality

Contains patch for org.eclipse.jdt.core and org.eclipse.jdt.core.tests.model
projects...
Comment 12 David Audel CLA 2005-02-14 12:25:58 EST
Verified in I20050209 + JDT Core v_536 for 3.1M5
Comment 13 Frederic Fusier CLA 2005-02-15 05:24:52 EST
*** Bug 84524 has been marked as a duplicate of this bug. ***