pub fn new(jid : JavaObjectId, heap : &mut LocalHeap) -> JavaStrongObjectRef {
		heap.add_ref(jid);
		JavaStrongObjectRef {
			jid : jid,
			heapref : unsafe { heap }
		}
	}
// ----------------------------------------------
// Construct a strong ref for the given object id
// note: this triggers a remote add-ref on that object. If the
// caller's intent is to access the object immediately anyway,
// it is better not to construct a strong ref but to use
// heap::access_object().
//
// It is assumed that the given localheap remains alive for the entire
// duration of the object reference. 
Construct a strong ref for the given object id
note: this triggers a remote add-ref on that object. If the
caller's intent is to access the object immediately anyway,
it is better not to construct a strong ref but to use
heap::access_object().

It is assumed that the given localheap remains alive for the entire
duration of the object reference.
Construct a strong ref for the given object id note : this triggers a remote add - ref on that object . If the caller ' s intent is to access the object immediately anyway it is better not to construct a strong ref but to use heap :: access_object () . It is assumed that the given localheap remains alive for the entire duration of the object reference .
pub fn new(jid : JavaObjectId, heap : &mut LocalHeap) -> JavaStrongObjectRef {
		heap.add_ref(jid);
		JavaStrongObjectRef {
			jid : jid,
			heapref : unsafe { heap }
		}
	}
pub fn new ( jid : JavaObjectId , heap : & mut LocalHeap ) -> JavaStrongObjectRef { heap . add_ref ( jid ) ; JavaStrongObjectRef { jid : jid , heapref : unsafe { heap } } }
Construct a strong ref for the given object id
note: this triggers a remote add-ref on that object.
Construct a strong ref for the given object id note : this triggers a remote add - ref on that object .
jid
JavaObjectId
heap
&mut LocalHeap