// "Create Method 'f'" "true"
class A {
    {
         f(A::foo);
    }

    private void f(Object p0) {
        <selection>//To change body of created methods use File | Settings | File Templates.</selection>
    }

    static int foo() {
      return 42;
    }
}

// "Create Method 'f'" "true"
class A {
    {
         f(A::foo);
    }

    private void f(Object foo) {
        <selection>//To change body of created methods use File | Settings | File Templates.</selection>
    }

    static int foo() {
      return 42;
    }
}

test data fixed