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
With #20432 leading to yet another need for a Kotlin-specific parameter declaration check, let's take the opportunity to streamline our Kotlin support code: Specifically, we can unify the detection of Kotlin's optional parameters in MethodParameter.isOptional(), reduce BeanUtils.findPrimaryConstructor to Kotlin semantics (for reuse in AutowiredAnnotationBeanPostProcessor as well as data class construction), and finally introduce a common KotlinDetector delegate with an isKotlinType(Class) check.
Juergen Hoeller opened SPR-16020 and commented
With #20432 leading to yet another need for a Kotlin-specific parameter declaration check, let's take the opportunity to streamline our Kotlin support code: Specifically, we can unify the detection of Kotlin's optional parameters in
MethodParameter.isOptional()
, reduceBeanUtils.findPrimaryConstructor
to Kotlin semantics (for reuse inAutowiredAnnotationBeanPostProcessor
as well as data class construction), and finally introduce a commonKotlinDetector
delegate with anisKotlinType(Class)
check.Affects: 5.0 RC4
Issue Links:
Referenced from: commits ec345bf
The text was updated successfully, but these errors were encountered: