interface I { int a(); } class A { void foo(I i); } class C> { void bar(SR t) { t.foo(() -> 1); } }