class org.jruby.RubyArray$BlockComparator implements java.util.Comparator<org.jruby.runtime.builtin.IRubyObject>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyArray$BlockComparator
super_class: java.lang.Object
{
final org.jruby.runtime.ThreadContext context;
descriptor: Lorg/jruby/runtime/ThreadContext;
flags: (0x0010) ACC_FINAL
protected final org.jruby.runtime.Block block;
descriptor: Lorg/jruby/runtime/Block;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.jruby.runtime.builtin.IRubyObject self;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final org.jruby.runtime.CallSite gt;
descriptor: Lorg/jruby/runtime/CallSite;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.runtime.CallSite lt;
descriptor: Lorg/jruby/runtime/CallSite;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.CallSite, org.jruby.runtime.CallSite);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aconst_null
aload 3
aload 4
invokespecial org.jruby.RubyArray$BlockComparator.<init>:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyArray$BlockComparator;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 block Lorg/jruby/runtime/Block;
0 2 3 gt Lorg/jruby/runtime/CallSite;
0 2 4 lt Lorg/jruby/runtime/CallSite;
MethodParameters:
Name Flags
context
block
gt
lt
void <init>(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.CallSite, org.jruby.runtime.CallSite);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ifnonnull 2
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
goto 3
StackMap locals: org.jruby.RubyArray$BlockComparator org.jruby.runtime.ThreadContext org.jruby.runtime.Block org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.CallSite org.jruby.runtime.CallSite
StackMap stack: org.jruby.RubyArray$BlockComparator
2: aload 1
StackMap locals: org.jruby.RubyArray$BlockComparator org.jruby.runtime.ThreadContext org.jruby.runtime.Block org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.CallSite org.jruby.runtime.CallSite
StackMap stack: org.jruby.RubyArray$BlockComparator org.jruby.runtime.ThreadContext
3: putfield org.jruby.RubyArray$BlockComparator.context:Lorg/jruby/runtime/ThreadContext;
4: aload 0
aload 2
putfield org.jruby.RubyArray$BlockComparator.block:Lorg/jruby/runtime/Block;
aload 0
aload 3
putfield org.jruby.RubyArray$BlockComparator.self:Lorg/jruby/runtime/builtin/IRubyObject;
5: aload 0
aload 4
putfield org.jruby.RubyArray$BlockComparator.gt:Lorg/jruby/runtime/CallSite;
aload 0
aload 5
putfield org.jruby.RubyArray$BlockComparator.lt:Lorg/jruby/runtime/CallSite;
6: return
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 7 0 this Lorg/jruby/RubyArray$BlockComparator;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 block Lorg/jruby/runtime/Block;
0 7 3 self Lorg/jruby/runtime/builtin/IRubyObject;
0 7 4 gt Lorg/jruby/runtime/CallSite;
0 7 5 lt Lorg/jruby/runtime/CallSite;
MethodParameters:
Name Flags
context
block
self
gt
lt
public int compare(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.RubyArray$BlockComparator.context:Lorg/jruby/runtime/ThreadContext;
aload 0
getfield org.jruby.RubyArray$BlockComparator.gt:Lorg/jruby/runtime/CallSite;
aload 0
getfield org.jruby.RubyArray$BlockComparator.lt:Lorg/jruby/runtime/CallSite;
aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyArray$BlockComparator.yieldBlock:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 2
invokestatic org.jruby.RubyComparable.cmpint:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyArray$BlockComparator;
0 1 1 obj1 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 obj2 Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
obj1
obj2
protected final org.jruby.runtime.builtin.IRubyObject yieldBlock(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.RubyArray$BlockComparator.context:()Lorg/jruby/runtime/ThreadContext;
astore 3
start local 3 1: aload 0
getfield org.jruby.RubyArray$BlockComparator.block:Lorg/jruby/runtime/Block;
aload 3
aload 3
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 2
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
aload 0
getfield org.jruby.RubyArray$BlockComparator.self:Lorg/jruby/runtime/builtin/IRubyObject;
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;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyArray$BlockComparator;
0 2 1 obj1 Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 obj2 Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
obj1
obj2
protected final org.jruby.runtime.ThreadContext context();
descriptor: ()Lorg/jruby/runtime/ThreadContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyArray$BlockComparator.context:Lorg/jruby/runtime/ThreadContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyArray$BlockComparator;
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.jruby.runtime.builtin.IRubyObject
aload 2
checkcast org.jruby.runtime.builtin.IRubyObject
invokevirtual org.jruby.RubyArray$BlockComparator.compare:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Lorg/jruby/runtime/builtin/IRubyObject;>;
SourceFile: "RubyArray.java"
NestHost: org.jruby.RubyArray
InnerClasses:
BlockComparator = org.jruby.RubyArray$BlockComparator of org.jruby.RubyArray