public IRubyObject invokeStaticDirect(ThreadContext context, Object arg0, Object arg1) { checkArity(2); return invokeDirectWithExceptionHandling(context, method, null, arg0, arg1); }
public IRubyObject invokeStaticDirect(ThreadContext context, Object arg0, Object arg1, Object arg2, Object arg3) { checkArity(4); return invokeDirectWithExceptionHandling(context, method, null, arg0, arg1, arg2, arg3); }
public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object arg0, Object arg1, Object arg2, Object arg3) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(4); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(context, javaInvokee, arg0, arg1, arg2, arg3); } return invokeDirectWithExceptionHandling(context, method, javaInvokee, arg0, arg1, arg2, arg3); }
public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object arg0) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(1); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(context, javaInvokee, arg0); } return invokeDirectWithExceptionHandling(context, method, javaInvokee, arg0); }
public IRubyObject invokeDirect(Object javaInvokee, Object arg0, Object arg1, Object arg2) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(3); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(javaInvokee, arg0, arg1, arg2); } return invokeDirectWithExceptionHandling(method, javaInvokee, arg0, arg1, arg2); }
public IRubyObject invokeDirect(Object javaInvokee) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(0); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(javaInvokee); } return invokeDirectWithExceptionHandling(method, javaInvokee); }
public IRubyObject invokeDirect(Object javaInvokee, Object arg0) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(1); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(javaInvokee, arg0); } return invokeDirectWithExceptionHandling(method, javaInvokee, arg0); }
public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object arg0, Object arg1, Object arg2) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(3); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(context, javaInvokee, arg0, arg1, arg2); } return invokeDirectWithExceptionHandling(context, method, javaInvokee, arg0, arg1, arg2); }
public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object arg0, Object arg1) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(2); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(context, javaInvokee, arg0, arg1); } return invokeDirectWithExceptionHandling(context, method, javaInvokee, arg0, arg1); }
public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object arg0) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(1); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(context, javaInvokee, arg0); } return invokeDirectWithExceptionHandling(context, method, javaInvokee, arg0); }
public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object arg0, Object arg1, Object arg2) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(3); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(context, javaInvokee, arg0, arg1, arg2); } return invokeDirectWithExceptionHandling(context, method, javaInvokee, arg0, arg1, arg2); }
private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee) { JavaProxyClass jpc = ((InternalJavaProxy) javaInvokee).___getProxyClass(); JavaProxyMethod jpm; if ((jpm = jpc.getMethod(method.getName(), parameterTypes)) != null && jpm.hasSuperImplementation()) { return invokeDirectSuperWithExceptionHandling(context, jpm.getSuperMethod(), javaInvokee); } else { return invokeDirectWithExceptionHandling(context, method, javaInvokee); } }
private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee, Object arg0, Object arg1, Object arg2, Object arg3) { JavaProxyClass jpc = ((InternalJavaProxy) javaInvokee).___getProxyClass(); JavaProxyMethod jpm; if ((jpm = jpc.getMethod(method.getName(), parameterTypes)) != null && jpm.hasSuperImplementation()) { return invokeDirectSuperWithExceptionHandling(context, jpm.getSuperMethod(), javaInvokee, arg0, arg1, arg2, arg3); } else { return invokeDirectWithExceptionHandling(context, method, javaInvokee, arg0, arg1, arg2, arg3); } }
private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee, Object arg0, Object arg1, Object arg2) { JavaProxyClass jpc = ((InternalJavaProxy) javaInvokee).___getProxyClass(); JavaProxyMethod jpm; if ((jpm = jpc.getMethod(method.getName(), parameterTypes)) != null && jpm.hasSuperImplementation()) { return invokeDirectSuperWithExceptionHandling(context, jpm.getSuperMethod(), javaInvokee, arg0, arg1, arg2); } else { return invokeDirectWithExceptionHandling(context, method, javaInvokee, arg0, arg1, arg2); } }
private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee, Object arg0, Object arg1, Object arg2, Object arg3) { JavaProxyClass jpc = ((InternalJavaProxy) javaInvokee).___getProxyClass(); JavaProxyMethod jpm; if ((jpm = jpc.getMethod(method.getName(), parameterTypes)) != null && jpm.hasSuperImplementation()) { return invokeDirectSuperWithExceptionHandling(context, jpm.getSuperMethod(), javaInvokee, arg0, arg1, arg2, arg3); } else { return invokeDirectWithExceptionHandling(context, method, javaInvokee, arg0, arg1, arg2, arg3); } }
private IRubyObject tryProxyInvocation(Object javaInvokee, Object arg0, Object arg1, Object arg2) { JavaProxyClass jpc = ((InternalJavaProxy) javaInvokee).___getProxyClass(); JavaProxyMethod jpm; if ((jpm = jpc.getMethod(method.getName(), parameterTypes)) != null && jpm.hasSuperImplementation()) { return invokeDirectSuperWithExceptionHandling(jpm.getSuperMethod(), javaInvokee, arg0, arg1, arg2); } else { return invokeDirectWithExceptionHandling(method, javaInvokee, arg0, arg1, arg2); } }
private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee, Object... args) { JavaProxyClass jpc = ((InternalJavaProxy) javaInvokee).___getProxyClass(); JavaProxyMethod jpm; if ((jpm = jpc.getMethod(method.getName(), parameterTypes)) != null && jpm.hasSuperImplementation()) { return invokeDirectSuperWithExceptionHandling(context, jpm.getSuperMethod(), javaInvokee, args); } else { return invokeDirectWithExceptionHandling(context, method, javaInvokee, args); } }
private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee, Object arg0) { JavaProxyClass jpc = ((InternalJavaProxy) javaInvokee).___getProxyClass(); JavaProxyMethod jpm; if ((jpm = jpc.getMethod(method.getName(), parameterTypes)) != null && jpm.hasSuperImplementation()) { return invokeDirectSuperWithExceptionHandling(context, jpm.getSuperMethod(), javaInvokee, arg0); } else { return invokeDirectWithExceptionHandling(context, method, javaInvokee, arg0); } }
private IRubyObject tryProxyInvocation(Object javaInvokee) { JavaProxyClass jpc = ((InternalJavaProxy) javaInvokee).___getProxyClass(); JavaProxyMethod jpm; if ((jpm = jpc.getMethod(method.getName(), parameterTypes)) != null && jpm.hasSuperImplementation()) { return invokeDirectSuperWithExceptionHandling(jpm.getSuperMethod(), javaInvokee); } else { return invokeDirectWithExceptionHandling(method, javaInvokee); } }
public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object[] args) { checkArity(args.length); checkInstanceof(javaInvokee); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(context, javaInvokee, args); } return invokeDirectWithExceptionHandling(context, method, javaInvokee, args); }