interface SAM { void foo(int i); } class Test { { SAM sam = (i) -> {}; } }