W3cubDocs

/Kotlin

kotlinProperty

Platform and version requirements: JVM (1.0)
val Field.kotlinProperty: KProperty<*>?

Returns a KProperty instance corresponding to the given Java Field instance, or null if this field cannot be represented by a Kotlin property (for example, if it is a synthetic field).

© 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.lang.reflect.-field/kotlin-property.html