objectField
fun JObject.objectField(fieldId: JFieldID): ReadWriteProperty<Any?, JObject?>(source)
Returns a ReadWriteProperty for Object field of the object with the specified fieldId.
inline fun JObject.objectField(name: CValuesRef<ByteVar>, sig: CValuesRef<ByteVar>): ReadWriteProperty<Any?, JObject?>?(source)
Returns a ReadWriteProperty for Object field of the object with the specified name and sig.
Return
a delegatable property of JObject? type or null if the specified field was not found.
Parameters
the static field name in the null-terminated modified UTF-8.
the field signature in the null-terminated modified UTF-8. Use io.github.mimimishkin.jni.binding.modifiedUtf8 to get it, or if you are sure that your string doesn't have illegal characters you may use optimized String.utf8.
Throws
if the specified field cannot be found.
if the class initializer fails due to an exception.
if the system runs out of memory.
inline fun JObject.objectField(name: String, sig: String): ReadWriteProperty<Any?, JObject?>(source)
Returns a ReadWriteProperty for Object field of the object with the specified name and sig.
Return
a delegatable property of JObject? type.
Parameters
the static field name.
the field signature.
Throws
if the specified field cannot be found.
if the class initializer fails due to an exception.
if the system runs out of memory.