Community
Participate
Working Groups
Build Identifier: M20090917-0800 If I'm working with an unknown variable in a method, and do quick assist... on it, I'm presented with options including Create parameter. This is good, but using that assist simply changes the method signature without doing the full 'change method signature' type process, which includes changing all the callers of this method. I'd be ok with it simply adding ', newVariableName' to every caller, but it'd be even better if it could present me with a way of specifying a default value for the new parameter. Reproducible: Always Steps to Reproduce: 1. Create a method A with no arguments 2. Create a method B that calls method A 3. In the body of A, insert the line 'int x = y;' 4. Use quick assist to 'create parameter 'y'' 5. See that method B doesn't compile because the no arg method signature no longer exists.
*** This bug has been marked as a duplicate of bug 160212 ***