Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
8.2, 11.0, 12.0, 12.1, 12.2
Description
Class member name refactoring does not work under this specific condition:
class X { int i; } X x = new X(); String newName = Integer.toString(x.i);
If you try to refactor name of the member x.i to the name of the variable on the left side (called newName), you get the following result:
String newName = Integer.toString(x.X.this.newName);
Attachments
Issue Links
- links to