final class org.jruby.javasupport.Java$ProcToInterface extends org.jruby.internal.runtime.methods.DynamicMethod
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.javasupport.Java$ProcToInterface
super_class: org.jruby.internal.runtime.methods.DynamicMethod
{
void <init>(org.jruby.RubyClass);
descriptor: (Lorg/jruby/RubyClass;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.jruby.runtime.Visibility.PUBLIC:Lorg/jruby/runtime/Visibility;
ldc "call"
invokespecial org.jruby.internal.runtime.methods.DynamicMethod.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/Java$ProcToInterface;
0 2 1 singletonClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
singletonClass final
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyModule, java.lang.String, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 5
arraylength
tableswitch { // 1 - 3
1: 1
2: 3
3: 5
default: 7
}
1: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
start local 7 2: goto 9
end local 7 3: StackMap locals:
StackMap stack:
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 5
iconst_1
aaload
aastore
astore 7
start local 7 4: goto 9
end local 7 5: StackMap locals:
StackMap stack:
iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 5
iconst_1
aaload
aastore
dup
iconst_1
aload 5
iconst_2
aaload
aastore
astore 7
start local 7 6: goto 9
end local 7 7: StackMap locals:
StackMap stack:
aload 5
arraylength
iconst_1
isub
anewarray org.jruby.runtime.builtin.IRubyObject
astore 7
start local 7 8: aload 5
iconst_1
aload 7
iconst_0
aload 7
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: StackMap locals: org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
aload 1
aload 2
aload 7
invokestatic org.jruby.javasupport.Java$ProcToInterface.callProc:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 7 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 10 0 this Lorg/jruby/javasupport/Java$ProcToInterface;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
0 10 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 10 3 clazz Lorg/jruby/RubyModule;
0 10 4 name Ljava/lang/String;
0 10 5 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 10 6 block Lorg/jruby/runtime/Block;
2 3 7 newArgs [Lorg/jruby/runtime/builtin/IRubyObject;
4 5 7 newArgs [Lorg/jruby/runtime/builtin/IRubyObject;
6 7 7 newArgs [Lorg/jruby/runtime/builtin/IRubyObject;
8 10 7 newArgs [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
self
clazz
name
args
block
private static org.jruby.runtime.builtin.IRubyObject callProc(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.jruby.RubyProc
ifne 2
1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "interface impl method_missing for block used with non-Proc object"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.RubyProc
aload 0
aload 2
invokevirtual org.jruby.RubyProc.call:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 procArgs [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
self
procArgs
public org.jruby.internal.runtime.methods.DynamicMethod dup();
descriptor: ()Lorg/jruby/internal/runtime/methods/DynamicMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/Java$ProcToInterface;
final org.jruby.javasupport.Java$ProcToInterface$ConcreteMethod getConcreteMethod(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/javasupport/Java$ProcToInterface$ConcreteMethod;
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.javasupport.Java$ProcToInterface$ConcreteMethod
dup
aload 0
aload 1
invokespecial org.jruby.javasupport.Java$ProcToInterface$ConcreteMethod.<init>:(Lorg/jruby/javasupport/Java$ProcToInterface;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/Java$ProcToInterface;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
static org.jruby.RubyModule access$0(org.jruby.javasupport.Java$ProcToInterface);
descriptor: (Lorg/jruby/javasupport/Java$ProcToInterface;)Lorg/jruby/RubyModule;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield org.jruby.javasupport.Java$ProcToInterface.implementationClass:Lorg/jruby/RubyModule;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Java.java"
NestHost: org.jruby.javasupport.Java
InnerClasses:
final ProcToInterface = org.jruby.javasupport.Java$ProcToInterface of org.jruby.javasupport.Java
final ConcreteMethod = org.jruby.javasupport.Java$ProcToInterface$ConcreteMethod of org.jruby.javasupport.Java$ProcToInterface