I'm writing an application where I have lot to do with JNI call and every-time I have to perform getter() call to access variable values. Instead is it possible to access Object reference of JNI object on Java Layer so can get updated variable value just by variable name (like obj.name instead obj.getName()).
I have check with this and this, but not getting way how to covert address to Object at java layer.
EDIT I wanted to access Obj this way at Java layer from JNI.
private native CustomObj getCPPCustomObjectPointer();
Any suggestion here.