@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, Block block) { if (target2 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0, arg1}, block); } try { return (IRubyObject) target2.invokeWithArguments(context, self, arg0, arg1, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) { if (target3 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0, arg1, arg2}, block); } try { return (IRubyObject) target3.invokeWithArguments(context, self, arg0, arg1, arg2, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, Block block) { if (target0 == null) { return call(context, self, clazz, name, IRubyObject.NULL_ARRAY, block); } try { return (IRubyObject) target0.invokeWithArguments(context, self, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, Block block) { if (target1 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0}, block); } try { return (IRubyObject) target1.invokeWithArguments(context, self, arg0, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, Block block) { if (target2 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0, arg1}, block); } try { return (IRubyObject) target2.invokeWithArguments(context, self, arg0, arg1, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) { if (target3 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0, arg1, arg2}, block); } try { return (IRubyObject) target3.invokeWithArguments(context, self, arg0, arg1, arg2, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, Block block) { if (target0 == null) { return call(context, self, clazz, name, IRubyObject.NULL_ARRAY, block); } try { return (IRubyObject) target0.invokeWithArguments(context, self, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, Block block) { if (target1 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0}, block); } try { return (IRubyObject) target1.invokeWithArguments(context, self, arg0, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, Block block) { MethodHandle target0 = ensureTarget0(); if (target0 == null) { return call(context, self, clazz, name, IRubyObject.NULL_ARRAY, block); } try { return (IRubyObject) target0.invokeExact(context, self, clazz, name, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, Block block) { MethodHandle target1 = ensureTarget1(); if (target1 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0}, block); } try { return (IRubyObject) target1.invokeExact(context, self, clazz, name, arg0, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) { MethodHandle target3 = ensureTarget3(); if (target3 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0, arg1, arg2}, block); } try { return (IRubyObject) target3.invokeExact(context, self, clazz, name, arg0, arg1, arg2, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, Block block) { MethodHandle target2 = ensureTarget2(); if (target2 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0, arg1}, block); } try { return (IRubyObject) target2.invokeExact(context, self, clazz, name, arg0, arg1, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, Block block) { MethodHandle target0 = ensureTarget0(); if (target0 == null) { return call(context, self, clazz, name, IRubyObject.NULL_ARRAY, block); } try { return (IRubyObject) target0.invokeExact(context, self, clazz, name, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, Block block) { MethodHandle target1 = ensureTarget1(); if (target1 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0}, block); } try { return (IRubyObject) target1.invokeExact(context, self, clazz, name, arg0, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, Block block) { MethodHandle target2 = ensureTarget2(); if (target2 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0, arg1}, block); } try { return (IRubyObject) target2.invokeExact(context, self, clazz, name, arg0, arg1, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }
@Override public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) { MethodHandle target3 = ensureTarget3(); if (target3 == null) { return call(context, self, clazz, name, new IRubyObject[]{arg0, arg1, arg2}, block); } try { return (IRubyObject) target3.invokeExact(context, self, clazz, name, arg0, arg1, arg2, block); } catch (Throwable t) { Helpers.throwException(t); return null; } }