introduce parameter, delegate: process supermethod accordingly (IDEA-57162)

This commit is contained in:
anna
2010-08-05 15:54:28 +04:00
parent 5b994eb25e
commit 308e0665e1
6 changed files with 93 additions and 6 deletions
@@ -0,0 +1,22 @@
abstract class A {
void xxx() {
xxx(239);
}
abstract void xxx(final int anObject);
}
class B implements A {
public void xxx() {
xxx(239);
}
public void xxx(final int anObject) {
System.out.println(anObject);
}
static {
A a = new B();
a.xxx();
}
}