kotlin.reflect.jvm.java.lang.reflect.Constructor

Extensions for java.lang.reflect.Constructor

kotlinFunction

val <T : Any> Constructor<T>.kotlinFunction: KFunction<T>?

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).

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部