Remove BindingTrace from Java function and property resolvers

Extract FakeOverrideVisibilityResolver which invokes OverrideResolver with the
trace
This commit is contained in:
Alexander Udalov
2013-08-23 18:58:10 +04:00
parent 480ef9ea66
commit d34a6d85e7
11 changed files with 136 additions and 29 deletions
@@ -0,0 +1,24 @@
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() {}
}
}