asKotlin
context(env: JniEnv, autofreeScope: AutofreeScope)
fun ReadWriteProperty<Any?, JString?>.asKotlin(): ReadWriteProperty<Any?, String?>(source)
fun ReadWriteProperty<Any?, JString?>.asKotlin(): ReadWriteProperty<Any?, String?>(source)
Simplifies usage of stringField and staticStringField allowing to pass Kotlin strings directly.
Note: conversion may fail due to OutOfMemoryError.