Community
Participate
Working Groups
Specifying the same annotation multiple times on the same element yields a compile error. With JEP 120, the annotation can be made @Repeatable. The subject of this bug is to provide two quick fixes for such an error iff the repeated annotation is a source type: 1) Make '<annotation-name>' @Repeatable - when the proposal is applied, we could also try to find an existing container annotation that meets all requirements 2) Make '<annotation-name>' @Repeatable and create container - also creates an @interface with name '<annotation-name>Container' that implements all the boilerplate code. We could also add a quick assist that "explodes" an existing container annotation and lists its elements directly.