// "Create Method 'f'" "true" class A { { f(A::foo); } private void f(Object foo) { } static int foo() { return 42; } }