class MyTest { static class Foo {} static void bar(Foo f1, Foo f2) { } { bar(m(), m()); } static > Foo m() { return null; } }