introduce parameter: clear @Override when delegate (IDEA-153158)

This commit is contained in:
Anna Kozlova
2016-08-15 20:17:11 +03:00
parent 16cbb8b787
commit c975603207
4 changed files with 35 additions and 0 deletions
@@ -0,0 +1,14 @@
interface Foo {
void foobalize();
}
class ExtractTest implements Foo {
@Override
public void foobalize() {
foobalize(42);
}
public void foobalize(int anObject) {
System.out.println(anObject);
}
}
@@ -0,0 +1,10 @@
interface Foo {
void foobalize();
}
class ExtractTest implements Foo {
@Override
public void foobalize() {
System.out.println(<selection>42</selection>);
}
}