class org.jruby.RubyEnumerable$6 extends org.jruby.runtime.JavaInternalBlockBody
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyEnumerable$6
super_class: org.jruby.runtime.JavaInternalBlockBody
{
long i;
descriptor: J
flags: (0x0000)
private final org.jruby.RubyArray val$result;
descriptor: Lorg/jruby/RubyArray;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.Ruby, org.jruby.runtime.Signature, long, org.jruby.RubyArray);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/Signature;JLorg/jruby/RubyArray;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 0: aload 0
aload 5
putfield org.jruby.RubyEnumerable$6.val$result:Lorg/jruby/RubyArray;
aload 0
aload 1
aload 2
invokespecial org.jruby.runtime.JavaInternalBlockBody.<init>:(Lorg/jruby/Ruby;Lorg/jruby/runtime/Signature;)V
1: aload 0
lload 3
putfield org.jruby.RubyEnumerable$6.i:J
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyEnumerable$6;
0 3 1 $anonymous0 Lorg/jruby/Ruby;
0 3 2 $anonymous1 Lorg/jruby/runtime/Signature;
MethodParameters:
Name Flags
$anonymous0
$anonymous1
val$len final
val$result final
public org.jruby.runtime.builtin.IRubyObject yield(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 0
aload 1
aconst_null
aload 1
aload 2
invokestatic org.jruby.RubyEnumerable.packEnumValues:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyEnumerable$6.doYield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;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 this Lorg/jruby/RubyEnumerable$6;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
args
protected org.jruby.runtime.builtin.IRubyObject doYield(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.RubyEnumerable$6.val$result:Lorg/jruby/RubyArray;
dup
astore 4
monitorenter
1: aload 0
getfield org.jruby.RubyEnumerable$6.val$result:Lorg/jruby/RubyArray;
aload 3
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
2: aload 0
dup
getfield org.jruby.RubyEnumerable$6.i:J
lconst_1
lsub
dup2_x1
putfield org.jruby.RubyEnumerable$6.i:J
lconst_0
lcmp
ifne 3
getstatic org.jruby.exceptions.JumpException.SPECIAL_JUMP:Lorg/jruby/exceptions/JumpException$SpecialJump;
athrow
3: StackMap locals: org.jruby.RubyArray
StackMap stack:
aload 4
monitorexit
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: aload 4
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.nil: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 8 0 this Lorg/jruby/RubyEnumerable$6;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 unused Lorg/jruby/runtime/Block;
0 8 3 value Lorg/jruby/runtime/builtin/IRubyObject;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
context
unused
value
}
SourceFile: "RubyEnumerable.java"
EnclosingMethod: org.jruby.RubyEnumerable.take:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
NestHost: org.jruby.RubyEnumerable
InnerClasses:
org.jruby.RubyEnumerable$6