void () { doTextTest( """ class C<@TA(1)T> { L<@TA(2)A> f = (@TA(3) A) new @TA(4) A() { void m(@TA(6) int @TA(7)[] p) { } }; }""", """ class C<@TA(1) T> { L<@TA(2) A> f = (@TA(3) A) new @TA(4) A() { void m(@TA(6) int @TA(7) [] p) { } }; }""" ); }