kotlin.reflect.jvm.java.lang.reflect.Field.kotlinProperty

kotlinProperty

val Field.kotlinProperty: KProperty<*>?

Platform and version requirements: JVM

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