kotlinFunction

val Method.kotlinFunction: KFunction<*>?(source)

Returns a KFunction instance corresponding to the given Java Method instance, or null if this method cannot be represented by a Kotlin function.

Since Kotlin

1.0

val <T : Any> Constructor<T>.kotlinFunction: KFunction<T>?(source)

Returns a KFunction instance corresponding to the given Java Constructor instance, or null if this constructor cannot be represented by a Kotlin function (for example, if it is a synthetic constructor).

Since Kotlin

1.0