Community
Participate
Working Groups
HEAD SearchEngine.searchAllTypeNames(..) does not find R_CAMEL_CASE_MATCH match without R_PREFIX_MATCH when I search with pattern "HMap". It should find java.util.HashMap. I think the problem is in Index 1.28, line 62: You need to extract the type name from the word. This was not necessary with the old R_CAMELCASE_MATCH, since that one was always a prefix match. To reproduce, apply the patch from bug 190437, open the Open Type dialog, and paste (don't type!) "HMap<".
Fix could be to remove 2 lines from TypeDeclarationPattern: 268 if (this.isCamelCase) break; // camel case doesn't imply prefix 296 matchRule &= ~R_EXACT_MATCH; // no-op
(In reply to comment #1) Nope, would break "H<".
Created attachment 76897 [details] Proposed patch
Released for 3.4M2 in HEAD stream.
Verified for 3.4 M2 using build I20070917-0010.