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 promoti
IntelliJ has this feature (refactor->type migration), but unfortunately, Eclipse doesn't have it yet. I hope Eclipse will add it soon.