Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1585

[Type Migration] Add ability to refactor the type of a member variable.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • java - Refactoring
    • None

    Description

      A very helpful refactoring would be the ability to refactor a member variable's type such that all of it's uses within the class are automatically re-typed as well.

      I understand this is a very difficult refactoring due to the internal analysis of the class; however, starting with parameter types for setters/getters, type casts and the variable declaration itself is a great first step.

      Intellij Community have this, if someone want to try to find out how they do it the source can be found here: https://github.com/JetBrains/intellij-community .

      Here is a explanation of Type Migration from Jetbrains, http://www.jetbrains.com/help/idea/2016.2/type-migration.html:

      This is copy of Bug 192580

      Attachments

        Activity

          People

            Unassigned Unassigned
            Saljack Tomáš Poledný
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: