class org.jruby.RubyEnumerable$41 implements org.jruby.runtime.BlockCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyEnumerable$41
super_class: java.lang.Object
{
org.jruby.runtime.builtin.IRubyObject minMemo;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0000)
org.jruby.runtime.builtin.IRubyObject maxMemo;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0000)
private final org.jruby.runtime.ThreadContext val$context;
descriptor: Lorg/jruby/runtime/ThreadContext;
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
private final org.jruby.runtime.builtin.IRubyObject[] val$result;
descriptor: [Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(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;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.jruby.RubyEnumerable$41.val$context:Lorg/jruby/runtime/ThreadContext;
aload 0
aload 2
putfield org.jruby.RubyEnumerable$41.val$block:Lorg/jruby/runtime/Block;
aload 0
aload 3
putfield org.jruby.RubyEnumerable$41.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.jruby.RubyEnumerable$41.minMemo:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
aconst_null
putfield org.jruby.RubyEnumerable$41.maxMemo:Lorg/jruby/runtime/builtin/IRubyObject;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyEnumerable$41;
MethodParameters:
Name Flags
val$context final
val$block final
val$result 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=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.RubyEnumerable$41.val$context:Lorg/jruby/runtime/ThreadContext;
aload 1
ldc "minmax_by"
invokestatic org.jruby.RubyEnumerable.checkContext:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)V
1: aload 1
aload 2
invokestatic org.jruby.RubyEnumerable.packEnumValues:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 2: aload 0
getfield org.jruby.RubyEnumerable$41.val$block:Lorg/jruby/runtime/Block;
aload 1
aload 4
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 3: aload 0
getfield org.jruby.RubyEnumerable$41.minMemo:Lorg/jruby/runtime/builtin/IRubyObject;
ifnonnull 7
4: aload 0
aload 0
aload 5
dup_x1
putfield org.jruby.RubyEnumerable$41.maxMemo:Lorg/jruby/runtime/builtin/IRubyObject;
putfield org.jruby.RubyEnumerable$41.minMemo:Lorg/jruby/runtime/builtin/IRubyObject;
5: aload 0
getfield org.jruby.RubyEnumerable$41.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aload 0
getfield org.jruby.RubyEnumerable$41.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_1
aload 4
dup_x2
aastore
aastore
6: goto 13
7: StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 1
aload 1
aload 5
getstatic org.jruby.runtime.invokedynamic.MethodNames.OP_CMP:Lorg/jruby/runtime/invokedynamic/MethodNames;
aload 0
getfield org.jruby.RubyEnumerable$41.minMemo:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.runtime.Helpers.invokedynamic:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/invokedynamic/MethodNames;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 5
aload 0
getfield org.jruby.RubyEnumerable$41.minMemo:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComparable.cmpint:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)I
ifge 10
8: aload 0
aload 5
putfield org.jruby.RubyEnumerable$41.minMemo:Lorg/jruby/runtime/builtin/IRubyObject;
9: aload 0
getfield org.jruby.RubyEnumerable$41.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aload 4
aastore
10: StackMap locals:
StackMap stack:
aload 1
aload 1
aload 5
getstatic org.jruby.runtime.invokedynamic.MethodNames.OP_CMP:Lorg/jruby/runtime/invokedynamic/MethodNames;
aload 0
getfield org.jruby.RubyEnumerable$41.maxMemo:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.runtime.Helpers.invokedynamic:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/invokedynamic/MethodNames;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 5
aload 0
getfield org.jruby.RubyEnumerable$41.maxMemo:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComparable.cmpint:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)I
ifle 13
11: aload 0
aload 5
putfield org.jruby.RubyEnumerable$41.maxMemo:Lorg/jruby/runtime/builtin/IRubyObject;
12: aload 0
getfield org.jruby.RubyEnumerable$41.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_1
aload 4
aastore
13: 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 14 0 this Lorg/jruby/RubyEnumerable$41;
0 14 1 ctx Lorg/jruby/runtime/ThreadContext;
0 14 2 largs [Lorg/jruby/runtime/builtin/IRubyObject;
0 14 3 blk Lorg/jruby/runtime/Block;
2 14 4 arg Lorg/jruby/runtime/builtin/IRubyObject;
3 14 5 v Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
ctx
largs
blk
}
SourceFile: "RubyEnumerable.java"
EnclosingMethod: org.jruby.RubyEnumerable.minmax_by:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
NestHost: org.jruby.RubyEnumerable
InnerClasses:
org.jruby.RubyEnumerable$41