Remove BindingTrace from Java function and property resolvers
Extract FakeOverrideVisibilityResolver which invokes OverrideResolver with the trace
This commit is contained in:
@@ -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() {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user