field

context(env: JniEnv)
inline fun <T> JObject.field(fieldId: JFieldID): ReadWriteProperty<Any?, T>(source)

Unifies usage of *Field() functions.

Note: T must be not-null if it's a primitive type, otherwise it must be nullable.