class C { void foo(Object o) { ((Runnable)(() -> System.out.println())).run(); } }