class A { Exception[] bar(A x, A y){ return this.foo(x, y); } T foo(A x, A y){ return null; } }