Skip to content

Commit 3628516

Browse files
authored
Fix prob wrt databind/5302 change to AnnotationIntrospector override (#1049)
1 parent 3f0c660 commit 3628516

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/kotlin/tools/jackson/module/kotlin/KotlinNamesAnnotationIntrospector.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import java.lang.reflect.Constructor
1919
import java.lang.reflect.Field
2020
import java.lang.reflect.Method
2121
import java.util.Locale
22+
import java.util.Optional
2223
import kotlin.reflect.KClass
2324
import kotlin.reflect.KFunction
2425
import kotlin.reflect.KMutableProperty1
@@ -193,7 +194,8 @@ internal class KotlinNamesAnnotationIntrospector(
193194
config: MapperConfig<*>,
194195
valueClass: AnnotatedClass,
195196
declaredConstructors: List<PotentialCreator>,
196-
declaredFactories: List<PotentialCreator>
197+
declaredFactories: List<PotentialCreator>,
198+
zeroParamsConstructor: Optional<PotentialCreator>
197199
): PotentialCreator? {
198200
val kClass = valueClass.creatableKotlinClass() ?: return null
199201

0 commit comments

Comments
 (0)