You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Include a bean's type in the auto-configuration report? #2208
This isn't possible at the moment. We'd need access to the return type of an @Bean method and MethodMetadata doesn't expose it. It is available on StandardMethodMetadata but we'll almost always be dealing with the ASM-based MethodMetadataReadingVisitor which doesn't provide any access to the return type.
Activity
wilkinsona commentedon May 13, 2015
This isn't possible at the moment. We'd need access to the return type of an
@Beanmethod andMethodMetadatadoesn't expose it. It is available onStandardMethodMetadatabut we'll almost always be dealing with the ASM-basedMethodMetadataReadingVisitorwhich doesn't provide any access to the return type.I've opened SPR-13024.
wilkinsona commentedon May 18, 2015
A change has been made in Spring 4.2 so this is now possible.