class org.jruby.RubyEnumerable$37 implements org.jruby.runtime.BlockCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyEnumerable$37
super_class: java.lang.Object
{
private final org.jruby.runtime.ThreadContext val$context;
descriptor: Lorg/jruby/runtime/ThreadContext;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$op;
descriptor: Ljava/lang/String;
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
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.Ruby val$runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$sortDirection;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.runtime.ThreadContext, java.lang.String, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block, org.jruby.Ruby, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;Lorg/jruby/Ruby;I)V
flags: (0x0000)
Code:
stack=2, locals=7, args_size=7
start local 0 0: aload 0
aload 1
putfield org.jruby.RubyEnumerable$37.val$context:Lorg/jruby/runtime/ThreadContext;
aload 0
aload 2
putfield org.jruby.RubyEnumerable$37.val$op:Ljava/lang/String;
aload 0
aload 3
putfield org.jruby.RubyEnumerable$37.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
aload 4
putfield org.jruby.RubyEnumerable$37.val$block:Lorg/jruby/runtime/Block;
aload 0
aload 5
putfield org.jruby.RubyEnumerable$37.val$runtime:Lorg/jruby/Ruby;
aload 0
iload 6
putfield org.jruby.RubyEnumerable$37.val$sortDirection:I
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$37;
MethodParameters:
Name Flags
val$context final
val$op final
val$result final
val$block final
val$runtime final
val$sortDirection 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=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: 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 1: aload 0
getfield org.jruby.RubyEnumerable$37.val$context:Lorg/jruby/runtime/ThreadContext;
aload 1
new java.lang.StringBuilder
dup
aload 0
getfield org.jruby.RubyEnumerable$37.val$op:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "{}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.jruby.RubyEnumerable.checkContext:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)V
2: aload 0
getfield org.jruby.RubyEnumerable$37.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aaload
ifnull 7
3: aload 0
getfield org.jruby.RubyEnumerable$37.val$block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 5
4: aload 1
aload 0
getfield org.jruby.RubyEnumerable$37.val$block:Lorg/jruby/runtime/Block;
aload 1
aload 0
getfield org.jruby.RubyEnumerable$37.val$runtime:Lorg/jruby/Ruby;
aload 4
aload 0
getfield org.jruby.RubyEnumerable$37.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aaload
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
aconst_null
invokevirtual org.jruby.runtime.Block.yieldArray:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 4
aload 0
getfield org.jruby.RubyEnumerable$37.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aaload
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
aload 0
getfield org.jruby.RubyEnumerable$37.val$sortDirection:I
imul
ifgt 7
5: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
getfield org.jruby.RubyEnumerable$37.val$block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 8
6: aload 1
aload 1
aload 4
getstatic org.jruby.runtime.invokedynamic.MethodNames.OP_CMP:Lorg/jruby/runtime/invokedynamic/MethodNames;
aload 0
getfield org.jruby.RubyEnumerable$37.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aaload
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 4
aload 0
getfield org.jruby.RubyEnumerable$37.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aaload
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
aload 0
getfield org.jruby.RubyEnumerable$37.val$sortDirection:I
imul
ifle 8
7: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyEnumerable$37.val$result:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aload 4
aastore
8: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/RubyEnumerable$37;
0 9 1 ctx Lorg/jruby/runtime/ThreadContext;
0 9 2 largs [Lorg/jruby/runtime/builtin/IRubyObject;
0 9 3 blk Lorg/jruby/runtime/Block;
1 9 4 larg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
ctx
largs
blk
}
SourceFile: "RubyEnumerable.java"
EnclosingMethod: org.jruby.RubyEnumerable.singleExtent:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;ILorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
NestHost: org.jruby.RubyEnumerable
InnerClasses:
org.jruby.RubyEnumerable$37