Returns the delegate from the given native int.
If the int is zero, then this will always return null.
If the int is non zero and the delegate is not found, this will throw an assert.
if (native_object > 0) {
T delegate = mDelegates.get(native_object);
if (Debug.DEBUG) {
if (delegate == null) {
System.out.println("Unknown " + mClass.getSimpleName() + " with int " +
native_object);
}
}
assert delegate != null;
return delegate;
}
return null;