Community
Participate
Working Groups
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.
*** This bug has been marked as a duplicate of 3336 ***