Which refactoring to normalize a subclass
I have
public class ClassParent {
void method1(){
//some code here
}
void method2() {
//some code here
}
}
public class ClassChild extends ClassParent {
//some code here
super.method2();
}
I want to destroy the parent child relationship so ClassChild no longer needs to extend parent.
I don't want to use delegation.
Is there a refactoring for this in IDEA 4.03 ?
thanks
请先登录再写评论。