Community
Participate
Working Groups
public class TestMoveToFile { class InnerClass{ InnerClass(TestMoveToFile TestMoveToFile.this){ } } } Invoke "Move Type to New File" refactoring action on InnerClass. The new type is created with compiler error as the constructor still refers to the old receiver parameter.
Created attachment 229486 [details] Patch. During the refactoring "Move Type To New File", the Inner Class constructor's receiver parameters are removed as receiver parameter cannot be part of a normal class constructor. If any of the instance method in the inner class have receiver parameter, then it remains as it is.
The issue is handled as part of the fix for bug 405270. *** This bug has been marked as a duplicate of bug 405270 ***