Is it possible to pass same class object from C++ to Java/Kotlin class object and vice versa through JNI. For example lets say I have this class in C++