W3cubDocs

/Kotlin

javaConstructor

val <T> KFunction<T>.javaConstructor: Constructor<T>?

Platform and version requirements: JVM

Returns a Java Constructor instance corresponding to the given Kotlin function, or null if this function is not a constructor or cannot be represented by a Java Constructor.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.jvm/java-constructor.html