Community
Participate
Working Groups
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:
PRODUCT VERSION: R0.9
We have no request for this currently. Will consider post 2.0
*** Bug 5279 has been marked as a duplicate of this bug. ***
*** Bug 20653 has been marked as a duplicate of this bug. ***
This should either be implemented, or CLASS and INTERFACE should not be mentioned in the Javadocs of SearchPattern#createPattern(String, int, int, int).
Reopen to assign to me...
Fixed and released in HEAD. See bug 82208 for details
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD.