Bug 156177 - [search] interfaces and annotations could be found with only one requets of searchAllTypeName
Summary: [search] interfaces and annotations could be found with only one requets of s...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.3 M2   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2006-09-05 06:34 EDT by David Audel CLA
Modified: 2006-09-18 10:05 EDT (History)
0 users

See Also:


Attachments
Proposed fix (12.55 KB, patch)
2006-09-05 06:38 EDT, David Audel CLA
no flags Details | Diff
New proposed patch (33.24 KB, patch)
2006-09-07 07:31 EDT, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Audel CLA 2006-09-05 06:34:38 EDT
It would be usefull to be able to found interfaces and annotations with only one request of searchAllTypeName as for classes and interfaces.

I need this API to optimize some behaviors of code assist.
Comment 1 David Audel CLA 2006-09-05 06:38:14 EDT
Created attachment 49392 [details]
Proposed fix

I propose a patch to add this behavior. I added the same code as for CLASS_AND_ENUM.
Comment 2 Frederic Fusier CLA 2006-09-07 07:31:16 EDT
Created attachment 49594 [details]
New proposed patch

Fix one minor issue in previous patch + refactor&clean some code + add test case in JavaSearchBugTests.
Comment 3 Frederic Fusier CLA 2006-09-07 08:56:27 EDT
Released for 3.3 M2 in HEAD stream.
Comment 4 David Audel CLA 2006-09-18 10:05:56 EDT
Verified for 3.3 M2 using build I20060918-0010.