File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ internal class KotlinAnnotationIntrospector(private val context: Module.SetupCon
98
98
99
99
// This could be a setter or a getter of a class property or
100
100
// a setter-like/getter-like method.
101
- private fun AnnotatedMethod.hasRequiredMarker (): Boolean? = this .getFromCorrespondingAccessor ()
101
+ private fun AnnotatedMethod.hasRequiredMarker (): Boolean? = this .getRequiredMarkerFromCorrespondingAccessor ()
102
102
? : this .member.kotlinFunction?.let { method -> // Is the member method a regular method of the data class or
103
103
val byAnnotation = method.javaMethod?.isRequiredByAnnotation()
104
104
when {
@@ -110,7 +110,7 @@ internal class KotlinAnnotationIntrospector(private val context: Module.SetupCon
110
110
}
111
111
}
112
112
113
- private fun AnnotatedMethod.getFromCorrespondingAccessor (): Boolean? {
113
+ private fun AnnotatedMethod.getRequiredMarkerFromCorrespondingAccessor (): Boolean? {
114
114
member.declaringClass.kotlin.declaredMemberProperties.forEach { kProperty1 ->
115
115
kProperty1.javaGetter
116
116
?.takeIf { it == this .member }
You can’t perform that action at this time.
0 commit comments