// "Create Method 'f'" "true" class A { { f(() -> {}); } private void f(Object p0) { //To change body of created methods use File | Settings | File Templates. } }