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);
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…