class org.jruby.RubyEnumerable$34 implements org.jruby.runtime.BlockCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyEnumerable$34
super_class: java.lang.Object
{
private final org.jruby.RubyArray val$result;
descriptor: Lorg/jruby/RubyArray;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$size;
descriptor: I
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.RubyArray, int, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/RubyArray;ILorg/jruby/runtime/Block;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.jruby.RubyEnumerable$34.val$result:Lorg/jruby/RubyArray;
aload 0
iload 2
putfield org.jruby.RubyEnumerable$34.val$size:I
aload 0
aload 3
putfield org.jruby.RubyEnumerable$34.val$block:Lorg/jruby/runtime/Block;
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$34;
MethodParameters:
Name Flags
val$result final
val$size final
val$block 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=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.RubyEnumerable$34.val$result:Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyArray.size:()I
aload 0
getfield org.jruby.RubyEnumerable$34.val$size:I
if_icmpne 1
aload 0
getfield org.jruby.RubyEnumerable$34.val$result:Lorg/jruby/RubyArray;
aload 1
invokevirtual org.jruby.RubyArray.shift:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyEnumerable$34.val$result:Lorg/jruby/RubyArray;
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.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
2: aload 0
getfield org.jruby.RubyEnumerable$34.val$result:Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyArray.size:()I
aload 0
getfield org.jruby.RubyEnumerable$34.val$size:I
if_icmpne 3
aload 0
getfield org.jruby.RubyEnumerable$34.val$block:Lorg/jruby/runtime/Block;
aload 1
aload 0
getfield org.jruby.RubyEnumerable$34.val$result:Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyArray.aryDup:()Lorg/jruby/RubyArray;
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
3: 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 4 0 this Lorg/jruby/RubyEnumerable$34;
0 4 1 ctx Lorg/jruby/runtime/ThreadContext;
0 4 2 largs [Lorg/jruby/runtime/builtin/IRubyObject;
0 4 3 blk Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
ctx
largs
blk
}
SourceFile: "RubyEnumerable.java"
EnclosingMethod: org.jruby.RubyEnumerable.each_consCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;ILorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
NestHost: org.jruby.RubyEnumerable
InnerClasses:
org.jruby.RubyEnumerable$34