Add first class ParameterizedTypeReference support to BeanRegistrar
This commit replaces ParameterizedTypeReference and ResolvableType
target type customization with the lambda by directly exposing
ParameterizedTypeReference methods at top level, as generics
variants of the class-based existing ones.
Closes gh-35635
@ -92,6 +93,14 @@ public class BeanRegistryAdapter implements BeanRegistry {
@@ -92,6 +93,14 @@ public class BeanRegistryAdapter implements BeanRegistry {
@ -99,6 +108,15 @@ public class BeanRegistryAdapter implements BeanRegistry {
@@ -99,6 +108,15 @@ public class BeanRegistryAdapter implements BeanRegistry {
@ -111,9 +129,11 @@ public class BeanRegistryAdapter implements BeanRegistry {
@@ -111,9 +129,11 @@ public class BeanRegistryAdapter implements BeanRegistry {
@ -122,6 +142,33 @@ public class BeanRegistryAdapter implements BeanRegistry {
@@ -122,6 +142,33 @@ public class BeanRegistryAdapter implements BeanRegistry {
Assert.notNull(registrar,"'registrar' must not be null");
@ -238,18 +285,6 @@ public class BeanRegistryAdapter implements BeanRegistry {
@@ -238,18 +285,6 @@ public class BeanRegistryAdapter implements BeanRegistry {
@ -262,23 +297,28 @@ public class BeanRegistryAdapter implements BeanRegistry {
@@ -262,23 +297,28 @@ public class BeanRegistryAdapter implements BeanRegistry {
@ -168,12 +168,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
@@ -168,12 +168,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
@ -234,12 +230,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
@@ -234,12 +230,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
@ -304,12 +296,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
@@ -304,12 +296,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
@ -372,12 +360,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
@@ -372,12 +360,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
@ -1094,7 +1078,7 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
@@ -1094,7 +1078,7 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
@ -27,9 +27,8 @@ public class GenericBeanRegistrar implements BeanRegistrar {
@@ -27,9 +27,8 @@ public class GenericBeanRegistrar implements BeanRegistrar {