Community
Participate
Working Groups
1. Xtend code: class Foo { String lalala def bar(String lalala2) { lalala // the reference to the field 'lalala' } } 2. Rename the argument lalala2 to lalala. 3. Rename refactoring will be completed without errors and produces the following code: class Foo { String lalala def bar(String lalala) { lalala // the reference to the argument 'lalala' } } 4. The reference inside the 'bar' method points to the argument instead of the field. Rename refactoring should fix affected references or at least provides an error. In that case a refactored code could look like: class Foo { String lalala def bar(String lalala) { this.lalala // still the reference to the field 'lalala' } }