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