[BZ-1099896] raise a compilation error when the same annotation is defined multiple times on a declared type