class org.jruby.RubyEnumerable$4 extends org.jruby.runtime.JavaInternalBlockBody
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyEnumerable$4
super_class: org.jruby.runtime.JavaInternalBlockBody
{
private final org.jruby.RubyArray val$result;
descriptor: Lorg/jruby/RubyArray;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.jruby.runtime.Block val$block;
descriptor: Lorg/jruby/runtime/Block;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.Ruby, org.jruby.runtime.Signature, org.jruby.RubyArray, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/Signature;Lorg/jruby/RubyArray;Lorg/jruby/runtime/Block;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 0: aload 0
aload 3
putfield org.jruby.RubyEnumerable$4.val$result:Lorg/jruby/RubyArray;
aload 0
aload 4
putfield org.jruby.RubyEnumerable$4.val$block:Lorg/jruby/runtime/Block;
aload 0
aload 1
aload 2
invokespecial org.jruby.runtime.JavaInternalBlockBody.<init>:(Lorg/jruby/Ruby;Lorg/jruby/runtime/Signature;)V
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEnumerable$4;
0 1 1 $anonymous0 Lorg/jruby/Ruby;
0 1 2 $anonymous1 Lorg/jruby/runtime/Signature;
MethodParameters:
Name Flags
$anonymous0
$anonymous1
val$result final
val$block 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$4.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$4;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
args
public 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: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.RubyEnumerable$4.val$result:Lorg/jruby/RubyArray;
dup
astore 4
monitorenter
1: aload 0
getfield org.jruby.RubyEnumerable$4.val$result:Lorg/jruby/RubyArray;
aload 3
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
aload 4
monitorexit
2: goto 5
StackMap locals: org.jruby.RubyEnumerable$4 org.jruby.runtime.ThreadContext org.jruby.runtime.Block org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray
StackMap stack: java.lang.Throwable
3: aload 4
monitorexit
4: athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyEnumerable$4.val$block:Lorg/jruby/runtime/Block;
aload 1
aload 3
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
6: 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 7 0 this Lorg/jruby/RubyEnumerable$4;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 unused Lorg/jruby/runtime/Block;
0 7 3 value Lorg/jruby/runtime/builtin/IRubyObject;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
context
unused
value
}
SourceFile: "RubyEnumerable.java"
EnclosingMethod: org.jruby.RubyEnumerable.cycleCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;JLorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
NestHost: org.jruby.RubyEnumerable
InnerClasses:
org.jruby.RubyEnumerable$4