AnnotationUtils does not support arbitrary levels of meta-annotations on methods [SPR-12941] #17534
Closed
1 task done
Labels
Milestone
Sam Brannen opened SPR-12941 and commented
Status Quo
In contrast to the search algorithm used by the
findAnnotation(Class, Class)
method inAnnotationUtils
, thefindAnnotation(Method, Class)
method currently only finds direct annotations or direct meta-annotations (i.e., one level of meta-annotations).This lacking support for multiple levels of meta-annotations has been the cause of failing (though currently
@Ignored
) tests inTransactionalEventListenerTests
since@EventListener
is not discovered as a meta-meta-annotation by theEventListenerMethodProcessor
.Deliverables
findAnnotation(Method, Class)
so that it supports arbitrary levels of meta-annotations on methods.Issue Links:
Referenced from: commits b9b0b78
The text was updated successfully, but these errors were encountered: