class org.jruby.RubyEnumerable$24 implements org.jruby.runtime.BlockCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyEnumerable$24
super_class: java.lang.Object
{
private final org.jruby.runtime.Block val$block;
descriptor: Lorg/jruby/runtime/Block;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.jruby.RubyArray val$ary;
descriptor: Lorg/jruby/RubyArray;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.runtime.Block, org.jruby.RubyArray);
descriptor: (Lorg/jruby/runtime/Block;Lorg/jruby/RubyArray;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.jruby.RubyEnumerable$24.val$block:Lorg/jruby/runtime/Block;
aload 0
aload 2
putfield org.jruby.RubyEnumerable$24.val$ary:Lorg/jruby/RubyArray;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEnumerable$24;
MethodParameters:
Name Flags
val$block final
val$ary final
public org.jruby.runtime.builtin.IRubyObject call(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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 1
aload 2
invokestatic org.jruby.RubyEnumerable.packEnumValues:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
invokevirtual org.jruby.RubyEnumerable$24.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)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/RubyEnumerable$24;
0 1 1 ctx Lorg/jruby/runtime/ThreadContext;
0 1 2 largs [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 blk Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
ctx
largs
blk
public org.jruby.runtime.builtin.IRubyObject call(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=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.RubyEnumerable$24.val$block:Lorg/jruby/runtime/Block;
aload 1
aload 2
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 1: aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.checkArrayType:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 2: aload 0
getfield org.jruby.RubyEnumerable$24.val$ary:Lorg/jruby/RubyArray;
dup
astore 6
monitorenter
3: aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 6
4: aload 0
getfield org.jruby.RubyEnumerable$24.val$ary:Lorg/jruby/RubyArray;
aload 4
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
5: goto 7
6: StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray
StackMap stack:
aload 0
getfield org.jruby.RubyEnumerable$24.val$ary:Lorg/jruby/RubyArray;
aload 1
aload 5
invokevirtual org.jruby.RubyArray.concat:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
7: StackMap locals:
StackMap stack:
aload 6
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 6
monitorexit
10: athrow
11: 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 12 0 this Lorg/jruby/RubyEnumerable$24;
0 12 1 ctx Lorg/jruby/runtime/ThreadContext;
0 12 2 larg Lorg/jruby/runtime/builtin/IRubyObject;
0 12 3 blk Lorg/jruby/runtime/Block;
1 12 4 i Lorg/jruby/runtime/builtin/IRubyObject;
2 12 5 tmp Lorg/jruby/runtime/builtin/IRubyObject;
Exception table:
from to target type
3 8 9 any
9 10 9 any
MethodParameters:
Name Flags
ctx
larg
blk
}
SourceFile: "RubyEnumerable.java"
EnclosingMethod: org.jruby.RubyEnumerable.flatMapCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
NestHost: org.jruby.RubyEnumerable
InnerClasses:
org.jruby.RubyEnumerable$24