是否可以一次移动多个静态方法和/或多个静态字段?
public final class ClassA {
public static final String CONSTANTE_A = "CONSTANTE_A";
public static final String CONSTANTE_B = "CONSTANTE_B";
public static void methodA() {
// statements....
}
public static void methodB() {
// statements....
}
}
public final class ClassB {
// empty class
}
我希望能够选择 methodA、methodB、CONSTANTE_A 和 CONSTANTE_B,并对 ClassB 执行“移动...”