Bug 156177

Summary: [search] interfaces and annotations could be found with only one requets of searchAllTypeName
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 Keywords: api
Version: 3.3   
Target Milestone: 3.3 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix
none
New proposed patch none

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.