W3cubDocs

/Kotlin

javaConstructor

Platform and version requirements: JVM (1.0)
val <T> KFunction<T>.javaConstructor: Constructor<T>?

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–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.jvm/java-constructor.html