Files
kotlin/idea/testData/refactoring/introduceJavaParameter/javaMethodOverridingKotlinFunctionWithUsages.java.after
2015-05-08 11:43:00 +03:00

26 lines
364 B
Plaintext
Vendored

// APPLY_TO_SUPER
class A {
int x;
A(int x) {
this.x = x;
}
}
interface T {
int foo(int a, int b, int c);
}
class J extends K implements T {
@Override
public int foo(int c, A a1) {
return a1.x * c;
}
}
class Test {
void test() {
new J().foo(3, new A(1 + 2));
new K().foo(3, new A(1 + 2));
}
}