class Test { void method() { new a<T>() { void a() {} }; } }