Andy Wilkinson opened SPR-13024 and commented
We'd like to enhance Spring Boot's auto-configuration report to include the return type of any @Bean methods that have been conditionally included or excluded. We can't do so at the moment as MethodMetadata doesn't make that information available.
I'm happy to contribute a PR if you agree with the change and can offer some guidance on the implementation. The main decision that I can see is whether or not it's ok to change the MethodMetadata interface, or if the return type should only be exposed on the implementations (and we'd use a cast in Boot to access it).
Reference URL: spring-projects/spring-boot#2208
Issue Links:
Referenced from: commits 1e7d954
Andy Wilkinson opened SPR-13024 and commented
We'd like to enhance Spring Boot's auto-configuration report to include the return type of any
@Beanmethods that have been conditionally included or excluded. We can't do so at the moment asMethodMetadatadoesn't make that information available.I'm happy to contribute a PR if you agree with the change and can offer some guidance on the implementation. The main decision that I can see is whether or not it's ok to change the
MethodMetadatainterface, or if the return type should only be exposed on the implementations (and we'd use a cast in Boot to access it).Reference URL: spring-projects/spring-boot#2208
Issue Links:
@Beanon Java 8 default methods in interfacesReferenced from: commits 1e7d954