// "Create method 'f'" "true-preview" class A { { new Runnable() { public void run() { B.f(this); } }; } } class B { public static void f(Runnable runnable) { } }