public class org.jruby.javasupport.Java$JCreateMethod extends org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN implements org.jruby.java.dispatch.CallableSelector$CallableCache<org.jruby.javasupport.proxy.JavaProxyConstructor>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.javasupport.Java$JCreateMethod
super_class: org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN
{
private final org.jruby.util.collections.NonBlockingHashMapLong<org.jruby.javasupport.proxy.JavaProxyConstructor> cache;
descriptor: Lorg/jruby/util/collections/NonBlockingHashMapLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/jruby/util/collections/NonBlockingHashMapLong<Lorg/jruby/javasupport/proxy/JavaProxyConstructor;>;
void <init>(org.jruby.RubyModule);
descriptor: (Lorg/jruby/RubyModule;)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 "__jcreate!"
invokespecial org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
1: aload 0
new org.jruby.util.collections.NonBlockingHashMapLong
dup
bipush 8
invokespecial org.jruby.util.collections.NonBlockingHashMapLong.<init>:(I)V
putfield org.jruby.javasupport.Java$JCreateMethod.cache:Lorg/jruby/util/collections/NonBlockingHashMapLong;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/Java$JCreateMethod;
0 3 1 cls Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
cls
private static org.jruby.javasupport.proxy.JavaProxyClass getProxyClass(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/proxy/JavaProxyClass;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
astore 1
start local 1 1: aload 1
ldc "@java_proxy_class"
invokevirtual org.jruby.RubyClass.getInstanceVariable:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 5
3: StackMap locals: org.jruby.RubyClass org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.proxy.JavaProxyClass.getProxyClass:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/javasupport/proxy/JavaProxyClass;
astore 2
4: aload 1
ldc "@java_proxy_class"
aload 2
invokevirtual org.jruby.RubyClass.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
5: StackMap locals:
StackMap stack:
aload 2
checkcast org.jruby.javasupport.proxy.JavaProxyClass
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 self Lorg/jruby/runtime/builtin/IRubyObject;
1 6 1 metaClass Lorg/jruby/RubyClass;
2 6 2 proxyClass Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
self final
public final org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyModule, java.lang.String, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.javasupport.Java$JCreateMethod.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 1 0 this Lorg/jruby/javasupport/Java$JCreateMethod;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 clazz Lorg/jruby/RubyModule;
0 1 4 name Ljava/lang/String;
0 1 5 block Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
context
self
clazz
name
block
public final 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: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=10, 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 2
invokestatic org.jruby.javasupport.Java$JCreateMethod.getProxyClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/proxy/JavaProxyClass;
invokevirtual org.jruby.javasupport.proxy.JavaProxyClass.getConstructors:()[Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
astore 7
start local 7 1: aload 7
arraylength
tableswitch { // 1 - 1
1: 2
default: 4
}
2: StackMap locals: org.jruby.javasupport.proxy.JavaProxyConstructor[]
StackMap stack:
aload 0
aload 1
aload 7
aload 5
invokevirtual org.jruby.javasupport.Java$JCreateMethod.matchConstructor0ArityOne:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/javasupport/proxy/JavaProxyConstructor;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
astore 8
start local 8 3: goto 5
end local 8 4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 7
aload 5
invokevirtual org.jruby.javasupport.Java$JCreateMethod.matchConstructorArityOne:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/javasupport/proxy/JavaProxyConstructor;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
astore 8
start local 8 5: StackMap locals: org.jruby.javasupport.proxy.JavaProxyConstructor
StackMap stack:
aload 8
aload 2
aload 5
invokevirtual org.jruby.javasupport.proxy.JavaProxyConstructor.newInstance:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaObject;
astore 9
start local 9 6: aload 2
aload 2
aload 9
invokestatic org.jruby.javasupport.JavaUtilities.set_java_object:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 9 end local 8 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 7 0 this Lorg/jruby/javasupport/Java$JCreateMethod;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 clazz Lorg/jruby/RubyModule;
0 7 4 name Ljava/lang/String;
0 7 5 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 7 6 block Lorg/jruby/runtime/Block;
1 7 7 constructors [Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
3 4 8 matching Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
5 7 8 matching Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
6 7 9 newObject Lorg/jruby/javasupport/JavaObject;
MethodParameters:
Name Flags
context
self
clazz
name
arg0
block
public final 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[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 5
arraylength
istore 6
start local 6 1: aload 2
invokestatic org.jruby.javasupport.Java$JCreateMethod.getProxyClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/proxy/JavaProxyClass;
invokevirtual org.jruby.javasupport.proxy.JavaProxyClass.getConstructors:()[Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
astore 7
start local 7 2: aload 7
arraylength
tableswitch { // 1 - 1
1: 3
default: 5
}
3: StackMap locals: int org.jruby.javasupport.proxy.JavaProxyConstructor[]
StackMap stack:
aload 0
aload 1
aload 7
iload 6
aload 5
invokevirtual org.jruby.javasupport.Java$JCreateMethod.matchConstructor0:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/javasupport/proxy/JavaProxyConstructor;I[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
astore 8
start local 8 4: goto 6
end local 8 5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 7
iload 6
aload 5
invokevirtual org.jruby.javasupport.Java$JCreateMethod.matchConstructor:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/javasupport/proxy/JavaProxyConstructor;I[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
astore 8
start local 8 6: StackMap locals: org.jruby.javasupport.proxy.JavaProxyConstructor
StackMap stack:
aload 8
aload 2
aload 5
invokevirtual org.jruby.javasupport.proxy.JavaProxyConstructor.newInstance:(Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaObject;
astore 9
start local 9 7: aload 2
aload 2
aload 9
invokestatic org.jruby.javasupport.JavaUtilities.set_java_object:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 9 end local 8 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 8 0 this Lorg/jruby/javasupport/Java$JCreateMethod;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 8 3 clazz Lorg/jruby/RubyModule;
0 8 4 name Ljava/lang/String;
0 8 5 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 8 6 arity I
2 8 7 constructors [Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
4 5 8 matching Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
6 8 8 matching Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
7 8 9 newObject Lorg/jruby/javasupport/JavaObject;
MethodParameters:
Name Flags
context final
self
clazz
name
args
private org.jruby.javasupport.proxy.JavaProxyConstructor matchConstructor0ArityOne(org.jruby.runtime.ThreadContext, org.jruby.javasupport.proxy.JavaProxyConstructor[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/javasupport/proxy/JavaProxyConstructor;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
aload 2
iconst_0
invokestatic org.jruby.javasupport.Java.checkCallableForArity:(I[Lorg/jruby/javasupport/ParameterTypes;I)Lorg/jruby/javasupport/ParameterTypes;
checkcast org.jruby.javasupport.proxy.JavaProxyConstructor
astore 4
start local 4 1: aload 4
ifnonnull 3
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "wrong number of arguments for constructor"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.javasupport.proxy.JavaProxyConstructor
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
iconst_1
anewarray org.jruby.javasupport.proxy.JavaProxyConstructor
dup
iconst_0
aload 4
aastore
aload 3
4: invokestatic org.jruby.java.dispatch.CallableSelector.matchingCallableArityOne:(Lorg/jruby/Ruby;Lorg/jruby/java/dispatch/CallableSelector$CallableCache;[Lorg/jruby/javasupport/ParameterTypes;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/ParameterTypes;
checkcast org.jruby.javasupport.proxy.JavaProxyConstructor
astore 5
start local 5 5: aload 5
ifnonnull 7
6: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "wrong number of arguments for constructor"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
7: StackMap locals: org.jruby.javasupport.proxy.JavaProxyConstructor
StackMap stack:
aload 5
areturn
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 8 0 this Lorg/jruby/javasupport/Java$JCreateMethod;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 constructors [Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
0 8 3 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
1 8 4 forArity Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
5 8 5 matching Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
MethodParameters:
Name Flags
context final
constructors final
arg0 final
private org.jruby.javasupport.proxy.JavaProxyConstructor matchConstructor0(org.jruby.runtime.ThreadContext, org.jruby.javasupport.proxy.JavaProxyConstructor[], int, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/javasupport/proxy/JavaProxyConstructor;I[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
aload 2
iconst_0
invokestatic org.jruby.javasupport.Java.checkCallableForArity:(I[Lorg/jruby/javasupport/ParameterTypes;I)Lorg/jruby/javasupport/ParameterTypes;
checkcast org.jruby.javasupport.proxy.JavaProxyConstructor
astore 5
start local 5 1: aload 5
ifnonnull 3
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "wrong number of arguments for constructor"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.javasupport.proxy.JavaProxyConstructor
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
iconst_1
anewarray org.jruby.javasupport.proxy.JavaProxyConstructor
dup
iconst_0
aload 5
aastore
aload 4
4: invokestatic org.jruby.java.dispatch.CallableSelector.matchingCallableArityN:(Lorg/jruby/Ruby;Lorg/jruby/java/dispatch/CallableSelector$CallableCache;[Lorg/jruby/javasupport/ParameterTypes;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/ParameterTypes;
checkcast org.jruby.javasupport.proxy.JavaProxyConstructor
astore 6
start local 6 5: aload 6
ifnonnull 7
6: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "wrong number of arguments for constructor"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
7: StackMap locals: org.jruby.javasupport.proxy.JavaProxyConstructor
StackMap stack:
aload 6
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 8 0 this Lorg/jruby/javasupport/Java$JCreateMethod;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 constructors [Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
0 8 3 arity I
0 8 4 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 8 5 forArity Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
5 8 6 matching Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
MethodParameters:
Name Flags
context final
constructors final
arity final
args final
private org.jruby.javasupport.proxy.JavaProxyConstructor matchConstructorArityOne(org.jruby.runtime.ThreadContext, org.jruby.javasupport.proxy.JavaProxyConstructor[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/javasupport/proxy/JavaProxyConstructor;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
aload 2
invokestatic org.jruby.javasupport.Java.findCallablesForArity:(I[Lorg/jruby/javasupport/ParameterTypes;)Ljava/util/ArrayList;
astore 4
start local 4 1: aload 4
invokevirtual java.util.ArrayList.size:()I
ifne 3
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "wrong number of arguments for constructor"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: java.util.ArrayList
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 4
aload 4
invokevirtual java.util.ArrayList.size:()I
anewarray org.jruby.javasupport.proxy.JavaProxyConstructor
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.jruby.javasupport.proxy.JavaProxyConstructor[]
aload 3
4: invokestatic org.jruby.java.dispatch.CallableSelector.matchingCallableArityOne:(Lorg/jruby/Ruby;Lorg/jruby/java/dispatch/CallableSelector$CallableCache;[Lorg/jruby/javasupport/ParameterTypes;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/ParameterTypes;
checkcast org.jruby.javasupport.proxy.JavaProxyConstructor
astore 5
start local 5 5: aload 5
ifnonnull 7
6: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "wrong number of arguments for constructor"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
7: StackMap locals: org.jruby.javasupport.proxy.JavaProxyConstructor
StackMap stack:
aload 5
areturn
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 8 0 this Lorg/jruby/javasupport/Java$JCreateMethod;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 constructors [Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
0 8 3 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
1 8 4 forArity Ljava/util/ArrayList<Lorg/jruby/javasupport/proxy/JavaProxyConstructor;>;
5 8 5 matching Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
MethodParameters:
Name Flags
context final
constructors final
arg0 final
private org.jruby.javasupport.proxy.JavaProxyConstructor matchConstructor(org.jruby.runtime.ThreadContext, org.jruby.javasupport.proxy.JavaProxyConstructor[], int, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/javasupport/proxy/JavaProxyConstructor;I[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
aload 2
invokestatic org.jruby.javasupport.Java.findCallablesForArity:(I[Lorg/jruby/javasupport/ParameterTypes;)Ljava/util/ArrayList;
astore 5
start local 5 1: aload 5
invokevirtual java.util.ArrayList.size:()I
ifne 3
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "wrong number of arguments for constructor"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: java.util.ArrayList
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 5
aload 5
invokevirtual java.util.ArrayList.size:()I
anewarray org.jruby.javasupport.proxy.JavaProxyConstructor
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.jruby.javasupport.proxy.JavaProxyConstructor[]
aload 4
4: invokestatic org.jruby.java.dispatch.CallableSelector.matchingCallableArityN:(Lorg/jruby/Ruby;Lorg/jruby/java/dispatch/CallableSelector$CallableCache;[Lorg/jruby/javasupport/ParameterTypes;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/ParameterTypes;
checkcast org.jruby.javasupport.proxy.JavaProxyConstructor
astore 6
start local 6 5: aload 6
ifnonnull 7
6: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "wrong number of arguments for constructor"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
7: StackMap locals: org.jruby.javasupport.proxy.JavaProxyConstructor
StackMap stack:
aload 6
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 8 0 this Lorg/jruby/javasupport/Java$JCreateMethod;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 constructors [Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
0 8 3 arity I
0 8 4 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 8 5 forArity Ljava/util/ArrayList<Lorg/jruby/javasupport/proxy/JavaProxyConstructor;>;
5 8 6 matching Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
MethodParameters:
Name Flags
context final
constructors final
arity final
args final
public final org.jruby.javasupport.proxy.JavaProxyConstructor getSignature(int);
descriptor: (I)Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.javasupport.Java$JCreateMethod.cache:Lorg/jruby/util/collections/NonBlockingHashMapLong;
iload 1
i2l
invokevirtual org.jruby.util.collections.NonBlockingHashMapLong.get:(J)Ljava/lang/Object;
checkcast org.jruby.javasupport.proxy.JavaProxyConstructor
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/Java$JCreateMethod;
0 1 1 signatureCode I
MethodParameters:
Name Flags
signatureCode
public final void putSignature(int, org.jruby.javasupport.proxy.JavaProxyConstructor);
descriptor: (ILorg/jruby/javasupport/proxy/JavaProxyConstructor;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.javasupport.Java$JCreateMethod.cache:Lorg/jruby/util/collections/NonBlockingHashMapLong;
iload 1
i2l
aload 2
invokevirtual org.jruby.util.collections.NonBlockingHashMapLong.put:(JLjava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/Java$JCreateMethod;
0 2 1 signatureCode I
0 2 2 callable Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
MethodParameters:
Name Flags
signatureCode
callable
public org.jruby.javasupport.ParameterTypes getSignature(int);
descriptor: (I)Lorg/jruby/javasupport/ParameterTypes;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual org.jruby.javasupport.Java$JCreateMethod.getSignature:(I)Lorg/jruby/javasupport/proxy/JavaProxyConstructor;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void putSignature(int, org.jruby.javasupport.ParameterTypes);
descriptor: (ILorg/jruby/javasupport/ParameterTypes;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
aload 2
checkcast org.jruby.javasupport.proxy.JavaProxyConstructor
invokevirtual org.jruby.javasupport.Java$JCreateMethod.putSignature:(ILorg/jruby/javasupport/proxy/JavaProxyConstructor;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/jruby/internal/runtime/methods/JavaMethod$JavaMethodN;Lorg/jruby/java/dispatch/CallableSelector$CallableCache<Lorg/jruby/javasupport/proxy/JavaProxyConstructor;>;
SourceFile: "Java.java"
NestHost: org.jruby.javasupport.Java
InnerClasses:
public abstract JavaMethodN = org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN of org.jruby.internal.runtime.methods.JavaMethod
public abstract CallableCache = org.jruby.java.dispatch.CallableSelector$CallableCache of org.jruby.java.dispatch.CallableSelector
public JCreateMethod = org.jruby.javasupport.Java$JCreateMethod of org.jruby.javasupport.Java