Bug 77439 Pull up: strange change tree [refactoring] [pull up]
I200410260800 package p1; public class Super { } ------------------------------------------------------------ package p1; import p2.B; public class A extends Super { int field= B.VALUE; } ------------------------------------------------------------ package p2; public class B { public static final int VALUE= 10; } Pull up field from A to Super and press preview. Observe that the change tree for A only contains an entry update imports. There should be one for removing/moving field as well.
org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/A.java
package p;
import java.util.Collection;
import java.util.List;
import java.util.Set;
abstract class A{
}