CObjectMapper¶
Methods¶
toJava¶
-
public Object
toJava
(long peer, JavaObjectConstructionInfo info)¶ Creates a Java
NativeObject
.At first it copies the peer if needed, then it creates a
NativeObject
with reflection. The reflected constructor cached ininfo.data
. After the construction it returns the resulted object.
toNative¶
-
public long
toNative
(Object instance, NativeObjectConstructionInfo info)¶ Gets the native structure pointer from the
NativeObject
and returns it.