Bug 20653 - Search.cr...Se...Pa.(String ... says it can use CLASS/INTERFACE but doesn't
Summary: Search.cr...Se...Pa.(String ... says it can use CLASS/INTERFACE but doesn't
Status: RESOLVED DUPLICATE of bug 3336
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-19 11:09 EDT by Richard Kulp CLA
Modified: 2002-06-19 11:51 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Kulp CLA 2002-06-19 11:09:37 EDT
The comments for Search.createSearchPattern(String ...) says that one of the 
searchFor constants can be either IJavaSearchConstants.CLASS or 
IJavaSearchConstants.INTERFACE, however the internal code in 
SearchPattern.createPattern(String ...) doesn't test for those two and so you 
can't create a search pattern for them. The other searchFor constants are 
tested for and work.

This is a low priority, in my view. For now I can workaround by using TYPE.
Comment 1 Jerome Lanneluc CLA 2002-06-19 11:51:13 EDT

*** This bug has been marked as a duplicate of 3336 ***