Community
Participate
Working Groups
refactored (renamed) a field named 'subscribers': private static final Set<SubscriberRecord> subscribers = new SubscriberSet(); (SubscriberRecord and SubscriberSet just some classes i defined) but synchronized block elsewhere in class did NOT get renamed, resulting in errors after the refactoring. synchronization was on 'subscribers'. thanks!
Moving to JDT/Core since renaming a field is implemented by search for all references to the field and textually updating the matches. Assume that the reference is missing in the searchr result.
Can you please attach the source for the 2 classes?
This is a general problem of search with generics... Currently it does not work and this area needs design and implementation. I'm currently working on it and try to provide acceptable minimum solution as soon as possible... (not sure it can be done for M2)
Finally, due to amount of work to make search working for generics, I split it in several bugs. This one will be for fields search only. I will add references to other bugs when they will be created.
See also bug 76641 for types search and bug 76642 for methods/constructors search...
In comment 5, you should read: See also bug 75641 for types search and bug 75642 for methods/constructors search...
Fixed. Search now support paremeterized type fields. [jdt-core-internal] I'll add patch file for this change. Test case added in JavaSearch15Tests
Created attachment 15065 [details] Patch file for org.eclipse.jdt.core project It does not include test cases
Verified for 3.1M3 with build I20041101