Phil Webb opened SPR-13144 and commented
The AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod() is called frequently when a typical Spring Boot application starts and tends to show up often when profiling applications.
The majority of the calls are resolving @Configuration @Bean methods and since Spring 4.2 now surfaces getReturnTypeName() in MethodMetadata we could use this information rather than needing to iterate all methods in the class.
Issue Links:
0 votes, 5 watchers