private static class JavaProxyConstructor.ProcInvocationHandler extends java.lang.Object implements JavaProxyInvocationHandler
| Modifier and Type | Field and Description |
|---|---|
private RubyProc |
proc |
private Ruby |
runtime |
| Constructor and Description |
|---|
ProcInvocationHandler(Ruby runtime,
RubyProc proc) |
| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
getOrig() |
java.lang.Object |
invoke(java.lang.Object proxy,
JavaProxyMethod method,
java.lang.Object[] nargs)
Similar to java.lang.reflect.InvocationHandler
|
public IRubyObject getOrig()
getOrig in interface JavaProxyInvocationHandlerpublic java.lang.Object invoke(java.lang.Object proxy,
JavaProxyMethod method,
java.lang.Object[] nargs)
throws java.lang.Throwable
JavaProxyInvocationHandlerinvoke in interface JavaProxyInvocationHandlerjava.lang.ThrowableInvocationHandler}