class Test { { foo(new Bar()); } private static void foo(Bar b){} } class Bar { }