Community
Participate
Working Groups
Even with bug 124469 comment 6 patch applied, search engine still misses some references in standard annotations. Here are failing tests cases: 1) search for Target references: only reference in Target.class is found although we should get one in SuppressWarnings, Override, etc... 2) search for ElementType.TYPE reference: no occurrence is foud although there's one in SuppressWarning
Created attachment 34774 [details] Patch to fix this issue Problem comes from BinaryIndexer. Test case 1) is due to the fact that method addBinaryStandardAnnotations was missing multiple annotations references in class file. Only last one was indexed. Test case 2) comes from the fact that method addBinaryTargetStandardAnnotation returned before indexing ElementType fields references...
Released in HEAD. Test cases will be added later...
Verified for 3.2 M5 using build I20060215-0800 + JDT/Core HEAD