public class org.jruby.javasupport.ext.JavaUtil$Collection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.javasupport.ext.JavaUtil$Collection
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/ext/JavaUtil$Collection;
static org.jruby.RubyModule define(org.jruby.Ruby, org.jruby.RubyModule);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyModule;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.Ruby.getEnumerable:()Lorg/jruby/RubyModule;
invokevirtual org.jruby.RubyModule.includeModule:(Lorg/jruby/runtime/builtin/IRubyObject;)V
1: aload 1
ldc Lorg/jruby/javasupport/ext/JavaUtil$Collection;
invokevirtual org.jruby.RubyModule.defineAnnotatedMethods:(Ljava/lang/Class;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 proxy Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
runtime final
proxy final
public static org.jruby.RubyNumeric length(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.JavaUtil.unwrapIfJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
invokeinterface java.util.Collection.size:()I
i2l
invokestatic org.jruby.RubyFixnum.int2fix:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyNumeric;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 self Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"length", "size"})
MethodParameters:
Name Flags
context final
self final
public static org.jruby.runtime.builtin.IRubyObject each(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: (0x0009) ACC_PUBLIC, ACC_STATIC
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.javasupport.ext.JavaLang$Iterable.each:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
self final
block final
public static org.jruby.runtime.builtin.IRubyObject each_with_index(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: (0x0009) ACC_PUBLIC, ACC_STATIC
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.javasupport.ext.JavaLang$Iterable.each_with_index:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
self final
block final
public static org.jruby.RubyBoolean include_p(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/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.jruby.javasupport.JavaUtil.unwrapIfJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
astore 3
start local 3 1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
aload 2
ldc Ljava/lang/Object;
invokeinterface org.jruby.runtime.builtin.IRubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
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 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 coll Ljava/util/Collection;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"include?", "member?"})
MethodParameters:
Name Flags
context final
self final
obj final
public static 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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.javasupport.JavaUtil.unwrapIfJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
astore 2
start local 2 1: aload 2
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals: java.util.Collection
StackMap stack:
2: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 self Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 coll Ljava/util/Collection;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"first", "ruby_first"})
MethodParameters:
Name Flags
context final
self final
public static org.jruby.runtime.builtin.IRubyObject first(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.jruby.javasupport.JavaUtil.unwrapIfJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
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
invokeinterface java.util.Collection.size:()I
istore 5
start local 5 3: iload 4
iload 5
if_icmple 4
iload 5
istore 4
4: StackMap locals: java.util.Collection int int
StackMap stack:
aload 0
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:
aload 6
iload 4
invokestatic org.jruby.RubyArray.newArray:(Lorg/jruby/Ruby;I)Lorg/jruby/RubyArray;
astore 7
start local 7 7: iconst_0
istore 8
start local 8 8: aload 3
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 9
start local 9 9: goto 12
10: StackMap locals: org.jruby.RubyArray int java.util.Iterator
StackMap stack:
aload 7
aload 6
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
11: iinc 8 1
StackMap locals:
StackMap stack:
12: iload 8
iload 4
if_icmplt 10
end local 9 13: aload 7
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 context Lorg/jruby/runtime/ThreadContext;
0 14 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 14 2 count Lorg/jruby/runtime/builtin/IRubyObject;
1 14 3 coll Ljava/util/Collection;
2 14 4 len I
3 14 5 size I
5 14 6 runtime Lorg/jruby/Ruby;
7 14 7 arr Lorg/jruby/RubyArray;
8 14 8 i I
9 13 9 it Ljava/util/Iterator;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"first", "ruby_first"})
MethodParameters:
Name Flags
context final
self final
count final
public static org.jruby.runtime.builtin.IRubyObject append(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.jruby.javasupport.JavaUtil.unwrapIfJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
astore 2
start local 2 1: aload 2
aload 1
ldc Ljava/lang/Object;
invokeinterface org.jruby.runtime.builtin.IRubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Lorg/jruby/runtime/builtin/IRubyObject;
0 3 1 item Lorg/jruby/runtime/builtin/IRubyObject;
1 3 2 coll Ljava/util/Collection;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<<"})
MethodParameters:
Name Flags
self final
item final
public static org.jruby.RubyArray to_a(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.javasupport.JavaUtil.unwrapIfJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
astore 2
start local 2 1: ldc Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
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 3
2: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
checkcast org.jruby.runtime.builtin.IRubyObject[]
invokestatic org.jruby.RubyArray.newArrayMayCopy:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
3: StackMap locals: java.lang.Object[]
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokestatic org.jruby.javasupport.JavaUtil.convertJavaArrayToRuby:(Lorg/jruby/Ruby;[Ljava/lang/Object;)[Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyArray.newArrayNoCopy:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 self Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 array [Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_a", "entries"})
MethodParameters:
Name Flags
context final
self final
public static org.jruby.runtime.builtin.IRubyObject op_plus(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
ldc "dup"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 3
invokestatic org.jruby.javasupport.JavaUtil.unwrapIfJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
astore 4
start local 4 2: aload 2
instanceof java.util.Collection
ifeq 5
3: aload 4
aload 2
checkcast java.util.Collection
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
4: goto 6
5: StackMap locals: org.jruby.runtime.builtin.IRubyObject java.util.Collection
StackMap stack:
aload 4
aload 2
invokestatic org.jruby.javasupport.JavaUtil.unwrapJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
6: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 coll Lorg/jruby/runtime/builtin/IRubyObject;
1 7 3 dup Lorg/jruby/runtime/builtin/IRubyObject;
2 7 4 javaDup Ljava/util/Collection;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"+"}, required = 1)
MethodParameters:
Name Flags
context final
self final
coll final
public static org.jruby.runtime.builtin.IRubyObject op_minus(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
ldc "dup"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 3
invokestatic org.jruby.javasupport.JavaUtil.unwrapIfJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
astore 4
start local 4 2: aload 2
instanceof java.util.Collection
ifeq 5
3: aload 4
aload 2
checkcast java.util.Collection
invokeinterface java.util.Collection.removeAll:(Ljava/util/Collection;)Z
pop
4: goto 6
5: StackMap locals: org.jruby.runtime.builtin.IRubyObject java.util.Collection
StackMap stack:
aload 4
aload 2
invokestatic org.jruby.javasupport.JavaUtil.unwrapJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
invokeinterface java.util.Collection.removeAll:(Ljava/util/Collection;)Z
pop
6: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 coll Lorg/jruby/runtime/builtin/IRubyObject;
1 7 3 dup Lorg/jruby/runtime/builtin/IRubyObject;
2 7 4 javaDup Ljava/util/Collection;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"-"}, required = 1)
MethodParameters:
Name Flags
context final
self final
coll final
public static org.jruby.runtime.builtin.IRubyObject dup(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.javasupport.JavaUtil.unwrapIfJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
astore 2
start local 2 1: aload 1
checkcast org.jruby.RubyBasicObject
invokevirtual org.jruby.RubyBasicObject.dup:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.java.proxies.JavaProxy
astore 3
start local 3 2: aload 2
aload 3
invokevirtual org.jruby.java.proxies.JavaProxy.getObject:()Ljava/lang/Object;
if_acmpne 4
aload 2
instanceof java.lang.Cloneable
ifne 4
3: aload 3
aload 2
invokestatic org.jruby.javasupport.ext.JavaUtil.tryNewEqualInstance:(Ljava/util/Collection;)Ljava/util/Collection;
invokevirtual org.jruby.java.proxies.JavaProxy.setObject:(Ljava/lang/Object;)V
4: StackMap locals: java.util.Collection org.jruby.java.proxies.JavaProxy
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lorg/jruby/runtime/ThreadContext;
0 5 1 self Lorg/jruby/runtime/builtin/IRubyObject;
1 5 2 coll Ljava/util/Collection;
2 5 3 dup Lorg/jruby/java/proxies/JavaProxy;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
self final
public static org.jruby.runtime.builtin.IRubyObject clone(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.javasupport.JavaUtil.unwrapIfJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.util.Collection
astore 2
start local 2 1: aload 1
checkcast org.jruby.RubyBasicObject
invokevirtual org.jruby.RubyBasicObject.rbClone:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.java.proxies.JavaProxy
astore 3
start local 3 2: aload 2
aload 3
invokevirtual org.jruby.java.proxies.JavaProxy.getObject:()Ljava/lang/Object;
if_acmpne 4
aload 2
instanceof java.lang.Cloneable
ifne 4
3: aload 3
aload 2
invokestatic org.jruby.javasupport.ext.JavaUtil.tryNewEqualInstance:(Ljava/util/Collection;)Ljava/util/Collection;
invokevirtual org.jruby.java.proxies.JavaProxy.setObject:(Ljava/lang/Object;)V
4: StackMap locals: java.util.Collection org.jruby.java.proxies.JavaProxy
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lorg/jruby/runtime/ThreadContext;
0 5 1 self Lorg/jruby/runtime/builtin/IRubyObject;
1 5 2 coll Ljava/util/Collection;
2 5 3 dup Lorg/jruby/java/proxies/JavaProxy;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
self final
public static org.jruby.runtime.builtin.IRubyObject join(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.javasupport.ext.JavaUtil$Collection.to_a:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
aload 0
invokevirtual org.jruby.RubyArray.join:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 self Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
self final
public static org.jruby.runtime.builtin.IRubyObject join(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic org.jruby.javasupport.ext.JavaUtil$Collection.to_a:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
aload 0
aload 2
invokevirtual org.jruby.RubyArray.join:(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 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 sep Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
self final
sep final
}
SourceFile: "JavaUtil.java"
NestHost: org.jruby.javasupport.ext.JavaUtil
InnerClasses:
public Iterable = org.jruby.javasupport.ext.JavaLang$Iterable of org.jruby.javasupport.ext.JavaLang
public Collection = org.jruby.javasupport.ext.JavaUtil$Collection of org.jruby.javasupport.ext.JavaUtil
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyModule(name = {"Java::JavaUtil::Collection"}, include = {"Enumerable"})