Community
Participate
Working Groups
Changing a method (eg adding a parameter) via Quick fix will not actually refactor it like Refactor > Change method signature and thus resulting in cases where a parameter was added to satisfy one call but not the others that don't implement those changes (eg a new parameter). So, take this code for example: public static void main(String args[]) { doStuff("Play", 25); doStuff("Playf"); } static void doStuff(String s) { System.out.println(s); } The first call will show an error and will have a quick fix named "Change method 'doStuff(String)': add parameter 'int'". Upon applying it, the first call will be satisfied but the latter will now have an error with the opposite quick fix (removing the parameter) so the only sure way to actually apply such quick-fixes is to manually go to that method and refactor it with "Change method signature". So, could there be at least a setting to open the "Change method signature" window on such changes?
*** This bug has been marked as a duplicate of bug 160212 ***