runtime.callEventHooks(context, RubyEvent.CALL, position.getFile(), position.getLine(), name, getImplementationClass());
}
return (IRubyObject)method.invoke(null, $scriptObject, context, self, args, block);
} finally {
if (isTrace) {
runtime.callEventHooks(context, RubyEvent.RETURN, context.getFile(), context.getLine(), name, getImplementationClass());
}
}
} catch (IllegalArgumentException e) {
throw RaiseException.createNativeRaiseException(runtime, e, method);