Community
Participate
Working Groups
As described in this StackOverflow question https://stackoverflow.com/questions/5185480/how-to-refactor-variable-type-in-eclipse/49480340?noredirect=1#comment96089835_49480340 1)I want to refactor code like this: int x=4; int y=x; System.out.println(y); How can i do this automatically in Eclipse so x's type promotion to long would cause dependent variables to change their types also: long x=4; long y=x; System.out.println(y); ? 2)Let's say we have the below code : int x=4; public void setX(int newX){ return x; } public int getX(){ return x; } I want when changing the type of (x) from int to long then automatically getters and setters to get updating based on the new type (long) so it becomes : long x=4; public void setX(long newX){ return x; } public long getX(){ return x; } Currently i have to manually go and do it .
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
Especially for type members this would be very helpful feature