We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bcfc36 commit 6536a0bCopy full SHA for 6536a0b
src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinAnnotationIntrospector.kt
@@ -44,13 +44,12 @@ internal class KotlinAnnotationIntrospector(
44
when {
45
nullToEmptyCollection && m.type.isCollectionLikeType -> false
46
nullToEmptyMap && m.type.isMapLikeType -> false
47
- m.member.declaringClass.isKotlinClass() -> when (m) {
+ else -> when (m) {
48
is AnnotatedField -> m.hasRequiredMarker()
49
is AnnotatedMethod -> m.hasRequiredMarker()
50
is AnnotatedParameter -> m.hasRequiredMarker()
51
else -> null
52
}
53
- else -> null
54
55
} catch (_: UnsupportedOperationException) {
56
null
0 commit comments