Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Kotlin nullable information for @Autowired and @Inject [SPR-14951] #19518

spring-issuemaster opened this issue Nov 24, 2016 · 1 comment


None yet
2 participants
Copy link

commented Nov 24, 2016

Sébastien Deleuze opened SPR-14951 and commented

As implemented form Spring MVC/Spring Web Reactive in #18737, we could use Kotlin nullable information to know if a bean is required or not.

Issue Links:

  • #18737 Support Kotlin nullable information in Spring MVC parameters
  • #19595 Support @Nullable annotations as indicators for optional injection points

Referenced from: commits 39d2769


This comment has been minimized.

Copy link
Collaborator Author

commented Dec 13, 2016

Juergen Hoeller commented

Implemented in MethodParameter.isOptional() and DependencyDescriptor.isRequired() now, with private inner delegate classes for Kotlin introspection (superseding KotlinUtils and avoiding its circular reference with MethodParameter between .core and .util).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.