class Test { { Object p = new Object() { public void foo() {} }; } }