interface A { K get(); } class Test { void f(A a) { String s = a.get(); } }