Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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