safe delete: delete method hierarchy down to the bottom

This commit is contained in:
anna
2010-07-26 11:56:36 +04:00
parent 5c430dd73a
commit 353f331ea7
4 changed files with 38 additions and 3 deletions
@@ -0,0 +1,19 @@
public class Super {
void f<caret>oo() {
}
}
class Child extends Super {
void foo(){
super.foo();
System.out.println("do some staff");
}
}
class ChildChild extends Child {
void foo(){
super.foo();
System.out.println("here do smth else");
}
}