**[Jonathan Borenstein](https://jira.spring.io/secure/ViewProfile.jspa?name=jonborenstein)** opened **[SPR-15287](https://jira.spring.io/browse/SPR-15287?redirect=false)** and commented Use getDeclaredAnnotationsByType method for Java 8. --- **Issue Links:** - #19854 Clean up findAnnotation method **Referenced from:** pull request https://github.com/spring-projects/spring-framework/pull/1337, and commits https://github.com/spring-projects/spring-framework/commit/8992f5924f37b69e3ecf976ddd97c5714a91e6f8