File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
package com.fasterxml.jackson.module.kotlin
2
2
3
3
import kotlin.reflect.KFunction
4
- import kotlin.reflect.KParameter
5
4
import kotlin.reflect.full.extensionReceiverParameter
6
5
import kotlin.reflect.full.instanceParameter
7
6
import kotlin.reflect.jvm.isAccessible
8
7
9
8
internal class MethodValueCreator <T > private constructor(
10
9
override val callable : KFunction <T >,
11
10
override val accessible : Boolean ,
12
- val companionObjectInstance : Any
11
+ companionObjectInstance : Any
13
12
) : ValueCreator<T>() {
14
- val instanceParameter: KParameter = callable.instanceParameter!!
15
13
override val bucketGenerator: BucketGenerator =
16
14
BucketGenerator .forMethod(callable.parameters, companionObjectInstance)
17
15
You can’t perform that action at this time.
0 commit comments