You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Meta annotations are not detected when present on Repeatable annotations.
Provided zip contains a quick example highlighting this, but for a contained example here (@Retention and @Target annotations omitted):
@Repeatable(A.List.class)
@interface A {
intvalue() default1;
@interface List {
A[] value();
}
}
@Repeatable(B.List.class)
@A
@interface B {
@AliasFor(annotation = A.class, attribute = "value")
intvalue();
@interface List {
B[] value();
}
}
None of the provided methods in AnnotationUtils or AnnotatedElementUtils can locate the meta-@A annotations for an element with repeated @B annotations.