W3cubDocs

/Kotlin

Extensions for java.lang.reflect.Field

Platform and version requirements: JVM (1.0)

kotlinProperty

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

val Field.kotlinProperty: KProperty<*>?

© 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/index.html