Community
Participate
Working Groups
Steps: 1. Create the following (incorrect) java class: public class A { public static A show( int i ) { return new A(); } public void show( int i ) { } } 2. select the static "show( int i )" method 3. Do Refactor -> Rename (or Alt+Shift+R) Observed: "Rename Type" , New Name = "A" Build: 200405280010 Expected: "Rename Method", New Name = "show"
The problem here is that the type A has to method show resulting in the fact that the CU can't be properly parsed. We then default back to the type. Won't fix.
Reopening since analysis wasn't correct.
Doing a code resolve with the cursor positioned at sh<cursor>ow( int i ) returns the type A as a result. Moving to JDT/Core.
Cannot reproduce using RC3 build. Please set as VERIFIED if you agree or reopen the bug, thx
Yes, really works in RC3 Really thanx :-)