Phil Webb opened SPR-12858 and commented
AnnotationUtils.getAnnotationAttributes currently doesn't work with package scope annotations.
I believe that calling method.setAccessible(true) when iterating the methods would solve the issue.
https://github.com/spring-projects/spring-framework/blob/master/spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java#L586
Affects: 4.1.6
Issue Links: