Files
kotlin/compiler/testData/loadJava/compiledJava/OverrideMethod.java
Alexander Udalov d34a6d85e7 Remove BindingTrace from Java function and property resolvers
Extract FakeOverrideVisibilityResolver which invokes OverrideResolver with the
trace
2013-09-04 21:55:04 +04:00

25 lines
378 B
Java
Vendored

package test;
public class OverrideMethod {
class SuperBase {
void quux(int x) {}
}
class Base extends SuperBase {
String foo(String s) {
return s;
}
void bar() {}
}
class Derived extends Base {
@Override
String foo(String s) {
return null;
}
void baz() {}
}
}