Community
Participate
Working Groups
add to allowable searchFor IJavaSearchConstants.ENUM : IIndexConstants.ENUM_SUFFIX; IJavaSearchConstants.ANNOTATION_TYPE clarify TYPES to include anotations and enums
API constants are already there => there's no API change to fix this bug. Change target to M7
In fact there will be API changes which are discussed using bug 88219
*** Bug 89735 has been marked as a duplicate of this bug. ***
Created attachment 20369 [details] Patch to implement this functionality With this functionality, user can now search for specific types using string pattern as classes, interfaces, enumerations or annotation. Authorized mixed search are: class and interfaces, class and enumerations, all types. Corresponding searchFor parameter values while creating string pattern are: - IJavaSearchConstants.CLASS - IJavaSearchConstants.INTERFACE - IJavaSearchConstants.ENUM - IJavaSearchConstants.ANNOTATION_TYPE - IJavaSearchConstants.CLASS_AND_INTERFACE - IJavaSearchConstants.CLASS_AND_ENUM This fix also covers implementation for bug 3336.
Patch released in HEAD. [jdt-core-internal] Test cases added in JavaSearchBugsTests
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD.