final class org.jruby.javasupport.ext.JavaUtil$List$SpaceshipComparator 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$SpaceshipComparator
super_class: java.lang.Object
{
final org.jruby.runtime.ThreadContext context;
descriptor: Lorg/jruby/runtime/ThreadContext;
flags: (0x0010) ACC_FINAL
void <init>(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.javasupport.ext.JavaUtil$List$SpaceshipComparator.context:Lorg/jruby/runtime/ThreadContext;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/ext/JavaUtil$List$SpaceshipComparator;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context 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 java.lang.Comparable
ifeq 2
aload 2
instanceof java.lang.Comparable
ifeq 2
1: aload 1
checkcast java.lang.Comparable
aload 2
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.runtime.builtin.IRubyObject
ifeq 4
aload 1
checkcast org.jruby.runtime.builtin.IRubyObject
astore 3
start local 3 3: goto 5
end local 3 4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.javasupport.ext.JavaUtil$List$SpaceshipComparator.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 5: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
instanceof org.jruby.runtime.builtin.IRubyObject
ifeq 7
aload 2
checkcast org.jruby.runtime.builtin.IRubyObject
astore 4
start local 4 6: goto 8
end local 4 7: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.javasupport.ext.JavaUtil$List$SpaceshipComparator.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 8: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 0
getfield org.jruby.javasupport.ext.JavaUtil$List$SpaceshipComparator.context:Lorg/jruby/runtime/ThreadContext;
aload 3
aload 4
invokevirtual org.jruby.javasupport.ext.JavaUtil$List$SpaceshipComparator.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 9 0 this Lorg/jruby/javasupport/ext/JavaUtil$List$SpaceshipComparator;
0 9 1 o1 Ljava/lang/Object;
0 9 2 o2 Ljava/lang/Object;
3 4 3 r1 Lorg/jruby/runtime/builtin/IRubyObject;
5 9 3 r1 Lorg/jruby/runtime/builtin/IRubyObject;
6 7 4 r2 Lorg/jruby/runtime/builtin/IRubyObject;
8 9 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 2
aload 1
ldc "<=>"
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;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$SpaceshipComparator;
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 SpaceshipComparator = org.jruby.javasupport.ext.JavaUtil$List$SpaceshipComparator of org.jruby.javasupport.ext.JavaUtil$List