Bug 3336 - SearchEngine doesn't support CLASS and INTERFACE (1GIEPRK)
Summary: SearchEngine doesn't support CLASS and INTERFACE (1GIEPRK)
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 5279 20653 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 22:53 EDT by Jerome Lanneluc CLA
Modified: 2005-05-11 08:56 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2001-10-10 22:53:26 EDT
SearchEngine.createPattern() does not support the IJavaSearchConstants constants
	CLASS and INTERFACE. Providing them for the searchFor argument yields a null
	pattern and the search returns no results.
	It should be possible to create a type pattern using either the IIndexConstants
	CLASS_SUFFIX or INTERFACE_SUFFIX rather than always assuming TYPE_SUFFIX.

NOTES:
Comment 1 DJ Houghton CLA 2001-10-29 17:10:34 EST
PRODUCT VERSION:
	R0.9

Comment 2 Philipe Mulet CLA 2002-03-14 05:05:37 EST
We have no request for this currently. Will consider post 2.0
Comment 3 Jerome Lanneluc CLA 2002-04-09 05:49:30 EDT
*** Bug 5279 has been marked as a duplicate of this bug. ***
Comment 4 Jerome Lanneluc CLA 2002-06-19 11:51:15 EDT
*** Bug 20653 has been marked as a duplicate of this bug. ***
Comment 5 Markus Keller CLA 2004-11-25 06:24:34 EST
This should either be implemented, or CLASS and INTERFACE should not be
mentioned in the Javadocs of SearchPattern#createPattern(String, int, int, int).
Comment 6 Frederic Fusier CLA 2005-04-26 08:54:33 EDT
Reopen to assign to me...
Comment 7 Frederic Fusier CLA 2005-04-26 14:56:10 EDT
Fixed and released in HEAD.

See bug 82208 for details
Comment 8 Maxime Daniel CLA 2005-05-11 08:52:40 EDT
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD.