public final class org.jruby.java.proxies.ArrayJavaProxy extends org.jruby.java.proxies.JavaProxy
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jruby.java.proxies.ArrayJavaProxy
super_class: org.jruby.java.proxies.JavaProxy
{
private final org.jruby.javasupport.JavaUtil$JavaConverter converter;
descriptor: Lorg/jruby/javasupport/JavaUtil$JavaConverter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.lang.Object);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Object;)V
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 1
aload 2
aload 3
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokestatic org.jruby.javasupport.JavaUtil.getJavaConverter:(Ljava/lang/Class;)Lorg/jruby/javasupport/JavaUtil$JavaConverter;
invokespecial org.jruby.java.proxies.ArrayJavaProxy.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Object;Lorg/jruby/javasupport/JavaUtil$JavaConverter;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 klazz Lorg/jruby/RubyClass;
0 2 3 array Ljava/lang/Object;
MethodParameters:
Name Flags
runtime
klazz
array
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.lang.Object, org.jruby.javasupport.JavaUtil$JavaConverter);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Object;Lorg/jruby/javasupport/JavaUtil$JavaConverter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.jruby.java.proxies.JavaProxy.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Object;)V
1: aload 0
aload 4
putfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 3 1 runtime Lorg/jruby/Ruby;
0 3 2 klazz Lorg/jruby/RubyClass;
0 3 3 array Ljava/lang/Object;
0 3 4 converter Lorg/jruby/javasupport/JavaUtil$JavaConverter;
MethodParameters:
Name Flags
runtime
klazz
array
converter
public static org.jruby.RubyClass createArrayJavaProxy(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 1
start local 1 1: aload 1
ldc "ArrayJavaProxy"
2: aload 1
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
invokevirtual org.jruby.javasupport.JavaSupport.getJavaProxyClass:()Lorg/jruby/RubyClass;
3: getstatic org.jruby.runtime.ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
4: invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 2
start local 2 5: aload 2
invokevirtual org.jruby.RubyClass.getSingletonClass:()Lorg/jruby/RubyClass;
astore 3
start local 3 6: aload 3
ldc "new"
new org.jruby.java.proxies.ArrayJavaProxy$ArrayNewMethod
dup
aload 3
getstatic org.jruby.runtime.Visibility.PUBLIC:Lorg/jruby/runtime/Visibility;
invokespecial org.jruby.java.proxies.ArrayJavaProxy$ArrayNewMethod.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;)V
invokevirtual org.jruby.RubyClass.addMethod:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
7: aload 2
ldc Lorg/jruby/java/proxies/ArrayJavaProxy;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
8: aload 2
aload 1
invokevirtual org.jruby.Ruby.getEnumerable:()Lorg/jruby/RubyModule;
invokevirtual org.jruby.RubyClass.includeModule:(Lorg/jruby/runtime/builtin/IRubyObject;)V
9: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 context Lorg/jruby/runtime/ThreadContext;
1 10 1 runtime Lorg/jruby/Ruby;
5 10 2 arrayJavaProxy Lorg/jruby/RubyClass;
6 10 3 singleton Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
context
static org.jruby.java.proxies.ArrayJavaProxy newArray(org.jruby.Ruby, java.lang.Class<?>, int[]);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;[I)Lorg/jruby/java/proxies/ArrayJavaProxy;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/Object;
astore 3
start local 3 1: goto 4
end local 3 2: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
3: aload 0
new java.lang.StringBuilder
dup
ldc "can not create "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " dimensional array"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
start local 3 4: StackMap locals: java.lang.Object
StackMap stack:
new org.jruby.java.proxies.ArrayJavaProxy
dup
aload 0
aload 0
aload 3
invokestatic org.jruby.javasupport.Java.getProxyClassForObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/RubyClass;
aload 3
invokespecial org.jruby.java.proxies.ArrayJavaProxy.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Object;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 runtime Lorg/jruby/Ruby;
0 5 1 elementType Ljava/lang/Class<*>;
0 5 2 dimensions [I
1 2 3 array Ljava/lang/Object;
4 5 3 array Ljava/lang/Object;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
Signature: (Lorg/jruby/Ruby;Ljava/lang/Class<*>;[I)Lorg/jruby/java/proxies/ArrayJavaProxy;
MethodParameters:
Name Flags
runtime final
elementType final
dimensions final
protected org.jruby.javasupport.JavaArray asJavaObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/jruby/javasupport/JavaArray;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.javasupport.JavaArray
dup
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokespecial org.jruby.javasupport.JavaArray.<init>:(Lorg/jruby/Ruby;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 1 1 array Ljava/lang/Object;
MethodParameters:
Name Flags
array final
public final org.jruby.javasupport.JavaArray getJavaArray();
descriptor: ()Lorg/jruby/javasupport/JavaArray;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.dataGetStruct:()Ljava/lang/Object;
checkcast org.jruby.javasupport.JavaArray
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
public java.lang.Object get(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
iload 1
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 1 1 index I
MethodParameters:
Name Flags
index final
public void set(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
iload 1
aload 2
invokestatic java.lang.reflect.Array.set:(Ljava/lang/Object;ILjava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 2 1 index I
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
index final
value final
public org.jruby.runtime.builtin.IRubyObject setValue(org.jruby.Ruby, int, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;ILorg/jruby/runtime/builtin/IRubyObject;)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 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
iload 2
aload 3
invokestatic org.jruby.java.util.ArrayUtils.asetDirect:(Lorg/jruby/Ruby;Ljava/lang/Object;Lorg/jruby/javasupport/JavaUtil$JavaConverter;ILorg/jruby/runtime/builtin/IRubyObject;)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 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 1 1 runtime Lorg/jruby/Ruby;
0 1 2 index I
0 1 3 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime final
index final
value final
public final int length();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
public org.jruby.RubyFixnum length(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyFixnum;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.length:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"length", "size"})
MethodParameters:
Name Flags
context
public org.jruby.RubyBoolean empty_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.length:()I
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.jruby.Ruby
1: iconst_0
StackMap locals: org.jruby.java.proxies.ArrayJavaProxy org.jruby.runtime.ThreadContext
StackMap stack: org.jruby.Ruby int
2: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"empty?"})
MethodParameters:
Name Flags
context
public final org.jruby.runtime.builtin.IRubyObject op_aref(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: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyRange
ifeq 1
aload 0
aload 1
aload 2
checkcast org.jruby.RubyRange
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.arrayRange:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyRange;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 2
invokestatic org.jruby.java.proxies.ArrayJavaProxy.convertArrayIndex:(Lorg/jruby/runtime/builtin/IRubyObject;)I
istore 3
start local 3 2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
iload 3
invokestatic org.jruby.java.util.ArrayUtils.arefDirect:(Lorg/jruby/Ruby;Ljava/lang/Object;Lorg/jruby/javasupport/JavaUtil$JavaConverter;I)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/java/proxies/ArrayJavaProxy;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
2 3 3 i I
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"[]"})
MethodParameters:
Name Flags
context
arg
public final org.jruby.runtime.builtin.IRubyObject op_aref(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: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
iconst_1
if_icmpne 1
aload 0
aload 1
aload 2
iconst_0
aaload
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.op_aref:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getRange:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"[]"}, required = 1, rest = true)
MethodParameters:
Name Flags
context
args
public final org.jruby.runtime.builtin.IRubyObject op_aset(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokestatic org.jruby.java.proxies.ArrayJavaProxy.convertArrayIndex:(Lorg/jruby/runtime/builtin/IRubyObject;)I
aload 3
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.setValue:(Lorg/jruby/Ruby;ILorg/jruby/runtime/builtin/IRubyObject;)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 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 index Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 value Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"[]="})
MethodParameters:
Name Flags
context
index
value
public org.jruby.runtime.builtin.IRubyObject include_p(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=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 3
start local 3 1: aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 4
start local 4 2: aload 4
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 12
3: aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 7
98: 4
99: 7
100: 11
102: 10
105: 8
108: 9
115: 6
default: 12
}
4: StackMap locals: java.lang.Object java.lang.Class
StackMap stack:
aload 4
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 5
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
aload 3
checkcast byte[]
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.includes:(Lorg/jruby/runtime/ThreadContext;[BLorg/jruby/runtime/builtin/IRubyObject;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
5: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
aload 3
checkcast boolean[]
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.includes:(Lorg/jruby/runtime/ThreadContext;[ZLorg/jruby/runtime/builtin/IRubyObject;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
6: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
aload 3
checkcast short[]
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.includes:(Lorg/jruby/runtime/ThreadContext;[SLorg/jruby/runtime/builtin/IRubyObject;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
7: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
aload 3
checkcast char[]
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.includes:(Lorg/jruby/runtime/ThreadContext;[CLorg/jruby/runtime/builtin/IRubyObject;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
8: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
aload 3
checkcast int[]
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.includes:(Lorg/jruby/runtime/ThreadContext;[ILorg/jruby/runtime/builtin/IRubyObject;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
9: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
aload 3
checkcast long[]
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.includes:(Lorg/jruby/runtime/ThreadContext;[JLorg/jruby/runtime/builtin/IRubyObject;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
10: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
aload 3
checkcast float[]
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.includes:(Lorg/jruby/runtime/ThreadContext;[FLorg/jruby/runtime/builtin/IRubyObject;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
11: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
aload 3
checkcast double[]
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.includes:(Lorg/jruby/runtime/ThreadContext;[DLorg/jruby/runtime/builtin/IRubyObject;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
12: StackMap locals:
StackMap stack:
aload 1
13: getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
aload 3
checkcast java.lang.Object[]
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.includes:(Lorg/jruby/runtime/ThreadContext;[Ljava/lang/Object;Lorg/jruby/runtime/builtin/IRubyObject;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 14 1 context Lorg/jruby/runtime/ThreadContext;
0 14 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 14 3 array Ljava/lang/Object;
2 14 4 componentClass Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"include?", "member?"})
MethodParameters:
Name Flags
context
obj
private boolean includes(org.jruby.runtime.ThreadContext, java.lang.Object[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Ljava/lang/Object;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
istore 4
start local 4 1: iload 4
ifne 2
iconst_0
ireturn
2: StackMap locals: int
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: goto 8
5: StackMap locals: org.jruby.Ruby int
StackMap stack:
aload 5
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
aload 2
iload 6
invokestatic org.jruby.javasupport.JavaUtil.convertJavaArrayElementToRuby:(Lorg/jruby/Ruby;Lorg/jruby/javasupport/JavaUtil$JavaConverter;Ljava/lang/Object;I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
start local 7 6: aload 1
aload 7
aload 3
invokestatic org.jruby.java.proxies.ArrayJavaProxy.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 7
iconst_1
ireturn
end local 7 7: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
iload 4
if_icmplt 5
end local 6 9: iconst_0
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
0 10 2 array [Ljava/lang/Object;
0 10 3 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 10 4 len I
3 10 5 runtime Lorg/jruby/Ruby;
4 9 6 i I
6 7 7 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
array final
obj final
private boolean includes(org.jruby.runtime.ThreadContext, byte[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;[BLorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
istore 4
start local 4 1: iload 4
ifne 2
iconst_0
ireturn
2: StackMap locals: int
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 3: aload 3
instanceof org.jruby.RubyFixnum
ifeq 13
4: aload 3
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.getLongValue:()J
lstore 6
start local 6 5: lload 6
ldc -128
lcmp
iflt 6
lload 6
ldc 127
lcmp
ifle 7
StackMap locals: org.jruby.Ruby long
StackMap stack:
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 8: goto 11
9: StackMap locals: int
StackMap stack:
lload 6
l2i
i2b
aload 2
iload 8
baload
if_icmpne 10
iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
11: iload 8
iload 4
if_icmplt 9
end local 8 12: iconst_0
ireturn
end local 6 13: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 14: goto 18
15: StackMap locals: int
StackMap stack:
aload 5
aload 2
iload 6
baload
i2l
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
astore 7
start local 7 16: aload 1
aload 7
aload 3
invokestatic org.jruby.java.proxies.ArrayJavaProxy.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 17
iconst_1
ireturn
end local 7 17: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
iload 4
if_icmplt 15
end local 6 19: iconst_0
ireturn
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 20 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 20 1 context Lorg/jruby/runtime/ThreadContext;
0 20 2 array [B
0 20 3 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 20 4 len I
3 20 5 runtime Lorg/jruby/Ruby;
5 13 6 objVal J
8 12 8 i I
14 19 6 i I
16 17 7 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
array final
obj final
private boolean includes(org.jruby.runtime.ThreadContext, short[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;[SLorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
istore 4
start local 4 1: iload 4
ifne 2
iconst_0
ireturn
2: StackMap locals: int
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 3: aload 3
instanceof org.jruby.RubyFixnum
ifeq 13
4: aload 3
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.getLongValue:()J
lstore 6
start local 6 5: lload 6
ldc -32768
lcmp
iflt 6
lload 6
ldc 32767
lcmp
ifle 7
StackMap locals: org.jruby.Ruby long
StackMap stack:
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 8: goto 11
9: StackMap locals: int
StackMap stack:
lload 6
l2i
i2s
aload 2
iload 8
saload
if_icmpne 10
iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
11: iload 8
iload 4
if_icmplt 9
end local 8 12: iconst_0
ireturn
end local 6 13: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 14: goto 18
15: StackMap locals: int
StackMap stack:
aload 5
aload 2
iload 6
saload
i2l
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
astore 7
start local 7 16: aload 1
aload 7
aload 3
invokestatic org.jruby.java.proxies.ArrayJavaProxy.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 17
iconst_1
ireturn
end local 7 17: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
iload 4
if_icmplt 15
end local 6 19: iconst_0
ireturn
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 20 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 20 1 context Lorg/jruby/runtime/ThreadContext;
0 20 2 array [S
0 20 3 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 20 4 len I
3 20 5 runtime Lorg/jruby/Ruby;
5 13 6 objVal J
8 12 8 i I
14 19 6 i I
16 17 7 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
array final
obj final
private boolean includes(org.jruby.runtime.ThreadContext, int[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;[ILorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
istore 4
start local 4 1: iload 4
ifne 2
iconst_0
ireturn
2: StackMap locals: int
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 3: aload 3
instanceof org.jruby.RubyFixnum
ifeq 13
4: aload 3
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.getLongValue:()J
lstore 6
start local 6 5: lload 6
ldc -2147483648
lcmp
iflt 6
lload 6
ldc 2147483647
lcmp
ifle 7
StackMap locals: org.jruby.Ruby long
StackMap stack:
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 8: goto 11
9: StackMap locals: int
StackMap stack:
lload 6
l2i
aload 2
iload 8
iaload
if_icmpne 10
iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
11: iload 8
iload 4
if_icmplt 9
end local 8 12: iconst_0
ireturn
end local 6 13: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 14: goto 18
15: StackMap locals: int
StackMap stack:
aload 5
aload 2
iload 6
iaload
i2l
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
astore 7
start local 7 16: aload 1
aload 7
aload 3
invokestatic org.jruby.java.proxies.ArrayJavaProxy.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 17
iconst_1
ireturn
end local 7 17: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
iload 4
if_icmplt 15
end local 6 19: iconst_0
ireturn
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 20 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 20 1 context Lorg/jruby/runtime/ThreadContext;
0 20 2 array [I
0 20 3 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 20 4 len I
3 20 5 runtime Lorg/jruby/Ruby;
5 13 6 objVal J
8 12 8 i I
14 19 6 i I
16 17 7 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
array final
obj final
private boolean includes(org.jruby.runtime.ThreadContext, long[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;[JLorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
istore 4
start local 4 1: iload 4
ifne 2
iconst_0
ireturn
2: StackMap locals: int
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 3: aload 3
instanceof org.jruby.RubyFixnum
ifeq 11
4: aload 3
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.getLongValue:()J
lstore 6
start local 6 5: iconst_0
istore 8
start local 8 6: goto 9
7: StackMap locals: org.jruby.Ruby long int
StackMap stack:
lload 6
aload 2
iload 8
laload
lcmp
ifne 8
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
9: iload 8
iload 4
if_icmplt 7
end local 8 10: iconst_0
ireturn
end local 6 11: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 12: goto 16
13: StackMap locals: int
StackMap stack:
aload 5
aload 2
iload 6
laload
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
astore 7
start local 7 14: aload 1
aload 7
aload 3
invokestatic org.jruby.java.proxies.ArrayJavaProxy.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 15
iconst_1
ireturn
end local 7 15: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
16: iload 6
iload 4
if_icmplt 13
end local 6 17: iconst_0
ireturn
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 18 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 18 1 context Lorg/jruby/runtime/ThreadContext;
0 18 2 array [J
0 18 3 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 18 4 len I
3 18 5 runtime Lorg/jruby/Ruby;
5 11 6 objVal J
6 10 8 i I
12 17 6 i I
14 15 7 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
array final
obj final
private boolean includes(org.jruby.runtime.ThreadContext, char[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;[CLorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
istore 4
start local 4 1: iload 4
ifne 2
iconst_0
ireturn
2: StackMap locals: int
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 3: aload 3
instanceof org.jruby.RubyFixnum
ifeq 13
4: aload 3
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.getLongValue:()J
lstore 6
start local 6 5: lload 6
lconst_0
lcmp
iflt 6
lload 6
ldc 65535
lcmp
ifle 7
StackMap locals: org.jruby.Ruby long
StackMap stack:
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 8: goto 11
9: StackMap locals: int
StackMap stack:
lload 6
l2i
aload 2
iload 8
caload
if_icmpne 10
iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
11: iload 8
iload 4
if_icmplt 9
end local 8 12: iconst_0
ireturn
end local 6 13: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 14: goto 18
15: StackMap locals: int
StackMap stack:
aload 5
aload 2
iload 6
caload
i2l
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
astore 7
start local 7 16: aload 1
aload 7
aload 3
invokestatic org.jruby.java.proxies.ArrayJavaProxy.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 17
iconst_1
ireturn
end local 7 17: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
iload 4
if_icmplt 15
end local 6 19: iconst_0
ireturn
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 20 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 20 1 context Lorg/jruby/runtime/ThreadContext;
0 20 2 array [C
0 20 3 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 20 4 len I
3 20 5 runtime Lorg/jruby/Ruby;
5 13 6 objVal J
8 12 8 i I
14 19 6 i I
16 17 7 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
array final
obj final
private boolean includes(org.jruby.runtime.ThreadContext, boolean[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;[ZLorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
istore 4
start local 4 1: iload 4
ifne 2
iconst_0
ireturn
2: StackMap locals: int
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 3: aload 3
instanceof org.jruby.RubyBoolean
ifeq 11
4: aload 3
checkcast org.jruby.RubyBoolean
invokevirtual org.jruby.RubyBoolean.isTrue:()Z
istore 6
start local 6 5: iconst_0
istore 7
start local 7 6: goto 9
7: StackMap locals: org.jruby.Ruby int int
StackMap stack:
iload 6
aload 2
iload 7
baload
if_icmpne 8
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
9: iload 7
iload 4
if_icmplt 7
end local 7 10: iconst_0
ireturn
end local 6 11: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 12: goto 16
13: StackMap locals: int
StackMap stack:
aload 5
aload 2
iload 6
baload
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/Ruby;Z)Lorg/jruby/RubyBoolean;
astore 7
start local 7 14: aload 1
aload 7
aload 3
invokestatic org.jruby.java.proxies.ArrayJavaProxy.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 15
iconst_1
ireturn
end local 7 15: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
16: iload 6
iload 4
if_icmplt 13
end local 6 17: iconst_0
ireturn
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 18 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 18 1 context Lorg/jruby/runtime/ThreadContext;
0 18 2 array [Z
0 18 3 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 18 4 len I
3 18 5 runtime Lorg/jruby/Ruby;
5 11 6 objVal Z
6 10 7 i I
12 17 6 i I
14 15 7 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
array final
obj final
private boolean includes(org.jruby.runtime.ThreadContext, float[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;[FLorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
istore 4
start local 4 1: iload 4
ifne 2
iconst_0
ireturn
2: StackMap locals: int
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 3: aload 3
instanceof org.jruby.RubyFloat
ifeq 11
4: aload 3
checkcast org.jruby.RubyFloat
invokevirtual org.jruby.RubyFloat.getDoubleValue:()D
dstore 6
start local 6 5: iconst_0
istore 8
start local 8 6: goto 9
7: StackMap locals: org.jruby.Ruby double int
StackMap stack:
dload 6
d2f
aload 2
iload 8
faload
fcmpl
ifne 8
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
9: iload 8
iload 4
if_icmplt 7
end local 8 10: iconst_0
ireturn
end local 6 11: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 12: goto 16
13: StackMap locals: int
StackMap stack:
aload 5
aload 2
iload 6
faload
f2d
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
astore 7
start local 7 14: aload 1
aload 7
aload 3
invokestatic org.jruby.java.proxies.ArrayJavaProxy.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 15
iconst_1
ireturn
end local 7 15: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
16: iload 6
iload 4
if_icmplt 13
end local 6 17: iconst_0
ireturn
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 18 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 18 1 context Lorg/jruby/runtime/ThreadContext;
0 18 2 array [F
0 18 3 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 18 4 len I
3 18 5 runtime Lorg/jruby/Ruby;
5 11 6 objVal D
6 10 8 i I
12 17 6 i I
14 15 7 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
array final
obj final
private boolean includes(org.jruby.runtime.ThreadContext, double[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;[DLorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
istore 4
start local 4 1: iload 4
ifne 2
iconst_0
ireturn
2: StackMap locals: int
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 3: aload 3
instanceof org.jruby.RubyFloat
ifeq 11
4: aload 3
checkcast org.jruby.RubyFloat
invokevirtual org.jruby.RubyFloat.getDoubleValue:()D
dstore 6
start local 6 5: iconst_0
istore 8
start local 8 6: goto 9
7: StackMap locals: org.jruby.Ruby double int
StackMap stack:
dload 6
aload 2
iload 8
daload
dcmpl
ifne 8
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
9: iload 8
iload 4
if_icmplt 7
end local 8 10: iconst_0
ireturn
end local 6 11: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 12: goto 16
13: StackMap locals: int
StackMap stack:
aload 5
aload 2
iload 6
daload
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
astore 7
start local 7 14: aload 1
aload 7
aload 3
invokestatic org.jruby.java.proxies.ArrayJavaProxy.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 15
iconst_1
ireturn
end local 7 15: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
16: iload 6
iload 4
if_icmplt 13
end local 6 17: iconst_0
ireturn
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 18 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 18 1 context Lorg/jruby/runtime/ThreadContext;
0 18 2 array [D
0 18 3 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 18 4 len I
3 18 5 runtime Lorg/jruby/Ruby;
5 11 6 objVal D
6 10 8 i I
12 17 6 i I
14 15 7 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
array final
obj final
public org.jruby.runtime.builtin.IRubyObject first(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
ifne 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
aload 2
iconst_0
invokestatic org.jruby.javasupport.JavaUtil.convertJavaArrayElementToRuby:(Lorg/jruby/Ruby;Lorg/jruby/javasupport/JavaUtil$JavaConverter;Ljava/lang/Object;I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
1 3 2 array Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"first"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject first(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=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 3
start local 3 1: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyInteger.getIntValue:()I
istore 4
start local 4 2: aload 3
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 5
start local 5 3: iload 4
iload 5
if_icmple 4
iload 5
istore 4
4: StackMap locals: java.lang.Object int int
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 6
start local 6 5: iload 4
ifne 6
aload 6
invokestatic org.jruby.RubyArray.newEmptyArray:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArray;
areturn
6: StackMap locals: org.jruby.Ruby
StackMap stack:
iload 4
anewarray org.jruby.runtime.builtin.IRubyObject
astore 7
start local 7 7: iconst_0
istore 8
start local 8 8: goto 11
9: StackMap locals: org.jruby.runtime.builtin.IRubyObject[] int
StackMap stack:
aload 7
iload 8
aload 6
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
aload 3
iload 8
invokestatic org.jruby.javasupport.JavaUtil.convertJavaArrayElementToRuby:(Lorg/jruby/Ruby;Lorg/jruby/javasupport/JavaUtil$JavaConverter;Ljava/lang/Object;I)Lorg/jruby/runtime/builtin/IRubyObject;
aastore
10: iinc 8 1
StackMap locals:
StackMap stack:
11: iload 8
iload 4
if_icmplt 9
end local 8 12: aload 6
aload 7
invokestatic org.jruby.RubyArray.newArrayNoCopy:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
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 13 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 13 1 context Lorg/jruby/runtime/ThreadContext;
0 13 2 count Lorg/jruby/runtime/builtin/IRubyObject;
1 13 3 array Ljava/lang/Object;
2 13 4 len I
3 13 5 size I
5 13 6 runtime Lorg/jruby/Ruby;
7 13 7 ary [Lorg/jruby/runtime/builtin/IRubyObject;
8 12 8 i I
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"first"})
MethodParameters:
Name Flags
context
count
public org.jruby.runtime.builtin.IRubyObject last(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 3
start local 3 2: iload 3
ifne 3
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: java.lang.Object int
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
aload 2
iload 3
iconst_1
isub
invokestatic org.jruby.javasupport.JavaUtil.convertJavaArrayElementToRuby:(Lorg/jruby/Ruby;Lorg/jruby/javasupport/JavaUtil$JavaConverter;Ljava/lang/Object;I)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 4 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 array Ljava/lang/Object;
2 4 3 len I
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"last"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject last(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=7, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 3
start local 3 1: aload 2
invokestatic org.jruby.RubyFixnum.fix2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
istore 4
start local 4 2: aload 3
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 5
start local 5 3: iload 5
iload 4
isub
istore 6
start local 6 4: iload 6
ifge 5
iconst_0
istore 6
5: StackMap locals: org.jruby.java.proxies.ArrayJavaProxy org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject java.lang.Object int int int
StackMap stack:
iload 6
iload 4
iadd
istore 7
start local 7 6: iload 7
iload 5
if_icmple 7
iload 5
istore 7
7: StackMap locals: int
StackMap stack:
iload 7
iload 6
isub
istore 4
8: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 8
start local 8 9: iload 4
ifne 10
aload 8
invokestatic org.jruby.RubyArray.newEmptyArray:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArray;
areturn
10: StackMap locals: org.jruby.Ruby
StackMap stack:
iload 4
anewarray org.jruby.runtime.builtin.IRubyObject
astore 9
start local 9 11: iconst_0
istore 10
start local 10 12: goto 15
13: StackMap locals: org.jruby.runtime.builtin.IRubyObject[] int
StackMap stack:
aload 9
iload 10
aload 8
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
aload 3
iload 10
iload 6
iadd
invokestatic org.jruby.javasupport.JavaUtil.convertJavaArrayElementToRuby:(Lorg/jruby/Ruby;Lorg/jruby/javasupport/JavaUtil$JavaConverter;Ljava/lang/Object;I)Lorg/jruby/runtime/builtin/IRubyObject;
aastore
14: iinc 10 1
StackMap locals:
StackMap stack:
15: iload 10
iload 4
if_icmplt 13
end local 10 16: aload 8
aload 9
invokestatic org.jruby.RubyArray.newArrayNoCopy:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 17 1 context Lorg/jruby/runtime/ThreadContext;
0 17 2 count Lorg/jruby/runtime/builtin/IRubyObject;
1 17 3 array Ljava/lang/Object;
2 17 4 len I
3 17 5 size I
4 17 6 start I
6 17 7 end I
9 17 8 runtime Lorg/jruby/Ruby;
11 17 9 ary [Lorg/jruby/runtime/builtin/IRubyObject;
12 16 10 i I
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"last"})
MethodParameters:
Name Flags
context
count
public org.jruby.runtime.builtin.IRubyObject count(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 11
2: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 9
6: StackMap locals: org.jruby.java.proxies.ArrayJavaProxy org.jruby.runtime.ThreadContext org.jruby.runtime.Block org.jruby.Ruby java.lang.Object int int
StackMap stack:
aload 3
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
aload 4
iload 6
invokestatic org.jruby.javasupport.JavaUtil.convertJavaArrayElementToRuby:(Lorg/jruby/Ruby;Lorg/jruby/javasupport/JavaUtil$JavaConverter;Ljava/lang/Object;I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
start local 7 7: aload 2
aload 1
aload 7
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 8
iinc 5 1
end local 7 8: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
aload 4
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
if_icmplt 6
end local 6 10: aload 3
iload 5
i2l
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
areturn
end local 5 end local 4 11: StackMap locals:
StackMap stack:
aload 3
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.length:()I
i2l
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 12 1 context Lorg/jruby/runtime/ThreadContext;
0 12 2 block Lorg/jruby/runtime/Block;
1 12 3 runtime Lorg/jruby/Ruby;
3 11 4 array Ljava/lang/Object;
4 11 5 count I
5 10 6 i I
7 8 7 next Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"count"})
MethodParameters:
Name Flags
context final
block final
public org.jruby.runtime.builtin.IRubyObject count(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: iconst_0
istore 7
start local 7 4: goto 8
5: StackMap locals: org.jruby.java.proxies.ArrayJavaProxy org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.Block org.jruby.Ruby java.lang.Object int int
StackMap stack:
aload 4
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
aload 5
iload 7
invokestatic org.jruby.javasupport.JavaUtil.convertJavaArrayElementToRuby:(Lorg/jruby/Ruby;Lorg/jruby/javasupport/JavaUtil$JavaConverter;Ljava/lang/Object;I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 8
start local 8 6: aload 1
aload 8
aload 2
invokestatic org.jruby.RubyObject.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 7
iinc 6 1
end local 8 7: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
8: iload 7
aload 5
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
if_icmplt 5
end local 7 9: aload 4
iload 6
i2l
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
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 10 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
0 10 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 10 3 unused Lorg/jruby/runtime/Block;
1 10 4 runtime Lorg/jruby/Ruby;
2 10 5 array Ljava/lang/Object;
3 10 6 count I
4 9 7 i I
6 7 8 next Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"count"})
MethodParameters:
Name Flags
context final
obj final
unused final
public final org.jruby.runtime.builtin.IRubyObject dig(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: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.dig:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"dig"}, required = 1, rest = true)
MethodParameters:
Name Flags
context
args
final org.jruby.runtime.builtin.IRubyObject dig(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], int);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;I)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
iinc 3 1
aaload
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.at:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 1: iload 3
aload 2
arraylength
if_icmpne 2
aload 4
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
2: aload 1
aload 4
aload 2
iload 3
invokestatic org.jruby.RubyObject.dig:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;I)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 4 3 idx I
1 4 4 val Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
args
idx
private static int convertArrayIndex(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.jruby.java.proxies.JavaProxy
ifeq 2
1: aload 0
ldc Ljava/lang/Integer;
invokeinterface org.jruby.runtime.builtin.IRubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyNumeric.num2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 index Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
index final
public org.jruby.runtime.builtin.IRubyObject at(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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.jruby.java.proxies.ArrayJavaProxy.convertArrayIndex:(Lorg/jruby/runtime/builtin/IRubyObject;)I
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.at:(Lorg/jruby/runtime/ThreadContext;I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 index Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
index
private final org.jruby.runtime.builtin.IRubyObject at(org.jruby.runtime.ThreadContext, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;I)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 4
start local 4 2: aload 4
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 5
start local 5 3: iload 2
ifge 4
iload 2
iload 5
iadd
istore 2
4: StackMap locals: org.jruby.Ruby java.lang.Object int
StackMap stack:
iload 2
iflt 6
iload 2
iload 5
if_icmpge 6
5: aload 3
aload 4
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
iload 2
invokestatic org.jruby.java.util.ArrayUtils.arefDirect:(Lorg/jruby/Ruby;Ljava/lang/Object;Lorg/jruby/javasupport/JavaUtil$JavaConverter;I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
6: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.nil: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 7 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 i I
1 7 3 runtime Lorg/jruby/Ruby;
2 7 4 array Ljava/lang/Object;
3 7 5 length I
MethodParameters:
Name Flags
context
i
public org.jruby.runtime.builtin.IRubyObject op_plus(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=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 3
start local 3 1: aload 2
instanceof org.jruby.java.proxies.ArrayJavaProxy
ifeq 6
2: aload 2
checkcast org.jruby.java.proxies.ArrayJavaProxy
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 4
start local 4 3: aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 5
start local 5 4: aload 5
aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 6
5: aload 1
aload 3
aload 4
invokestatic org.jruby.java.util.ArrayUtils.concatArraysDirect:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 end local 4 6: StackMap locals: java.lang.Object
StackMap stack:
aload 1
aload 3
aload 2
invokestatic org.jruby.java.util.ArrayUtils.concatArraysDirect:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Lorg/jruby/runtime/builtin/IRubyObject;)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 7 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 7 3 array Ljava/lang/Object;
3 6 4 otherArray Ljava/lang/Object;
4 6 5 componentType Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"+"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject each(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 3
2: aload 3
invokevirtual org.jruby.Ruby.getEnumerator:()Lorg/jruby/RubyClass;
ldc "new"
iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 3
ldc "each"
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
aastore
invokevirtual org.jruby.RubyClass.callMethod:(Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 4
start local 4 4: aload 4
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 10
7: StackMap locals: java.lang.Object int int
StackMap stack:
aload 3
aload 4
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
iload 6
invokestatic org.jruby.java.util.ArrayUtils.arefDirect:(Lorg/jruby/Ruby;Ljava/lang/Object;Lorg/jruby/javasupport/JavaUtil$JavaConverter;I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
start local 7 8: aload 2
aload 1
aload 7
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 7 9: iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 5
if_icmplt 7
end local 6 11: aload 0
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 12 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 12 1 context Lorg/jruby/runtime/ThreadContext;
0 12 2 block Lorg/jruby/runtime/Block;
1 12 3 runtime Lorg/jruby/Ruby;
4 12 4 array Ljava/lang/Object;
5 12 5 length I
6 11 6 i I
8 9 7 element Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject each_with_index(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 3
2: aload 3
invokevirtual org.jruby.Ruby.getEnumerator:()Lorg/jruby/RubyClass;
ldc "new"
iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 3
ldc "each_with_index"
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
aastore
invokevirtual org.jruby.RubyClass.callMethod:(Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 2
invokevirtual org.jruby.runtime.Block.getSignature:()Lorg/jruby/runtime/Signature;
invokevirtual org.jruby.runtime.Signature.arity:()Lorg/jruby/runtime/Arity;
getstatic org.jruby.runtime.Arity.TWO_ARGUMENTS:Lorg/jruby/runtime/Arity;
if_acmpne 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 4
start local 4 6: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 5
start local 5 7: aload 5
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 6
start local 6 8: iconst_0
istore 7
start local 7 9: goto 17
10: StackMap locals: org.jruby.java.proxies.ArrayJavaProxy org.jruby.runtime.ThreadContext org.jruby.runtime.Block org.jruby.Ruby int java.lang.Object int int
StackMap stack:
aload 3
aload 5
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
iload 7
invokestatic org.jruby.java.util.ArrayUtils.arefDirect:(Lorg/jruby/Ruby;Ljava/lang/Object;Lorg/jruby/javasupport/JavaUtil$JavaConverter;I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 8
start local 8 11: aload 3
iload 7
i2l
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
astore 9
start local 9 12: iload 4
ifeq 15
13: aload 2
aload 1
aload 8
aload 9
invokevirtual org.jruby.runtime.Block.yieldSpecific:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
14: goto 16
15: StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.RubyInteger
StackMap stack:
aload 2
aload 1
aload 3
aload 8
aload 9
invokestatic org.jruby.RubyArray.newArray:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 9 end local 8 16: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
iload 6
if_icmplt 10
end local 7 18: aload 0
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 19 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 19 1 context Lorg/jruby/runtime/ThreadContext;
0 19 2 block Lorg/jruby/runtime/Block;
1 19 3 runtime Lorg/jruby/Ruby;
6 19 4 arity2 Z
7 19 5 array Ljava/lang/Object;
8 19 6 length I
9 18 7 i I
11 16 8 element Lorg/jruby/runtime/builtin/IRubyObject;
12 16 9 index Lorg/jruby/RubyInteger;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
block final
public org.jruby.RubyArray to_a(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 2
start local 2 1: aload 1
aload 2
invokestatic org.jruby.javasupport.JavaUtil.convertJavaArrayToRubyWithNesting:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)Lorg/jruby/RubyArray;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
1 2 2 array Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_a", "entries"}, alias = {"to_ary"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject component_type(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 2
start local 2 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
astore 3
start local 3 2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
invokestatic org.jruby.javasupport.Java.getProxyClass:(Lorg/jruby/Ruby;Lorg/jruby/javasupport/JavaClass;)Lorg/jruby/RubyModule;
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/java/proxies/ArrayJavaProxy;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
1 3 2 componentType Ljava/lang/Class<*>;
2 3 3 javaClass Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"component_type"})
MethodParameters:
Name Flags
context
public org.jruby.RubyString inspect(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.arrayToString:()Ljava/lang/StringBuilder;
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 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.arrayToString:()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/java/proxies/ArrayJavaProxy;
private java.lang.StringBuilder arrayToString();
descriptor: ()Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
bipush 24
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 2
start local 2 2: aload 1
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 20
4: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 7
98: 5
99: 10
100: 18
102: 16
105: 12
108: 14
115: 8
default: 19
}
5: StackMap locals: java.lang.StringBuilder java.lang.Class
StackMap stack:
aload 2
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 6
aload 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
checkcast byte[]
invokestatic java.util.Arrays.toString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 21
6: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
checkcast boolean[]
invokestatic java.util.Arrays.toString:([Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: goto 21
8: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
checkcast short[]
invokestatic java.util.Arrays.toString:([S)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: goto 21
10: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
checkcast char[]
invokestatic java.util.Arrays.toString:([C)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: goto 21
12: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
checkcast int[]
invokestatic java.util.Arrays.toString:([I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: goto 21
14: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
checkcast long[]
invokestatic java.util.Arrays.toString:([J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: goto 21
16: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
checkcast float[]
invokestatic java.util.Arrays.toString:([F)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: goto 21
18: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
checkcast double[]
invokestatic java.util.Arrays.toString:([D)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: StackMap locals:
StackMap stack:
goto 21
20: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
checkcast java.lang.Object[]
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
aload 1
bipush 64
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.inspectHashCode:()I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
1 22 1 buffer Ljava/lang/StringBuilder;
2 22 2 componentClass Ljava/lang/Class<*>;
public org.jruby.RubyBoolean op_equal(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyArray
ifeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 2
checkcast org.jruby.RubyArray
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.equalsRubyArray:(Lorg/jruby/RubyArray;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.eql_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"=="})
MethodParameters:
Name Flags
context
other
private boolean equalsRubyArray(org.jruby.RubyArray);
descriptor: (Lorg/jruby/RubyArray;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 2
start local 2 1: aload 1
invokevirtual org.jruby.RubyArray.size:()I
istore 3
start local 3 2: iload 3
aload 2
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
if_icmpeq 3
iconst_0
ireturn
3: StackMap locals: java.lang.Object int
StackMap stack:
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 12
6: StackMap locals: java.lang.Class int
StackMap stack:
aload 1
iload 5
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
astore 6
start local 6 7: aload 2
iload 5
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
astore 7
start local 7 8: aload 6
ifnonnull 10
aload 7
ifnonnull 9
iconst_1
ireturn
StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 6
aload 7
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 11
iconst_0
ireturn
end local 7 end local 6 11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 3
if_icmplt 6
end local 5 13: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 14 1 rubyArray Lorg/jruby/RubyArray;
1 14 2 thisArray Ljava/lang/Object;
2 14 3 len I
4 14 4 componentType Ljava/lang/Class<*>;
5 13 5 i I
7 11 6 ruby Ljava/lang/Object;
8 11 7 elem Ljava/lang/Object;
MethodParameters:
Name Flags
rubyArray final
public org.jruby.RubyBoolean eql_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 2
instanceof org.jruby.java.proxies.ArrayJavaProxy
ifeq 5
2: aload 2
checkcast org.jruby.java.proxies.ArrayJavaProxy
astore 4
start local 4 3: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
aload 4
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
invokestatic org.jruby.java.proxies.ArrayJavaProxy.arraysEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
istore 3
end local 4 4: goto 7
5: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 7
6: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
aload 2
invokestatic org.jruby.java.proxies.ArrayJavaProxy.arraysEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
istore 3
7: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iload 3
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 8 3 equals Z
3 4 4 that Lorg/jruby/java/proxies/ArrayJavaProxy;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"eql?"})
MethodParameters:
Name Flags
context
obj
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.java.proxies.ArrayJavaProxy
ifeq 5
1: aload 1
checkcast org.jruby.java.proxies.ArrayJavaProxy
astore 2
start local 2 2: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 3
start local 3 3: aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 4
start local 4 4: aload 3
aload 4
invokestatic org.jruby.java.proxies.ArrayJavaProxy.arraysEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 4 end local 3 end local 2 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 6 1 obj Ljava/lang/Object;
2 5 2 that Lorg/jruby/java/proxies/ArrayJavaProxy;
3 5 3 thisArray Ljava/lang/Object;
4 5 4 thatArray Ljava/lang/Object;
MethodParameters:
Name Flags
obj
private static boolean arraysEquals(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 2
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 13
4: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 7
98: 5
99: 8
100: 12
102: 11
105: 9
108: 10
115: 7
default: 13
}
5: StackMap locals:
StackMap stack:
aload 2
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 6
aload 0
checkcast byte[]
aload 1
checkcast byte[]
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
6: StackMap locals:
StackMap stack:
aload 0
checkcast boolean[]
aload 1
checkcast boolean[]
invokestatic java.util.Arrays.equals:([Z[Z)Z
ireturn
7: StackMap locals:
StackMap stack:
aload 0
checkcast short[]
aload 1
checkcast short[]
invokestatic java.util.Arrays.equals:([S[S)Z
ireturn
8: StackMap locals:
StackMap stack:
aload 0
checkcast char[]
aload 1
checkcast char[]
invokestatic java.util.Arrays.equals:([C[C)Z
ireturn
9: StackMap locals:
StackMap stack:
aload 0
checkcast int[]
aload 1
checkcast int[]
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
10: StackMap locals:
StackMap stack:
aload 0
checkcast long[]
aload 1
checkcast long[]
invokestatic java.util.Arrays.equals:([J[J)Z
ireturn
11: StackMap locals:
StackMap stack:
aload 0
checkcast float[]
aload 1
checkcast float[]
invokestatic java.util.Arrays.equals:([F[F)Z
ireturn
12: StackMap locals:
StackMap stack:
aload 0
checkcast double[]
aload 1
checkcast double[]
invokestatic java.util.Arrays.equals:([D[D)Z
ireturn
13: StackMap locals:
StackMap stack:
aload 0
checkcast java.lang.Object[]
aload 1
checkcast java.lang.Object[]
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 thisArray Ljava/lang/Object;
0 14 1 thatArray Ljava/lang/Object;
1 14 2 componentType Ljava/lang/Class<*>;
MethodParameters:
Name Flags
thisArray final
thatArray final
public org.jruby.RubyFixnum hash();
descriptor: ()Lorg/jruby/RubyFixnum;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.hashCode:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 2
start local 2 2: aload 2
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 12
3: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 7
98: 4
99: 7
100: 11
102: 10
105: 8
108: 9
115: 6
default: 12
}
4: StackMap locals: java.lang.Object java.lang.Class
StackMap stack:
aload 2
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 5
bipush 11
aload 1
checkcast byte[]
invokestatic java.util.Arrays.hashCode:([B)I
imul
ireturn
5: StackMap locals:
StackMap stack:
bipush 11
aload 1
checkcast boolean[]
invokestatic java.util.Arrays.hashCode:([Z)I
imul
ireturn
6: StackMap locals:
StackMap stack:
bipush 11
aload 1
checkcast short[]
invokestatic java.util.Arrays.hashCode:([S)I
imul
ireturn
7: StackMap locals:
StackMap stack:
bipush 11
aload 1
checkcast char[]
invokestatic java.util.Arrays.hashCode:([C)I
imul
ireturn
8: StackMap locals:
StackMap stack:
bipush 11
aload 1
checkcast int[]
invokestatic java.util.Arrays.hashCode:([I)I
imul
ireturn
9: StackMap locals:
StackMap stack:
bipush 11
aload 1
checkcast long[]
invokestatic java.util.Arrays.hashCode:([J)I
imul
ireturn
10: StackMap locals:
StackMap stack:
bipush 11
aload 1
checkcast float[]
invokestatic java.util.Arrays.hashCode:([F)I
imul
ireturn
11: StackMap locals:
StackMap stack:
bipush 11
aload 1
checkcast double[]
invokestatic java.util.Arrays.hashCode:([D)I
imul
ireturn
12: StackMap locals:
StackMap stack:
bipush 11
aload 1
checkcast java.lang.Object[]
invokestatic java.util.Arrays.hashCode:([Ljava/lang/Object;)I
imul
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
1 13 1 array Ljava/lang/Object;
2 13 2 componentType Ljava/lang/Class<*>;
public org.jruby.runtime.builtin.IRubyObject dup();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getRuntime:()Lorg/jruby/Ruby;
astore 1
start local 1 1: new org.jruby.java.proxies.ArrayJavaProxy
dup
aload 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getMetaClass:()Lorg/jruby/RubyClass;
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.cloneObject:()Ljava/lang/Object;
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
invokespecial org.jruby.java.proxies.ArrayJavaProxy.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Object;Lorg/jruby/javasupport/JavaUtil$JavaConverter;)V
astore 2
start local 2 2: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.isTaint:()Z
ifeq 3
aload 2
iconst_1
invokevirtual org.jruby.RubyObject.setTaint:(Z)V
3: StackMap locals: org.jruby.Ruby org.jruby.RubyObject
StackMap stack:
aload 2
aload 0
ldc "initialize_dup"
invokestatic org.jruby.java.proxies.ArrayJavaProxy.initCopy:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
1 5 1 runtime Lorg/jruby/Ruby;
2 5 2 dup Lorg/jruby/RubyObject;
private static void initCopy(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.copySpecialInstanceVariables:(Lorg/jruby/runtime/builtin/IRubyObject;)V
1: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.hasVariables:()Z
ifeq 2
aload 0
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.syncVariables:(Lorg/jruby/runtime/builtin/IRubyObject;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 clone Lorg/jruby/runtime/builtin/IRubyObject;
0 3 1 original Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 method Ljava/lang/String;
MethodParameters:
Name Flags
clone
original
method
public org.jruby.runtime.builtin.IRubyObject rbClone();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getRuntime:()Lorg/jruby/Ruby;
astore 1
start local 1 1: new org.jruby.java.proxies.ArrayJavaProxy
dup
aload 1
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getMetaClass:()Lorg/jruby/RubyClass;
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.cloneObject:()Ljava/lang/Object;
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
invokespecial org.jruby.java.proxies.ArrayJavaProxy.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Object;Lorg/jruby/javasupport/JavaUtil$JavaConverter;)V
astore 2
start local 2 2: aload 2
aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getSingletonClassClone:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyObject.setMetaClass:(Lorg/jruby/RubyClass;)V
3: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.isTaint:()Z
ifeq 4
aload 2
iconst_1
invokevirtual org.jruby.RubyObject.setTaint:(Z)V
4: StackMap locals: org.jruby.Ruby org.jruby.RubyObject
StackMap stack:
aload 2
aload 0
ldc "initialize_clone"
invokestatic org.jruby.java.proxies.ArrayJavaProxy.initCopy:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)V
5: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.isFrozen:()Z
ifeq 6
aload 2
iconst_1
invokevirtual org.jruby.RubyObject.setFrozen:(Z)V
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
1 7 1 runtime Lorg/jruby/Ruby;
2 7 2 clone Lorg/jruby/RubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"clone"})
protected java.lang.Object cloneObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 2
start local 2 2: aload 2
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 12
3: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 7
98: 4
99: 7
100: 11
102: 10
105: 8
108: 9
115: 6
default: 12
}
4: StackMap locals: java.lang.Object java.lang.Class
StackMap stack:
aload 2
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 5
aload 1
checkcast byte[]
invokevirtual byte[].clone:()Ljava/lang/Object;
areturn
5: StackMap locals:
StackMap stack:
aload 1
checkcast boolean[]
invokevirtual boolean[].clone:()Ljava/lang/Object;
areturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast short[]
invokevirtual short[].clone:()Ljava/lang/Object;
areturn
7: StackMap locals:
StackMap stack:
aload 1
checkcast char[]
invokevirtual char[].clone:()Ljava/lang/Object;
areturn
8: StackMap locals:
StackMap stack:
aload 1
checkcast int[]
invokevirtual int[].clone:()Ljava/lang/Object;
areturn
9: StackMap locals:
StackMap stack:
aload 1
checkcast long[]
invokevirtual long[].clone:()Ljava/lang/Object;
areturn
10: StackMap locals:
StackMap stack:
aload 1
checkcast float[]
invokevirtual float[].clone:()Ljava/lang/Object;
areturn
11: StackMap locals:
StackMap stack:
aload 1
checkcast double[]
invokevirtual double[].clone:()Ljava/lang/Object;
areturn
12: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.Object[]
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
1 13 1 array Ljava/lang/Object;
2 13 2 componentType Ljava/lang/Class<*>;
public org.jruby.runtime.builtin.IRubyObject getRange(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=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
iconst_1
if_icmpne 2
1: aload 0
aload 1
aload 2
iconst_0
aaload
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getRange:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 2
arraylength
iconst_2
if_icmpne 4
3: aload 0
aload 1
aload 2
iconst_0
aaload
aload 2
iconst_1
aaload
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getRange:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
arraylength
iconst_1
invokevirtual org.jruby.Ruby.newArgumentError:(II)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject getRange(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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyRange
ifeq 2
1: aload 0
aload 1
aload 2
checkcast org.jruby.RubyRange
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.arrayRange:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyRange;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getRange:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
arg0
private org.jruby.runtime.builtin.IRubyObject arrayRange(org.jruby.runtime.ThreadContext, org.jruby.RubyRange);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyRange;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 3
start local 3 1: aload 3
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 4
start local 4 2: aload 2
aload 1
invokevirtual org.jruby.RubyRange.first:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 3: aload 2
aload 1
invokevirtual org.jruby.RubyRange.last:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 4: aload 5
instanceof org.jruby.RubyFixnum
ifeq 20
aload 6
instanceof org.jruby.RubyFixnum
ifeq 20
5: aload 5
checkcast org.jruby.RubyFixnum
invokestatic org.jruby.RubyFixnum.fix2int:(Lorg/jruby/RubyFixnum;)I
istore 7
start local 7 6: aload 6
checkcast org.jruby.RubyFixnum
invokestatic org.jruby.RubyFixnum.fix2int:(Lorg/jruby/RubyFixnum;)I
istore 8
start local 8 7: iload 7
iflt 8
iload 7
goto 9
StackMap locals: org.jruby.java.proxies.ArrayJavaProxy org.jruby.runtime.ThreadContext org.jruby.RubyRange java.lang.Object int org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int int
StackMap stack:
8: iload 4
iload 7
iadd
StackMap locals:
StackMap stack: int
9: istore 7
10: iload 7
iflt 11
iload 7
iload 4
if_icmplt 12
StackMap locals:
StackMap stack:
11: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
12: StackMap locals:
StackMap stack:
iload 8
iflt 13
iload 8
goto 14
StackMap locals:
StackMap stack:
13: iload 4
iload 8
iadd
StackMap locals:
StackMap stack: int
14: istore 8
15: iload 8
iload 7
isub
istore 9
start local 9 16: aload 2
invokevirtual org.jruby.RubyRange.isExcludeEnd:()Z
ifne 17
iinc 9 1
17: StackMap locals: int
StackMap stack:
iload 9
ifgt 19
18: aload 1
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokestatic org.jruby.java.util.ArrayUtils.emptyJavaArrayDirect:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Class;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
19: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
iload 4
iload 7
iload 9
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.subarrayProxy:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;III)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 9 end local 8 end local 7 20: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "only Integer ranges supported"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
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 21 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 21 1 context Lorg/jruby/runtime/ThreadContext;
0 21 2 range Lorg/jruby/RubyRange;
1 21 3 array Ljava/lang/Object;
2 21 4 arrayLength I
3 21 5 rFirst Lorg/jruby/runtime/builtin/IRubyObject;
4 21 6 rLast Lorg/jruby/runtime/builtin/IRubyObject;
6 20 7 first I
7 20 8 last I
16 20 9 newLength I
MethodParameters:
Name Flags
context final
range final
public org.jruby.runtime.builtin.IRubyObject getRange(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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 org.jruby.java.proxies.ArrayJavaProxy.arrayRange:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)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 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 first Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 length Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
first
length
private org.jruby.runtime.builtin.IRubyObject arrayRange(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
astore 4
start local 4 1: aload 4
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 5
start local 5 2: aload 2
instanceof org.jruby.RubyFixnum
ifeq 13
aload 3
instanceof org.jruby.RubyFixnum
ifeq 13
3: aload 2
checkcast org.jruby.RubyFixnum
invokestatic org.jruby.RubyFixnum.fix2int:(Lorg/jruby/RubyFixnum;)I
istore 6
start local 6 4: aload 3
checkcast org.jruby.RubyFixnum
invokestatic org.jruby.RubyFixnum.fix2int:(Lorg/jruby/RubyFixnum;)I
istore 7
start local 7 5: iload 7
iload 5
if_icmple 7
6: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "length specified is longer than array"
invokevirtual org.jruby.Ruby.newIndexError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
7: StackMap locals: org.jruby.java.proxies.ArrayJavaProxy org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject java.lang.Object int int int
StackMap stack:
iload 7
ifge 8
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
8: StackMap locals:
StackMap stack:
iload 6
iflt 9
iload 6
goto 10
StackMap locals:
StackMap stack:
9: iload 5
iload 6
iadd
StackMap locals:
StackMap stack: int
10: istore 6
11: iload 6
iload 5
if_icmplt 12
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
12: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
iload 5
iload 6
iload 7
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.subarrayProxy:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;III)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 7 end local 6 13: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "only Integer ranges supported"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
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 14 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 14 1 context Lorg/jruby/runtime/ThreadContext;
0 14 2 rFirst Lorg/jruby/runtime/builtin/IRubyObject;
0 14 3 rLength Lorg/jruby/runtime/builtin/IRubyObject;
1 14 4 array Ljava/lang/Object;
2 14 5 arrayLength I
4 13 6 first I
5 13 7 length I
MethodParameters:
Name Flags
context final
rFirst final
rLength final
private org.jruby.runtime.builtin.IRubyObject subarrayProxy(org.jruby.runtime.ThreadContext, java.lang.Object, int, int, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;III)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 4
iload 5
iadd
iload 3
if_icmple 1
iload 3
iload 4
isub
istore 5
1: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxy.converter:Lorg/jruby/javasupport/JavaUtil$JavaConverter;
iload 5
invokestatic org.jruby.java.util.ArrayUtils.newProxiedArray:(Lorg/jruby/Ruby;Ljava/lang/Class;Lorg/jruby/javasupport/JavaUtil$JavaConverter;I)Lorg/jruby/java/proxies/ArrayJavaProxy;
astore 6
start local 6 2: aload 2
iload 4
aload 6
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.getObject:()Ljava/lang/Object;
iconst_0
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/java/proxies/ArrayJavaProxy;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 ary Ljava/lang/Object;
0 4 3 aryLength I
0 4 4 index I
0 4 5 size I
2 4 6 proxy Lorg/jruby/java/proxies/ArrayJavaProxy;
MethodParameters:
Name Flags
context
ary
aryLength final
index
size
protected org.jruby.javasupport.JavaObject asJavaObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/jruby/javasupport/JavaObject;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.asJavaObject:(Ljava/lang/Object;)Lorg/jruby/javasupport/JavaArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.jruby.runtime.builtin.IRubyObject op_equal(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: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxy.op_equal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ArrayJavaProxy.java"
NestMembers:
org.jruby.java.proxies.ArrayJavaProxy$ArrayNewMethod
InnerClasses:
private final ArrayNewMethod = org.jruby.java.proxies.ArrayJavaProxy$ArrayNewMethod of org.jruby.java.proxies.ArrayJavaProxy
public abstract JavaConverter = org.jruby.javasupport.JavaUtil$JavaConverter of org.jruby.javasupport.JavaUtil