public class org.jruby.javasupport.JavaMethod extends org.jruby.javasupport.JavaCallable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.javasupport.JavaMethod
super_class: org.jruby.javasupport.JavaCallable
{
private final java.lang.reflect.Method method;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<?> boxedReturnType;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private final boolean isFinal;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.javasupport.JavaUtil$JavaConverter returnConverter;
descriptor: Lorg/jruby/javasupport/JavaUtil$JavaConverter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/javasupport/JavaMethod;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.javasupport.JavaMethod.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public final java.lang.reflect.Method getValue();
descriptor: ()Ljava/lang/reflect/Method;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
public static org.jruby.RubyClass createJavaMethodClass(org.jruby.Ruby, org.jruby.RubyModule);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "JavaMethod"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
getstatic org.jruby.runtime.ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.RubyModule.defineClassUnder:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
1: astore 2
start local 2 2: aload 0
aload 2
invokestatic org.jruby.javasupport.JavaAccessibleObject.registerRubyMethods:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
3: aload 0
aload 2
invokestatic org.jruby.javasupport.JavaCallable.registerRubyMethods:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
4: aload 2
ldc Lorg/jruby/javasupport/JavaMethod;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 runtime Lorg/jruby/Ruby;
0 6 1 javaModule Lorg/jruby/RubyModule;
2 6 2 result Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
javaModule
public void <init>(org.jruby.Ruby, java.lang.reflect.Method);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
invokevirtual org.jruby.javasupport.JavaSupport.getJavaMethodClass:()Lorg/jruby/RubyClass;
aload 2
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
invokespecial org.jruby.javasupport.JavaCallable.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;[Ljava/lang/Class;)V
1: aload 0
aload 2
putfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
2: aload 0
aload 2
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isFinal:(I)Z
putfield org.jruby.javasupport.JavaMethod.isFinal:Z
3: aload 2
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
astore 3
start local 3 4: aload 3
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 7
aload 3
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpeq 7
5: aload 0
aload 3
invokestatic org.jruby.util.CodegenUtils.getBoxType:(Ljava/lang/Class;)Ljava/lang/Class;
putfield org.jruby.javasupport.JavaMethod.boxedReturnType:Ljava/lang/Class;
6: goto 8
7: StackMap locals: org.jruby.javasupport.JavaMethod org.jruby.Ruby java.lang.reflect.Method java.lang.Class
StackMap stack:
aload 0
aload 3
putfield org.jruby.javasupport.JavaMethod.boxedReturnType:Ljava/lang/Class;
8: StackMap locals:
StackMap stack:
getstatic org.jruby.RubyInstanceConfig.SET_ACCESSIBLE:Z
ifeq 15
9: aload 2
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 15
10: aload 2
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 15
11: aload 2
invokestatic org.jruby.javasupport.Java.trySetAccessible:(Ljava/lang/reflect/AccessibleObject;)Z
pop
12: goto 15
StackMap locals:
StackMap stack: java.lang.SecurityException
13: astore 4
start local 4 14: aload 1
invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
new java.lang.StringBuilder
dup
ldc "failed to setAccessible: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", exception follows: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.SecurityException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.common.RubyWarnings.warn:(Ljava/lang/String;)V
end local 4 15: StackMap locals:
StackMap stack:
aload 0
aload 3
invokestatic org.jruby.javasupport.JavaUtil.getJavaConverter:(Ljava/lang/Class;)Lorg/jruby/javasupport/JavaUtil$JavaConverter;
putfield org.jruby.javasupport.JavaMethod.returnConverter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jruby/javasupport/JavaMethod;
0 17 1 runtime Lorg/jruby/Ruby;
0 17 2 method Ljava/lang/reflect/Method;
4 17 3 returnType Ljava/lang/Class<*>;
14 15 4 se Ljava/lang/SecurityException;
Exception table:
from to target type
9 12 13 Class java.lang.SecurityException
MethodParameters:
Name Flags
runtime
method
public static org.jruby.javasupport.JavaMethod create(org.jruby.Ruby, java.lang.reflect.Method);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)Lorg/jruby/javasupport/JavaMethod;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.javasupport.JavaMethod
dup
aload 0
aload 1
invokespecial org.jruby.javasupport.JavaMethod.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 method Ljava/lang/reflect/Method;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
method
public static org.jruby.javasupport.JavaMethod create(org.jruby.Ruby, java.lang.Class<?>, java.lang.String, java.lang.Class<?>[]);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/JavaMethod;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
invokestatic org.jruby.javasupport.JavaMethod.create:(Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)Lorg/jruby/javasupport/JavaMethod;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
3: aload 0
aload 0
aload 0
aload 2
invokestatic org.jruby.util.RubyStringBuilder.ids:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
aload 0
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic org.jruby.util.RubyStringBuilder.ids:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
iconst_0
invokestatic org.jruby.RubyModule.undefinedMethodMessage:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Z)Ljava/lang/String;
aload 2
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
0 4 1 javaClass Ljava/lang/Class<*>;
0 4 2 methodName Ljava/lang/String;
0 4 3 argumentTypes [Ljava/lang/Class;
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodException
Signature: (Lorg/jruby/Ruby;Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class<*>;)Lorg/jruby/javasupport/JavaMethod;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
javaClass
methodName
argumentTypes
public static org.jruby.javasupport.JavaMethod createDeclared(org.jruby.Ruby, java.lang.Class<?>, java.lang.String, java.lang.Class<?>[]);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/JavaMethod;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
invokestatic org.jruby.javasupport.JavaMethod.create:(Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)Lorg/jruby/javasupport/JavaMethod;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
3: aload 0
aload 0
aload 0
aload 2
invokestatic org.jruby.util.RubyStringBuilder.ids:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
aload 0
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic org.jruby.util.RubyStringBuilder.ids:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
iconst_0
invokestatic org.jruby.RubyModule.undefinedMethodMessage:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Z)Ljava/lang/String;
aload 2
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
0 4 1 javaClass Ljava/lang/Class<*>;
0 4 2 methodName Ljava/lang/String;
0 4 3 argumentTypes [Ljava/lang/Class;
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodException
Signature: (Lorg/jruby/Ruby;Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class<*>;)Lorg/jruby/javasupport/JavaMethod;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
javaClass
methodName
argumentTypes
public static org.jruby.javasupport.JavaMethod getMatchingDeclaredMethod(org.jruby.Ruby, java.lang.Class<?>, java.lang.String, java.lang.Class<?>[]);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/JavaMethod;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.jruby.javasupport.JavaMethod
dup
aload 0
aload 1
aload 2
aload 3
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
invokespecial org.jruby.javasupport.JavaMethod.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)V
1: areturn
2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
3: aload 1
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 17
StackMap locals: org.jruby.Ruby java.lang.Class java.lang.String java.lang.Class[] top int int java.lang.reflect.Method[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: aload 4
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
6: aload 4
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
astore 8
start local 8 7: aload 8
arraylength
ifne 9
aload 3
arraylength
ifne 9
8: new org.jruby.javasupport.JavaMethod
dup
aload 0
aload 4
invokespecial org.jruby.javasupport.JavaMethod.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)V
areturn
9: StackMap locals: org.jruby.Ruby java.lang.Class java.lang.String java.lang.Class[] java.lang.reflect.Method int int java.lang.reflect.Method[] java.lang.Class[]
StackMap stack:
iconst_0
istore 9
start local 9 10: goto 14
11: StackMap locals: int
StackMap stack:
iload 9
aload 8
arraylength
if_icmplt 12
goto 16
12: StackMap locals:
StackMap stack:
aload 8
iload 9
aaload
aload 3
iload 9
aaload
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 16
13: iinc 9 1
StackMap locals:
StackMap stack:
14: iload 9
aload 3
arraylength
if_icmplt 11
end local 9 15: new org.jruby.javasupport.JavaMethod
dup
aload 0
aload 4
invokespecial org.jruby.javasupport.JavaMethod.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)V
areturn
end local 8 end local 4 16: StackMap locals: org.jruby.Ruby java.lang.Class java.lang.String java.lang.Class[] top int int java.lang.reflect.Method[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
iload 6
if_icmplt 4
18: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 runtime Lorg/jruby/Ruby;
0 19 1 javaClass Ljava/lang/Class<*>;
0 19 2 methodName Ljava/lang/String;
0 19 3 argumentTypes [Ljava/lang/Class;
5 16 4 method Ljava/lang/reflect/Method;
7 16 8 targetTypes [Ljava/lang/Class;
10 15 9 i I
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodException
Signature: (Lorg/jruby/Ruby;Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class<*>;)Lorg/jruby/javasupport/JavaMethod;
MethodParameters:
Name Flags
runtime
javaClass
methodName
argumentTypes
public final boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.javasupport.JavaMethod
ifeq 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 1
checkcast org.jruby.javasupport.JavaMethod
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaMethod;
0 2 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
public final int hashCode();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
public org.jruby.RubyString name();
descriptor: ()Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyBoolean public_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"public?"})
public org.jruby.RubyBoolean final_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isFinal:(I)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"final?"})
public org.jruby.runtime.builtin.IRubyObject invoke(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
arraylength
iconst_1
isub
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
1: aload 2
iconst_0
aaload
astore 3
start local 3 2: aload 0
aload 2
iconst_1
invokevirtual org.jruby.javasupport.JavaMethod.convertArguments:([Lorg/jruby/runtime/builtin/IRubyObject;I)[Ljava/lang/Object;
astore 4
start local 4 3: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 5
4: aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aconst_null
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.invokeWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
5: StackMap locals: org.jruby.runtime.builtin.IRubyObject java.lang.Object[]
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaMethod.isStatic:()Z
ifne 22
6: aload 3
invokestatic org.jruby.javasupport.JavaUtil.unwrapJavaValue:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
astore 5
start local 5 7: aload 5
ifnonnull 9
8: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
ldc "invokee not a java object"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
9: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
aload 5
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 16
10: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
11: new java.lang.StringBuilder
dup
ldc "invokee not instance of method's class (got"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: ldc " wanted "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
16: StackMap locals:
StackMap stack:
aload 5
instanceof org.jruby.javasupport.proxy.InternalJavaProxy
ifeq 23
17: aload 0
getfield org.jruby.javasupport.JavaMethod.isFinal:Z
ifne 23
18: aload 5
checkcast org.jruby.javasupport.proxy.InternalJavaProxy
invokeinterface org.jruby.javasupport.proxy.InternalJavaProxy.___getProxyClass:()Lorg/jruby/javasupport/proxy/JavaProxyClass;
astore 6
start local 6 19: aload 6
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 0
getfield org.jruby.javasupport.JavaMethod.parameterTypes:[Ljava/lang/Class;
invokevirtual org.jruby.javasupport.proxy.JavaProxyClass.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/proxy/JavaProxyMethod;
astore 7
start local 7 20: aload 7
ifnull 23
aload 7
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.hasSuperImplementation:()Z
ifeq 23
21: aload 0
aload 1
aload 7
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.getSuperMethod:()Ljava/lang/reflect/Method;
aload 5
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.invokeWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 7 end local 6 end local 5 22: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 23: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 5
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.invokeWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)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 24 0 this Lorg/jruby/javasupport/JavaMethod;
0 24 1 context Lorg/jruby/runtime/ThreadContext;
0 24 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
2 24 3 invokee Lorg/jruby/runtime/builtin/IRubyObject;
3 24 4 arguments [Ljava/lang/Object;
7 22 5 javaInvokee Ljava/lang/Object;
23 24 5 javaInvokee Ljava/lang/Object;
19 22 6 jpc Lorg/jruby/javasupport/proxy/JavaProxyClass;
20 22 7 jpm Lorg/jruby/javasupport/proxy/JavaProxyMethod;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(rest = true)
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject invoke_static(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
arraylength
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
1: aload 0
aload 2
iconst_0
invokevirtual org.jruby.javasupport.JavaMethod.convertArguments:([Lorg/jruby/runtime/builtin/IRubyObject;I)[Ljava/lang/Object;
astore 3
start local 3 2: aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aconst_null
aload 3
invokevirtual org.jruby.javasupport.JavaMethod.invokeWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaMethod;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
2 3 3 arguments [Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(rest = true)
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject return_type();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
astore 1
start local 1 1: aload 1
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 3
2: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaMethod;
1 4 1 klass Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject type_parameters();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getTypeParameters:()[Ljava/lang/reflect/TypeVariable;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject invokeDirect(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
arraylength
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
1: aload 0
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.checkInstanceof:(Ljava/lang/Object;)V
2: aload 0
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.mightBeProxy:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.javasupport.JavaMethod.tryProxyInvocation:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
aload 3
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
0 5 3 args [Ljava/lang/Object;
MethodParameters:
Name Flags
context
javaInvokee
args
public org.jruby.runtime.builtin.IRubyObject invokeDirect(org.jruby.runtime.ThreadContext, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jruby.javasupport.JavaMethod.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
2: aload 0
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.mightBeProxy:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
aload 1
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.tryProxyInvocation:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
MethodParameters:
Name Flags
context
javaInvokee
public org.jruby.runtime.builtin.IRubyObject invokeDirect(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.jruby.javasupport.JavaMethod.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
2: aload 0
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.mightBeProxy:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.javasupport.JavaMethod.tryProxyInvocation:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
aload 3
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
0 5 3 arg0 Ljava/lang/Object;
MethodParameters:
Name Flags
context
javaInvokee
arg0
public org.jruby.runtime.builtin.IRubyObject invokeDirect(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.jruby.javasupport.JavaMethod.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_2
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
2: aload 0
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.mightBeProxy:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
aload 1
aload 2
aload 3
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.tryProxyInvocation:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
aload 3
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
0 5 3 arg0 Ljava/lang/Object;
0 5 4 arg1 Ljava/lang/Object;
MethodParameters:
Name Flags
context
javaInvokee
arg0
arg1
public org.jruby.runtime.builtin.IRubyObject invokeDirect(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic org.jruby.javasupport.JavaMethod.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_3
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
2: aload 0
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.mightBeProxy:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.tryProxyInvocation:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
aload 3
aload 4
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)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 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
0 5 3 arg0 Ljava/lang/Object;
0 5 4 arg1 Ljava/lang/Object;
0 5 5 arg2 Ljava/lang/Object;
MethodParameters:
Name Flags
context
javaInvokee
arg0
arg1
arg2
public org.jruby.runtime.builtin.IRubyObject invokeDirect(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, 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: getstatic org.jruby.javasupport.JavaMethod.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_4
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
2: aload 0
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.mightBeProxy:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
invokevirtual org.jruby.javasupport.JavaMethod.tryProxyInvocation:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
aload 3
aload 4
aload 5
aload 6
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
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 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
0 5 3 arg0 Ljava/lang/Object;
0 5 4 arg1 Ljava/lang/Object;
0 5 5 arg2 Ljava/lang/Object;
0 5 6 arg3 Ljava/lang/Object;
MethodParameters:
Name Flags
context
javaInvokee
arg0
arg1
arg2
arg3
public org.jruby.runtime.builtin.IRubyObject invokeStaticDirect(org.jruby.runtime.ThreadContext, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
arraylength
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
1: aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aconst_null
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaMethod;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject invokeStaticDirect(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
1: aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aconst_null
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaMethod;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject invokeStaticDirect(org.jruby.runtime.ThreadContext, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_1
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
1: aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aconst_null
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaMethod;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 arg0 Ljava/lang/Object;
MethodParameters:
Name Flags
context
arg0
public org.jruby.runtime.builtin.IRubyObject invokeStaticDirect(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_2
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
1: aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aconst_null
aload 2
aload 3
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaMethod;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 arg0 Ljava/lang/Object;
0 2 3 arg1 Ljava/lang/Object;
MethodParameters:
Name Flags
context
arg0
arg1
public org.jruby.runtime.builtin.IRubyObject invokeStaticDirect(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iconst_3
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
1: aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aconst_null
aload 2
aload 3
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaMethod;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 arg0 Ljava/lang/Object;
0 2 3 arg1 Ljava/lang/Object;
0 2 4 arg2 Ljava/lang/Object;
MethodParameters:
Name Flags
context
arg0
arg1
arg2
public org.jruby.runtime.builtin.IRubyObject invokeStaticDirect(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, 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
iconst_4
invokevirtual org.jruby.javasupport.JavaMethod.checkArity:(I)V
1: aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aconst_null
aload 2
aload 3
aload 4
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)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 2 0 this Lorg/jruby/javasupport/JavaMethod;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 arg0 Ljava/lang/Object;
0 2 3 arg1 Ljava/lang/Object;
0 2 4 arg2 Ljava/lang/Object;
0 2 5 arg3 Ljava/lang/Object;
MethodParameters:
Name Flags
context
arg0
arg1
arg2
arg3
private void checkInstanceof(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 2
1: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "invokee not instance of method's class (got"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " wanted "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaMethod;
0 3 1 javaInvokee Ljava/lang/Object;
Exceptions:
throws org.jruby.exceptions.RaiseException
MethodParameters:
Name Flags
javaInvokee
private org.jruby.runtime.builtin.IRubyObject invokeWithExceptionHandling(org.jruby.runtime.ThreadContext, java.lang.reflect.Method, java.lang.Object, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 3
aload 4
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 1: aload 0
getfield org.jruby.javasupport.JavaMethod.returnConverter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
aload 5
invokevirtual org.jruby.javasupport.JavaUtil$JavaConverter.convert:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
2: areturn
end local 5 3: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 5
start local 5 4: aload 0
aload 5
aload 2
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.handlelIllegalArgumentEx:(Ljava/lang/IllegalArgumentException;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 5: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 5
start local 5 6: aload 0
aload 5
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.handleIllegalAccessEx:(Ljava/lang/IllegalAccessException;Ljava/lang/reflect/Member;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 7: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 5
start local 5 8: aload 0
aload 1
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.handleInvocationTargetEx:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/InvocationTargetException;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 10: aload 0
aload 1
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.handleThrowable:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Throwable;)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 11 0 this Lorg/jruby/javasupport/JavaMethod;
0 11 1 context Lorg/jruby/runtime/ThreadContext;
0 11 2 method Ljava/lang/reflect/Method;
0 11 3 javaInvokee Ljava/lang/Object;
0 11 4 arguments [Ljava/lang/Object;
1 3 5 result Ljava/lang/Object;
4 5 5 iae Ljava/lang/IllegalArgumentException;
6 7 5 iae Ljava/lang/IllegalAccessException;
8 9 5 ite Ljava/lang/reflect/InvocationTargetException;
10 11 5 t Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.IllegalArgumentException
0 2 5 Class java.lang.IllegalAccessException
0 2 7 Class java.lang.reflect.InvocationTargetException
0 2 9 Class java.lang.Throwable
MethodParameters:
Name Flags
context
method
javaInvokee
arguments
private org.jruby.runtime.builtin.IRubyObject invokeDirectSuperWithExceptionHandling(org.jruby.runtime.ThreadContext, java.lang.reflect.Method, java.lang.Object, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 3
aload 4
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 1: aload 0
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.convertReturn:(Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
2: areturn
end local 5 3: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 5
start local 5 4: aload 0
aload 5
aload 2
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.handlelIllegalArgumentEx:(Ljava/lang/IllegalArgumentException;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 5: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 5
start local 5 6: aload 0
aload 5
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.handleIllegalAccessEx:(Ljava/lang/IllegalAccessException;Ljava/lang/reflect/Member;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 7: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 5
start local 5 8: aload 0
aload 1
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.handleInvocationTargetEx:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/InvocationTargetException;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 10: aload 0
aload 1
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.handleThrowable:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Throwable;)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 11 0 this Lorg/jruby/javasupport/JavaMethod;
0 11 1 context Lorg/jruby/runtime/ThreadContext;
0 11 2 method Ljava/lang/reflect/Method;
0 11 3 javaInvokee Ljava/lang/Object;
0 11 4 arguments [Ljava/lang/Object;
1 3 5 result Ljava/lang/Object;
4 5 5 iae Ljava/lang/IllegalArgumentException;
6 7 5 iae Ljava/lang/IllegalAccessException;
8 9 5 ite Ljava/lang/reflect/InvocationTargetException;
10 11 5 t Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.IllegalArgumentException
0 2 5 Class java.lang.IllegalAccessException
0 2 7 Class java.lang.reflect.InvocationTargetException
0 2 9 Class java.lang.Throwable
MethodParameters:
Name Flags
context
method
javaInvokee
arguments
private org.jruby.runtime.builtin.IRubyObject invokeDirectWithExceptionHandling(org.jruby.runtime.ThreadContext, java.lang.reflect.Method, java.lang.Object, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 3
aload 4
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 1: aload 0
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.convertReturn:(Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
2: areturn
end local 5 3: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 5
start local 5 4: aload 0
aload 5
aload 2
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.handlelIllegalArgumentEx:(Ljava/lang/IllegalArgumentException;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 5: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 5
start local 5 6: aload 0
aload 5
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.handleIllegalAccessEx:(Ljava/lang/IllegalAccessException;Ljava/lang/reflect/Member;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 7: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 5
start local 5 8: aload 0
aload 1
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.handleInvocationTargetEx:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/InvocationTargetException;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 10: aload 0
aload 1
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.handleThrowable:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Throwable;)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 11 0 this Lorg/jruby/javasupport/JavaMethod;
0 11 1 context Lorg/jruby/runtime/ThreadContext;
0 11 2 method Ljava/lang/reflect/Method;
0 11 3 javaInvokee Ljava/lang/Object;
0 11 4 arguments [Ljava/lang/Object;
1 3 5 result Ljava/lang/Object;
4 5 5 iae Ljava/lang/IllegalArgumentException;
6 7 5 iae Ljava/lang/IllegalAccessException;
8 9 5 ite Ljava/lang/reflect/InvocationTargetException;
10 11 5 t Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.IllegalArgumentException
0 2 5 Class java.lang.IllegalAccessException
0 2 7 Class java.lang.reflect.InvocationTargetException
0 2 9 Class java.lang.Throwable
MethodParameters:
Name Flags
context
method
javaInvokee
arguments
private org.jruby.runtime.builtin.IRubyObject invokeDirectWithExceptionHandling(org.jruby.runtime.ThreadContext, java.lang.reflect.Method, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 3
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 1: aload 0
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.convertReturn:(Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
2: areturn
end local 4 3: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 4
start local 4 4: aload 0
aload 4
aload 2
iconst_0
anewarray java.lang.Object
invokevirtual org.jruby.javasupport.JavaMethod.handlelIllegalArgumentEx:(Ljava/lang/IllegalArgumentException;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 5: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 4
start local 4 6: aload 0
aload 4
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.handleIllegalAccessEx:(Ljava/lang/IllegalAccessException;Ljava/lang/reflect/Member;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 7: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 4
start local 4 8: aload 0
aload 1
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.handleInvocationTargetEx:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/InvocationTargetException;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 10: aload 0
aload 1
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.handleThrowable:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Throwable;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/javasupport/JavaMethod;
0 11 1 context Lorg/jruby/runtime/ThreadContext;
0 11 2 method Ljava/lang/reflect/Method;
0 11 3 javaInvokee Ljava/lang/Object;
1 3 4 result Ljava/lang/Object;
4 5 4 iae Ljava/lang/IllegalArgumentException;
6 7 4 iae Ljava/lang/IllegalAccessException;
8 9 4 ite Ljava/lang/reflect/InvocationTargetException;
10 11 4 t Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.IllegalArgumentException
0 2 5 Class java.lang.IllegalAccessException
0 2 7 Class java.lang.reflect.InvocationTargetException
0 2 9 Class java.lang.Throwable
MethodParameters:
Name Flags
context
method
javaInvokee
private org.jruby.runtime.builtin.IRubyObject invokeDirectWithExceptionHandling(org.jruby.runtime.ThreadContext, java.lang.reflect.Method, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 3
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 1: aload 0
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.convertReturn:(Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
2: areturn
end local 5 3: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 5
start local 5 4: aload 0
aload 5
aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual org.jruby.javasupport.JavaMethod.handlelIllegalArgumentEx:(Ljava/lang/IllegalArgumentException;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 5: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 5
start local 5 6: aload 0
aload 5
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.handleIllegalAccessEx:(Ljava/lang/IllegalAccessException;Ljava/lang/reflect/Member;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 7: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 5
start local 5 8: aload 0
aload 1
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.handleInvocationTargetEx:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/InvocationTargetException;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 10: aload 0
aload 1
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.handleThrowable:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Throwable;)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 11 0 this Lorg/jruby/javasupport/JavaMethod;
0 11 1 context Lorg/jruby/runtime/ThreadContext;
0 11 2 method Ljava/lang/reflect/Method;
0 11 3 javaInvokee Ljava/lang/Object;
0 11 4 arg0 Ljava/lang/Object;
1 3 5 result Ljava/lang/Object;
4 5 5 iae Ljava/lang/IllegalArgumentException;
6 7 5 iae Ljava/lang/IllegalAccessException;
8 9 5 ite Ljava/lang/reflect/InvocationTargetException;
10 11 5 t Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.IllegalArgumentException
0 2 5 Class java.lang.IllegalAccessException
0 2 7 Class java.lang.reflect.InvocationTargetException
0 2 9 Class java.lang.Throwable
MethodParameters:
Name Flags
context
method
javaInvokee
arg0
private org.jruby.runtime.builtin.IRubyObject invokeDirectWithExceptionHandling(org.jruby.runtime.ThreadContext, java.lang.reflect.Method, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
aload 3
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 5
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 1: aload 0
aload 6
invokevirtual org.jruby.javasupport.JavaMethod.convertReturn:(Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
2: areturn
end local 6 3: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 6
start local 6 4: aload 0
aload 6
aload 2
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 5
aastore
invokevirtual org.jruby.javasupport.JavaMethod.handlelIllegalArgumentEx:(Ljava/lang/IllegalArgumentException;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 6 5: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 6
start local 6 6: aload 0
aload 6
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.handleIllegalAccessEx:(Ljava/lang/IllegalAccessException;Ljava/lang/reflect/Member;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 6 7: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 6
start local 6 8: aload 0
aload 1
aload 6
invokevirtual org.jruby.javasupport.JavaMethod.handleInvocationTargetEx:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/InvocationTargetException;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 6 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
start local 6 10: aload 0
aload 1
aload 6
invokevirtual org.jruby.javasupport.JavaMethod.handleThrowable:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Throwable;)Lorg/jruby/runtime/builtin/IRubyObject;
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 11 0 this Lorg/jruby/javasupport/JavaMethod;
0 11 1 context Lorg/jruby/runtime/ThreadContext;
0 11 2 method Ljava/lang/reflect/Method;
0 11 3 javaInvokee Ljava/lang/Object;
0 11 4 arg0 Ljava/lang/Object;
0 11 5 arg1 Ljava/lang/Object;
1 3 6 result Ljava/lang/Object;
4 5 6 iae Ljava/lang/IllegalArgumentException;
6 7 6 iae Ljava/lang/IllegalAccessException;
8 9 6 ite Ljava/lang/reflect/InvocationTargetException;
10 11 6 t Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.IllegalArgumentException
0 2 5 Class java.lang.IllegalAccessException
0 2 7 Class java.lang.reflect.InvocationTargetException
0 2 9 Class java.lang.Throwable
MethodParameters:
Name Flags
context
method
javaInvokee
arg0
arg1
private org.jruby.runtime.builtin.IRubyObject invokeDirectWithExceptionHandling(org.jruby.runtime.ThreadContext, java.lang.reflect.Method, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, 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 2
aload 3
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
aload 6
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 1: aload 0
aload 7
invokevirtual org.jruby.javasupport.JavaMethod.convertReturn:(Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
2: areturn
end local 7 3: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 7
start local 7 4: aload 0
aload 7
aload 2
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
aload 6
aastore
invokevirtual org.jruby.javasupport.JavaMethod.handlelIllegalArgumentEx:(Ljava/lang/IllegalArgumentException;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 7 5: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 7
start local 7 6: aload 0
aload 7
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.handleIllegalAccessEx:(Ljava/lang/IllegalAccessException;Ljava/lang/reflect/Member;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 7 7: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 7
start local 7 8: aload 0
aload 1
aload 7
invokevirtual org.jruby.javasupport.JavaMethod.handleInvocationTargetEx:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/InvocationTargetException;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 7 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
start local 7 10: aload 0
aload 1
aload 7
invokevirtual org.jruby.javasupport.JavaMethod.handleThrowable:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Throwable;)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 11 0 this Lorg/jruby/javasupport/JavaMethod;
0 11 1 context Lorg/jruby/runtime/ThreadContext;
0 11 2 method Ljava/lang/reflect/Method;
0 11 3 javaInvokee Ljava/lang/Object;
0 11 4 arg0 Ljava/lang/Object;
0 11 5 arg1 Ljava/lang/Object;
0 11 6 arg2 Ljava/lang/Object;
1 3 7 result Ljava/lang/Object;
4 5 7 iae Ljava/lang/IllegalArgumentException;
6 7 7 iae Ljava/lang/IllegalAccessException;
8 9 7 ite Ljava/lang/reflect/InvocationTargetException;
10 11 7 t Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.IllegalArgumentException
0 2 5 Class java.lang.IllegalAccessException
0 2 7 Class java.lang.reflect.InvocationTargetException
0 2 9 Class java.lang.Throwable
MethodParameters:
Name Flags
context
method
javaInvokee
arg0
arg1
arg2
private org.jruby.runtime.builtin.IRubyObject invokeDirectWithExceptionHandling(org.jruby.runtime.ThreadContext, java.lang.reflect.Method, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 2
aload 3
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
aload 6
aastore
dup
iconst_3
aload 7
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 1: aload 0
aload 8
invokevirtual org.jruby.javasupport.JavaMethod.convertReturn:(Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
2: areturn
end local 8 3: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 8
start local 8 4: aload 0
aload 8
aload 2
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
aload 6
aastore
dup
iconst_3
aload 7
aastore
invokevirtual org.jruby.javasupport.JavaMethod.handlelIllegalArgumentEx:(Ljava/lang/IllegalArgumentException;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 8 5: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 8
start local 8 6: aload 0
aload 8
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.handleIllegalAccessEx:(Ljava/lang/IllegalAccessException;Ljava/lang/reflect/Member;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 8 7: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 8
start local 8 8: aload 0
aload 1
aload 8
invokevirtual org.jruby.javasupport.JavaMethod.handleInvocationTargetEx:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/InvocationTargetException;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 8 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
start local 8 10: aload 0
aload 1
aload 8
invokevirtual org.jruby.javasupport.JavaMethod.handleThrowable:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Throwable;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 11 0 this Lorg/jruby/javasupport/JavaMethod;
0 11 1 context Lorg/jruby/runtime/ThreadContext;
0 11 2 method Ljava/lang/reflect/Method;
0 11 3 javaInvokee Ljava/lang/Object;
0 11 4 arg0 Ljava/lang/Object;
0 11 5 arg1 Ljava/lang/Object;
0 11 6 arg2 Ljava/lang/Object;
0 11 7 arg3 Ljava/lang/Object;
1 3 8 result Ljava/lang/Object;
4 5 8 iae Ljava/lang/IllegalArgumentException;
6 7 8 iae Ljava/lang/IllegalAccessException;
8 9 8 ite Ljava/lang/reflect/InvocationTargetException;
10 11 8 t Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.IllegalArgumentException
0 2 5 Class java.lang.IllegalAccessException
0 2 7 Class java.lang.reflect.InvocationTargetException
0 2 9 Class java.lang.Throwable
MethodParameters:
Name Flags
context
method
javaInvokee
arg0
arg1
arg2
arg3
private org.jruby.runtime.builtin.IRubyObject convertReturn(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 0
getfield org.jruby.javasupport.JavaMethod.boxedReturnType:Ljava/lang/Class;
if_acmpeq 2
1: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.returnConverter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObjectWithConverter:(Lorg/jruby/Ruby;Ljava/lang/Object;Lorg/jruby/javasupport/JavaUtil$JavaConverter;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaMethod;
0 3 1 result Ljava/lang/Object;
MethodParameters:
Name Flags
result
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
public java.lang.Class<?>[] getExceptionTypes();
descriptor: ()[Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getExceptionTypes:()[Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
Signature: ()[Ljava/lang/Class<*>;
public java.lang.reflect.Type[] getGenericParameterTypes();
descriptor: ()[Ljava/lang/reflect/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getGenericParameterTypes:()[Ljava/lang/reflect/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
public java.lang.reflect.Type[] getGenericExceptionTypes();
descriptor: ()[Ljava/lang/reflect/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getGenericExceptionTypes:()[Ljava/lang/reflect/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
public java.lang.annotation.Annotation[][] getParameterAnnotations();
descriptor: ()[[Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getParameterAnnotations:()[[Ljava/lang/annotation/Annotation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
public final boolean isVarArgs();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.isVarArgs:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
protected java.lang.String nameOnInspection();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getType:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
public org.jruby.RubyString inspect();
descriptor: ()Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "#<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getType:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
aload 0
invokestatic org.jruby.javasupport.JavaMethod.inspectParameterTypes:(Ljava/lang/StringBuilder;Lorg/jruby/javasupport/ParameterTypes;)Ljava/lang/StringBuilder;
pop
4: aload 1
bipush 62
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Ljava/lang/CharSequence;)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/javasupport/JavaMethod;
1 6 1 str Ljava/lang/StringBuilder;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyBoolean static_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaMethod.isStatic:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"static?"})
public org.jruby.RubyBoolean bridge_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.isBridge:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
private boolean isStatic();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
public final int getModifiers();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getModifiers:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
public java.lang.String toGenericString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.toGenericString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
public final java.lang.reflect.AccessibleObject accessibleObject();
descriptor: ()Ljava/lang/reflect/AccessibleObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaMethod;
private boolean mightBeProxy(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.javasupport.proxy.InternalJavaProxy
ifeq 1
aload 0
getfield org.jruby.javasupport.JavaMethod.isFinal:Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaMethod;
0 2 1 javaInvokee Ljava/lang/Object;
MethodParameters:
Name Flags
javaInvokee
private org.jruby.runtime.builtin.IRubyObject tryProxyInvocation(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
checkcast org.jruby.javasupport.proxy.InternalJavaProxy
invokeinterface org.jruby.javasupport.proxy.InternalJavaProxy.___getProxyClass:()Lorg/jruby/javasupport/proxy/JavaProxyClass;
astore 4
start local 4 1: aload 4
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 0
getfield org.jruby.javasupport.JavaMethod.parameterTypes:[Ljava/lang/Class;
invokevirtual org.jruby.javasupport.proxy.JavaProxyClass.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/proxy/JavaProxyMethod;
dup
astore 5
start local 5 2: ifnull 4
aload 5
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.hasSuperImplementation:()Z
ifeq 4
3: aload 0
aload 1
aload 5
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.getSuperMethod:()Ljava/lang/reflect/Method;
aload 2
aload 3
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectSuperWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals: org.jruby.javasupport.proxy.JavaProxyClass org.jruby.javasupport.proxy.JavaProxyMethod
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
aload 3
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)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 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
0 5 3 args [Ljava/lang/Object;
1 5 4 jpc Lorg/jruby/javasupport/proxy/JavaProxyClass;
2 5 5 jpm Lorg/jruby/javasupport/proxy/JavaProxyMethod;
MethodParameters:
Name Flags
context
javaInvokee
args
private org.jruby.runtime.builtin.IRubyObject tryProxyInvocation(org.jruby.runtime.ThreadContext, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
checkcast org.jruby.javasupport.proxy.InternalJavaProxy
invokeinterface org.jruby.javasupport.proxy.InternalJavaProxy.___getProxyClass:()Lorg/jruby/javasupport/proxy/JavaProxyClass;
astore 3
start local 3 1: aload 3
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 0
getfield org.jruby.javasupport.JavaMethod.parameterTypes:[Ljava/lang/Class;
invokevirtual org.jruby.javasupport.proxy.JavaProxyClass.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/proxy/JavaProxyMethod;
dup
astore 4
start local 4 2: ifnull 4
aload 4
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.hasSuperImplementation:()Z
ifeq 4
3: aload 0
aload 1
aload 4
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.getSuperMethod:()Ljava/lang/reflect/Method;
aload 2
iconst_0
anewarray java.lang.Object
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectSuperWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals: org.jruby.javasupport.proxy.JavaProxyClass org.jruby.javasupport.proxy.JavaProxyMethod
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
1 5 3 jpc Lorg/jruby/javasupport/proxy/JavaProxyClass;
2 5 4 jpm Lorg/jruby/javasupport/proxy/JavaProxyMethod;
MethodParameters:
Name Flags
context
javaInvokee
private org.jruby.runtime.builtin.IRubyObject tryProxyInvocation(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
checkcast org.jruby.javasupport.proxy.InternalJavaProxy
invokeinterface org.jruby.javasupport.proxy.InternalJavaProxy.___getProxyClass:()Lorg/jruby/javasupport/proxy/JavaProxyClass;
astore 4
start local 4 1: aload 4
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 0
getfield org.jruby.javasupport.JavaMethod.parameterTypes:[Ljava/lang/Class;
invokevirtual org.jruby.javasupport.proxy.JavaProxyClass.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/proxy/JavaProxyMethod;
dup
astore 5
start local 5 2: ifnull 4
aload 5
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.hasSuperImplementation:()Z
ifeq 4
3: aload 0
aload 1
aload 5
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.getSuperMethod:()Ljava/lang/reflect/Method;
aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectSuperWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals: org.jruby.javasupport.proxy.JavaProxyClass org.jruby.javasupport.proxy.JavaProxyMethod
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
aload 3
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;)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 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
0 5 3 arg0 Ljava/lang/Object;
1 5 4 jpc Lorg/jruby/javasupport/proxy/JavaProxyClass;
2 5 5 jpm Lorg/jruby/javasupport/proxy/JavaProxyMethod;
MethodParameters:
Name Flags
context
javaInvokee
arg0
private org.jruby.runtime.builtin.IRubyObject tryProxyInvocation(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
checkcast org.jruby.javasupport.proxy.InternalJavaProxy
invokeinterface org.jruby.javasupport.proxy.InternalJavaProxy.___getProxyClass:()Lorg/jruby/javasupport/proxy/JavaProxyClass;
astore 5
start local 5 1: aload 5
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 0
getfield org.jruby.javasupport.JavaMethod.parameterTypes:[Ljava/lang/Class;
invokevirtual org.jruby.javasupport.proxy.JavaProxyClass.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/proxy/JavaProxyMethod;
dup
astore 6
start local 6 2: ifnull 4
aload 6
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.hasSuperImplementation:()Z
ifeq 4
3: aload 0
aload 1
aload 6
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.getSuperMethod:()Ljava/lang/reflect/Method;
aload 2
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectSuperWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals: org.jruby.javasupport.proxy.JavaProxyClass org.jruby.javasupport.proxy.JavaProxyMethod
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
aload 3
aload 4
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
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 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
0 5 3 arg0 Ljava/lang/Object;
0 5 4 arg1 Ljava/lang/Object;
1 5 5 jpc Lorg/jruby/javasupport/proxy/JavaProxyClass;
2 5 6 jpm Lorg/jruby/javasupport/proxy/JavaProxyMethod;
MethodParameters:
Name Flags
context
javaInvokee
arg0
arg1
private org.jruby.runtime.builtin.IRubyObject tryProxyInvocation(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
checkcast org.jruby.javasupport.proxy.InternalJavaProxy
invokeinterface org.jruby.javasupport.proxy.InternalJavaProxy.___getProxyClass:()Lorg/jruby/javasupport/proxy/JavaProxyClass;
astore 6
start local 6 1: aload 6
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 0
getfield org.jruby.javasupport.JavaMethod.parameterTypes:[Ljava/lang/Class;
invokevirtual org.jruby.javasupport.proxy.JavaProxyClass.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/proxy/JavaProxyMethod;
dup
astore 7
start local 7 2: ifnull 4
aload 7
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.hasSuperImplementation:()Z
ifeq 4
3: aload 0
aload 1
aload 7
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.getSuperMethod:()Ljava/lang/reflect/Method;
aload 2
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
dup
iconst_2
aload 5
aastore
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectSuperWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals: org.jruby.javasupport.proxy.JavaProxyClass org.jruby.javasupport.proxy.JavaProxyMethod
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
aload 3
aload 4
aload 5
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)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 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
0 5 3 arg0 Ljava/lang/Object;
0 5 4 arg1 Ljava/lang/Object;
0 5 5 arg2 Ljava/lang/Object;
1 5 6 jpc Lorg/jruby/javasupport/proxy/JavaProxyClass;
2 5 7 jpm Lorg/jruby/javasupport/proxy/JavaProxyMethod;
MethodParameters:
Name Flags
context
javaInvokee
arg0
arg1
arg2
private org.jruby.runtime.builtin.IRubyObject tryProxyInvocation(org.jruby.runtime.ThreadContext, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, 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
checkcast org.jruby.javasupport.proxy.InternalJavaProxy
invokeinterface org.jruby.javasupport.proxy.InternalJavaProxy.___getProxyClass:()Lorg/jruby/javasupport/proxy/JavaProxyClass;
astore 7
start local 7 1: aload 7
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 0
getfield org.jruby.javasupport.JavaMethod.parameterTypes:[Ljava/lang/Class;
invokevirtual org.jruby.javasupport.proxy.JavaProxyClass.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/proxy/JavaProxyMethod;
dup
astore 8
start local 8 2: ifnull 4
aload 8
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.hasSuperImplementation:()Z
ifeq 4
3: aload 0
aload 1
aload 8
invokeinterface org.jruby.javasupport.proxy.JavaProxyMethod.getSuperMethod:()Ljava/lang/reflect/Method;
aload 2
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
dup
iconst_2
aload 5
aastore
dup
iconst_3
aload 6
aastore
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectSuperWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals: org.jruby.javasupport.proxy.JavaProxyClass org.jruby.javasupport.proxy.JavaProxyMethod
StackMap stack:
aload 0
aload 1
aload 0
getfield org.jruby.javasupport.JavaMethod.method:Ljava/lang/reflect/Method;
aload 2
aload 3
aload 4
aload 5
aload 6
invokevirtual org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/reflect/Method;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 5 0 this Lorg/jruby/javasupport/JavaMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 javaInvokee Ljava/lang/Object;
0 5 3 arg0 Ljava/lang/Object;
0 5 4 arg1 Ljava/lang/Object;
0 5 5 arg2 Ljava/lang/Object;
0 5 6 arg3 Ljava/lang/Object;
1 5 7 jpc Lorg/jruby/javasupport/proxy/JavaProxyClass;
2 5 8 jpm Lorg/jruby/javasupport/proxy/JavaProxyMethod;
MethodParameters:
Name Flags
context
javaInvokee
arg0
arg1
arg2
arg3
public static org.jruby.exceptions.RaiseException newMethodNotFoundError(org.jruby.Ruby, java.lang.Class, java.lang.String, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new java.lang.StringBuilder
dup
ldc "java method not found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 target Ljava/lang/Class;
0 1 2 prettyName Ljava/lang/String;
0 1 3 simpleName Ljava/lang/String;
MethodParameters:
Name Flags
runtime
target
prettyName
simpleName
public static org.jruby.exceptions.RaiseException newArgSizeMismatchError(org.jruby.Ruby, java.lang.Class[]);
descriptor: (Lorg/jruby/Ruby;[Ljava/lang/Class;)Lorg/jruby/exceptions/RaiseException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.lang.StringBuilder
dup
ldc "argument count mismatch for method signature "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic org.jruby.util.CodegenUtils.prettyParams:([Ljava/lang/Class;)Ljava/lang/CharSequence;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 argTypes [Ljava/lang/Class;
MethodParameters:
Name Flags
runtime
argTypes
public org.jruby.runtime.builtin.IRubyObject name();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.name:()Lorg/jruby/RubyString;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.jruby.runtime.builtin.IRubyObject inspect();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.jruby.javasupport.JavaMethod.inspect:()Lorg/jruby/RubyString;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JavaMethod.java"
InnerClasses:
public abstract JavaConverter = org.jruby.javasupport.JavaUtil$JavaConverter of org.jruby.javasupport.JavaUtil
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Java::JavaMethod"})