final class org.jruby.javasupport.ext.JavaUtil$List$BlockComparator implements java.util.Comparator
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.javasupport.ext.JavaUtil$List$BlockComparator
super_class: java.lang.Object
{
final org.jruby.runtime.ThreadContext context;
descriptor: Lorg/jruby/runtime/ThreadContext;
flags: (0x0010) ACC_FINAL
private final org.jruby.runtime.Block block;
descriptor: Lorg/jruby/runtime/Block;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.javasupport.ext.JavaUtil$List$BlockComparator.context:Lorg/jruby/runtime/ThreadContext;
aload 0
aload 2
putfield org.jruby.javasupport.ext.JavaUtil$List$BlockComparator.block:Lorg/jruby/runtime/Block;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/ext/JavaUtil$List$BlockComparator;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 block Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
context final
block final
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.jruby.runtime.builtin.IRubyObject
ifeq 2
aload 1
checkcast org.jruby.runtime.builtin.IRubyObject
astore 3
start local 3 1: goto 3
end local 3 2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.javasupport.ext.JavaUtil$List$BlockComparator.context:Lorg/jruby/runtime/ThreadContext;
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 3: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
instanceof org.jruby.runtime.builtin.IRubyObject
ifeq 5
aload 2
checkcast org.jruby.runtime.builtin.IRubyObject
astore 4
start local 4 4: goto 6
end local 4 5: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.javasupport.ext.JavaUtil$List$BlockComparator.context:Lorg/jruby/runtime/ThreadContext;
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 6: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 0
getfield org.jruby.javasupport.ext.JavaUtil$List$BlockComparator.context:Lorg/jruby/runtime/ThreadContext;
aload 3
aload 4
invokevirtual org.jruby.javasupport.ext.JavaUtil$List$BlockComparator.compare:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyInteger.fix2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
ireturn
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/javasupport/ext/JavaUtil$List$BlockComparator;
0 7 1 o1 Ljava/lang/Object;
0 7 2 o2 Ljava/lang/Object;
1 2 3 r1 Lorg/jruby/runtime/builtin/IRubyObject;
3 7 3 r1 Lorg/jruby/runtime/builtin/IRubyObject;
4 5 4 r2 Lorg/jruby/runtime/builtin/IRubyObject;
6 7 4 r2 Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
o1 final
o2 final
public final org.jruby.runtime.builtin.IRubyObject compare(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.javasupport.ext.JavaUtil$List$BlockComparator.block:Lorg/jruby/runtime/Block;
aload 1
aload 2
aload 3
invokevirtual org.jruby.runtime.Block.call:(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 1 0 this Lorg/jruby/javasupport/ext/JavaUtil$List$BlockComparator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 o1 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 o2 Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
o1 final
o2 final
}
SourceFile: "JavaUtil.java"
NestHost: org.jruby.javasupport.ext.JavaUtil
InnerClasses:
public List = org.jruby.javasupport.ext.JavaUtil$List of org.jruby.javasupport.ext.JavaUtil
private final BlockComparator = org.jruby.javasupport.ext.JavaUtil$List$BlockComparator of org.jruby.javasupport.ext.JavaUtil$List