<How to create an external property without a back...
# stackoverflow
u
How to create an external property without a backing field in Kotlin? I'm creating a wrapper for a C++ library in Kotlin, using JNI. In order to have a property implemented in the C++ library, I need to mark a property's getter and setter as external to create getX and setX methods marked as native, as indicated in the Kotlin documentation. While this works as expected, this also generates a backing field for the property, which is not useful in my case...