final class org.jruby.javasupport.proxy.JavaProxyConstructor$ProcInvocationHandler implements org.jruby.javasupport.proxy.JavaProxyInvocationHandler
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.javasupport.proxy.JavaProxyConstructor$ProcInvocationHandler
super_class: java.lang.Object
{
private final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.RubyProc proc;
descriptor: Lorg/jruby/RubyProc;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.jruby.Ruby, org.jruby.RubyProc);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyProc;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.javasupport.proxy.JavaProxyConstructor$ProcInvocationHandler.runtime:Lorg/jruby/Ruby;
aload 0
aload 2
putfield org.jruby.javasupport.proxy.JavaProxyConstructor$ProcInvocationHandler.proc:Lorg/jruby/RubyProc;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/proxy/JavaProxyConstructor$ProcInvocationHandler;
0 3 1 runtime Lorg/jruby/Ruby;
0 3 2 proc Lorg/jruby/RubyProc;
MethodParameters:
Name Flags
runtime final
proc final
public org.jruby.runtime.builtin.IRubyObject getOrig();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/proxy/JavaProxyConstructor$ProcInvocationHandler;
public final org.jruby.Ruby getRuntime();
descriptor: ()Lorg/jruby/Ruby;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.proxy.JavaProxyConstructor$ProcInvocationHandler.runtime:Lorg/jruby/Ruby;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/proxy/JavaProxyConstructor$ProcInvocationHandler;
public java.lang.Object invoke(java.lang.Object, org.jruby.javasupport.proxy.JavaProxyMethod, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Lorg/jruby/javasupport/proxy/JavaProxyMethod;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 3
arraylength
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: iload 4
iconst_2
iadd
anewarray org.jruby.runtime.builtin.IRubyObject
astore 5
start local 5 4: aload 5
iconst_0
aload 0
getfield org.jruby.javasupport.proxy.JavaProxyConstructor$ProcInvocationHandler.runtime:Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.JavaObject.wrap:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/javasupport/JavaObject;
aastore
5: aload 5
iconst_1
aload 2
aastore
6: iconst_0
istore 6
start local 6 7: goto 10
8: StackMap locals: int org.jruby.runtime.builtin.IRubyObject[] int
StackMap stack:
aload 5
iload 6
iconst_2
iadd
aload 0
getfield org.jruby.javasupport.proxy.JavaProxyConstructor$ProcInvocationHandler.runtime:Lorg/jruby/Ruby;
aload 3
iload 6
aaload
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToRuby:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
aastore
9: iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 4
if_icmplt 8
end local 6 11: aload 0
getfield org.jruby.javasupport.proxy.JavaProxyConstructor$ProcInvocationHandler.proc:Lorg/jruby/RubyProc;
aload 0
getfield org.jruby.javasupport.proxy.JavaProxyConstructor$ProcInvocationHandler.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 5
invokevirtual org.jruby.RubyProc.call:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 12: aload 6
aload 2
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.getReturnType:()Ljava/lang/Class;
invokeinterface org.jruby.runtime.builtin.IRubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/javasupport/proxy/JavaProxyConstructor$ProcInvocationHandler;
0 13 1 proxy Ljava/lang/Object;
0 13 2 method Lorg/jruby/javasupport/proxy/JavaProxyMethod;
0 13 3 nargs [Ljava/lang/Object;
3 13 4 length I
4 13 5 rubyArgs [Lorg/jruby/runtime/builtin/IRubyObject;
7 11 6 i I
12 13 6 procResult Lorg/jruby/runtime/builtin/IRubyObject;
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
proxy
method
nargs
}
SourceFile: "JavaProxyConstructor.java"
NestHost: org.jruby.javasupport.proxy.JavaProxyConstructor
InnerClasses:
private final ProcInvocationHandler = org.jruby.javasupport.proxy.JavaProxyConstructor$ProcInvocationHandler of org.jruby.javasupport.proxy.JavaProxyConstructor