@Configuration @ConditionalOnClass(name="kotlin.jvm.functions.Function0") public class KotlinLambdaToFunctionAutoConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
KotlinLambdaToFunctionAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.beans.factory.config.BeanFactoryPostProcessor |
kotlinToFunctionTransformer()
Will transform all discovered Kotlin's Function lambdas to java
Supplier, Function and Consumer, retaining the original Kotlin type
characteristics.
|
public KotlinLambdaToFunctionAutoConfiguration()
@Bean public org.springframework.beans.factory.config.BeanFactoryPostProcessor kotlinToFunctionTransformer()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.