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, 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, 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(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) { 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) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(1); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(javaInvokee, arg0); } return invokeDirectWithExceptionHandling(method, javaInvokee, arg0); }
public IRubyObject invokeDirect(Object javaInvokee, Object arg0, Object arg1, Object arg2, Object arg3) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(4); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(javaInvokee, arg0, arg1, arg2, arg3); } return invokeDirectWithExceptionHandling(method, javaInvokee, arg0, arg1, arg2, arg3); }
public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(0); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(context, javaInvokee); } return invokeDirectWithExceptionHandling(context, method, javaInvokee); }
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) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(0); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(context, javaInvokee); } return invokeDirectWithExceptionHandling(context, method, javaInvokee); }
public IRubyObject invokeDirect(Object javaInvokee, Object arg0, Object arg1) { assert method.getDeclaringClass().isInstance(javaInvokee); checkArity(2); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(javaInvokee, arg0, arg1); } return invokeDirectWithExceptionHandling(method, javaInvokee, arg0, arg1); }
@JRubyMethod(rest = true) public IRubyObject invoke_static(IRubyObject[] args) { checkArity(args.length); Object[] arguments = new Object[args.length]; System.arraycopy(args, 0, arguments, 0, arguments.length); convertArguments(args, arguments, 0); return invokeWithExceptionHandling(method, null, arguments); }
@JRubyMethod(rest = true) public IRubyObject invoke_static(ThreadContext context, IRubyObject[] args) { checkArity(args.length); final Object[] arguments = convertArguments(args, 0); return invokeWithExceptionHandling(context, method, null, arguments); }
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); }
public IRubyObject invokeDirect(Object javaInvokee, Object[] args) { checkArity(args.length); checkInstanceof(javaInvokee); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(javaInvokee, args); } return invokeDirectWithExceptionHandling(method, javaInvokee, args); }
public IRubyObject invokeDirect(Object javaInvokee, Object[] args) { checkArity(args.length); checkInstanceof(javaInvokee); if (mightBeProxy(javaInvokee)) { return tryProxyInvocation(javaInvokee, args); } return invokeDirectWithExceptionHandling(method, javaInvokee, args); }