@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1, arg2); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0, arg1, arg2); return proxy; } });
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, Block block) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", block); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, block); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0, arg1); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy"); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0, arg1); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy"); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, Block block) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1, block); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0, arg1, block); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, Block block) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, block); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0, block); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", args); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, args); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, Block block) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", block); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, block); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", args); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, args); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1, arg2, block); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0, arg1, arg2, block); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1, arg2, block); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0, arg1, arg2, block); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, Block block) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1, block); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0, arg1, block); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, Block block) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, block); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0, block); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args, Block block) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", args, block); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, args, block); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args, Block block) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", args, block); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, args, block); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0); return proxy; }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) { IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1, arg2); if (needsCreate(proxy)) jcreateSite.call(context, proxy, proxy, arg0, arg1, arg2); return proxy; } });