You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Petr Miksik (Jira)" <ji...@apache.org> on 2020/04/29 15:12:00 UTC

[jira] [Created] (NETBEANS-4274) Refactoring of class member names in Java

Petr Miksik created NETBEANS-4274:
-------------------------------------

             Summary: Refactoring of class member names in Java
                 Key: NETBEANS-4274
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4274
             Project: NetBeans
          Issue Type: Bug
          Components: java - Refactoring
    Affects Versions: 11.2, 11.1, 11.0, 10.0, 9.0, 8.2, 11.3
            Reporter: Petr Miksik


Class member name refactoring does not work under this specific condition:
{code}
class X {
  int i;
}

X x = new X();
String newName = Integer.toString(x.i);
{code}

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:

{code}
String newName = Integer.toString(x.X.this.newName);
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists