public class org.jruby.RubyComparable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyComparable
super_class: java.lang.Object
{
private static final org.jruby.runtime.ThreadContext$RecursiveFunctionEx DEFAULT_INVCMP;
descriptor: Lorg/jruby/runtime/ThreadContext$RecursiveFunctionEx;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.jruby.RubyComparable$CmpRecursive CMP_RECURSIVE;
descriptor: Lorg/jruby/RubyComparable$CmpRecursive;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jruby.RubyComparable$1
dup
invokespecial org.jruby.RubyComparable$1.<init>:()V
putstatic org.jruby.RubyComparable.DEFAULT_INVCMP:Lorg/jruby/runtime/ThreadContext$RecursiveFunctionEx;
1: new org.jruby.RubyComparable$CmpRecursive
dup
invokespecial org.jruby.RubyComparable$CmpRecursive.<init>:()V
putstatic org.jruby.RubyComparable.CMP_RECURSIVE:Lorg/jruby/RubyComparable$CmpRecursive;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComparable;
public static org.jruby.RubyModule createComparable(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyModule;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "Comparable"
invokevirtual org.jruby.Ruby.defineModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
astore 1
start local 1 1: aload 1
ldc Lorg/jruby/RubyComparable;
invokevirtual org.jruby.RubyModule.defineAnnotatedMethods:(Ljava/lang/Class;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
1 3 1 comparableModule Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
runtime
public static int cmpint(org.jruby.runtime.ThreadContext, org.jruby.runtime.CallSite, org.jruby.runtime.CallSite, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (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
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 3
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 1
aload 4
aload 5
invokestatic org.jruby.RubyComparable.cmperr:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: StackMap locals:
StackMap stack:
aload 3
instanceof org.jruby.RubyFixnum
ifeq 8
2: aload 3
checkcast org.jruby.RubyFixnum
invokestatic org.jruby.RubyNumeric.fix2int:(Lorg/jruby/RubyFixnum;)I
istore 6
start local 6 3: iload 6
ifle 5
4: iconst_1
ireturn
5: StackMap locals: int
StackMap stack:
iload 6
ifge 7
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 6 8: StackMap locals:
StackMap stack:
aload 3
instanceof org.jruby.RubyBignum
ifeq 11
aload 3
checkcast org.jruby.RubyBignum
invokevirtual org.jruby.RubyBignum.signum:()I
iconst_m1
if_icmpne 9
iconst_m1
goto 10
StackMap locals:
StackMap stack:
9: iconst_1
StackMap locals:
StackMap stack: int
10: ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 6
start local 6 12: aload 1
aload 0
aload 3
aload 3
aload 6
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 13
iconst_1
ireturn
13: StackMap locals: org.jruby.RubyFixnum
StackMap stack:
aload 2
aload 0
aload 3
aload 3
aload 6
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 14
iconst_m1
ireturn
14: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 6 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 15 0 context Lorg/jruby/runtime/ThreadContext;
0 15 1 op_gt Lorg/jruby/runtime/CallSite;
0 15 2 op_lt Lorg/jruby/runtime/CallSite;
0 15 3 val Lorg/jruby/runtime/builtin/IRubyObject;
0 15 4 a Lorg/jruby/runtime/builtin/IRubyObject;
0 15 5 b Lorg/jruby/runtime/builtin/IRubyObject;
3 8 6 asInt I
12 15 6 zero Lorg/jruby/RubyFixnum;
MethodParameters:
Name Flags
context
op_gt
op_lt
val
a
b
public static int cmpint(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, 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;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic org.jruby.RubyComparable.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComparableSites;
astore 4
start local 4 1: aload 0
aload 4
getfield org.jruby.runtime.JavaSites$ComparableSites.op_gt:Lorg/jruby/runtime/CallSite;
aload 4
getfield org.jruby.runtime.JavaSites$ComparableSites.op_lt:Lorg/jruby/runtime/CallSite;
aload 1
aload 2
aload 3
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 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 val Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 a Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 b Lorg/jruby/runtime/builtin/IRubyObject;
1 2 4 sites Lorg/jruby/runtime/JavaSites$ComparableSites;
MethodParameters:
Name Flags
context
val
a
b
public static int cmpAndCmpint(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;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.jruby.RubyComparable.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComparableSites;
getfield org.jruby.runtime.JavaSites$ComparableSites.op_cmp:Lorg/jruby/runtime/CallSite;
aload 0
aload 1
aload 1
aload 2
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 0
aload 3
aload 1
aload 2
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
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 a Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 b Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 cmpResult Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
a
b
public static int cmpAndCmpint(org.jruby.runtime.ThreadContext, org.jruby.runtime.CallSite, org.jruby.runtime.CallSite, org.jruby.runtime.CallSite, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 0
aload 4
aload 4
aload 5
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 1: aload 0
aload 2
aload 3
aload 6
aload 4
aload 5
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 6 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 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 op_cmp Lorg/jruby/runtime/CallSite;
0 2 2 op_gt Lorg/jruby/runtime/CallSite;
0 2 3 op_lt Lorg/jruby/runtime/CallSite;
0 2 4 a Lorg/jruby/runtime/builtin/IRubyObject;
0 2 5 b Lorg/jruby/runtime/builtin/IRubyObject;
1 2 6 cmpResult Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
op_cmp
op_gt
op_lt
a
b
public static org.jruby.runtime.builtin.IRubyObject cmperr(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isImmediate:()Z
ifne 1
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 3
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifne 3
aload 1
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
if_acmpeq 3
1: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.inspect:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getType:()Lorg/jruby/RubyClass;
astore 2
start local 2 4: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "comparison of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getType:()Lorg/jruby/RubyClass;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " with "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " failed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 5 1 other Lorg/jruby/runtime/builtin/IRubyObject;
2 3 2 target Lorg/jruby/runtime/builtin/IRubyObject;
4 5 2 target Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
recv
other
public static org.jruby.runtime.builtin.IRubyObject invcmp(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.jruby.RubyComparable.DEFAULT_INVCMP:Lorg/jruby/runtime/ThreadContext$RecursiveFunctionEx;
aload 1
aload 2
invokestatic org.jruby.RubyComparable.invcmp:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/ThreadContext$RecursiveFunctionEx;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
recv final
other final
public static org.jruby.runtime.builtin.IRubyObject invcmp(org.jruby.runtime.ThreadContext, org.jruby.runtime.ThreadContext$RecursiveFunctionEx, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/ThreadContext$RecursiveFunctionEx;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
ldc "<=>"
iconst_1
invokevirtual org.jruby.runtime.ThreadContext.safeRecurse:(Lorg/jruby/runtime/ThreadContext$RecursiveFunctionEx;Ljava/lang/Object;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 1: aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aload 4
areturn
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 4
aload 2
aload 3
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
ineg
i2l
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 func Lorg/jruby/runtime/ThreadContext$RecursiveFunctionEx;
0 3 2 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 other Lorg/jruby/runtime/builtin/IRubyObject;
1 3 4 result Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
func
recv
other
public static org.jruby.runtime.builtin.IRubyObject op_equal(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
invokestatic org.jruby.RubyComparable.callCmpMethod:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"=="}, required = 1)
MethodParameters:
Name Flags
context
recv
other
public static org.jruby.runtime.builtin.IRubyObject op_equal19(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.jruby.RubyComparable.op_equal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
recv
other
private static org.jruby.runtime.builtin.IRubyObject callCmpMethod(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, 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;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: aload 1
aload 2
if_acmpne 2
aload 0
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 0
getstatic org.jruby.RubyComparable.CMP_RECURSIVE:Lorg/jruby/RubyComparable$CmpRecursive;
aload 2
aload 1
ldc "<=>"
iconst_1
invokevirtual org.jruby.runtime.ThreadContext.safeRecurse:(Lorg/jruby/runtime/ThreadContext$RecursiveFunctionEx;Ljava/lang/Object;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 3: aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 4
aload 3
areturn
4: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
aload 0
aload 5
aload 1
aload 2
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
ifne 5
iconst_1
goto 6
StackMap locals:
StackMap stack: org.jruby.Ruby
5: iconst_0
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.Ruby int
6: invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/Ruby;Z)Lorg/jruby/RubyBoolean;
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 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 other Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 returnValueOnError Lorg/jruby/runtime/builtin/IRubyObject;
1 7 4 runtime Lorg/jruby/Ruby;
3 7 5 result Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
recv final
other final
returnValueOnError
public static org.jruby.RubyBoolean op_gt(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/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.jruby.RubyComparable.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComparableSites;
getfield org.jruby.runtime.JavaSites$ComparableSites.op_cmp:Lorg/jruby/runtime/CallSite;
aload 0
aload 1
aload 1
aload 2
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aload 1
aload 2
invokestatic org.jruby.RubyComparable.cmperr:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 0
aload 3
aload 1
aload 2
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 3
iconst_1
goto 4
StackMap locals:
StackMap stack: org.jruby.runtime.ThreadContext
3: iconst_0
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.runtime.ThreadContext int
4: invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lorg/jruby/runtime/ThreadContext;
0 5 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 5 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 5 3 result Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {">"}, required = 1)
MethodParameters:
Name Flags
context
recv
other
public static org.jruby.RubyBoolean op_ge(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/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.jruby.RubyComparable.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComparableSites;
getfield org.jruby.runtime.JavaSites$ComparableSites.op_cmp:Lorg/jruby/runtime/CallSite;
aload 0
aload 1
aload 1
aload 2
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aload 1
aload 2
invokestatic org.jruby.RubyComparable.cmperr:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 0
aload 3
aload 1
aload 2
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
iflt 3
iconst_1
goto 4
StackMap locals:
StackMap stack: org.jruby.runtime.ThreadContext
3: iconst_0
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.runtime.ThreadContext int
4: invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lorg/jruby/runtime/ThreadContext;
0 5 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 5 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 5 3 result Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {">="}, required = 1)
MethodParameters:
Name Flags
context
recv
other
public static org.jruby.RubyBoolean op_lt(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/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.jruby.RubyComparable.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComparableSites;
getfield org.jruby.runtime.JavaSites$ComparableSites.op_cmp:Lorg/jruby/runtime/CallSite;
aload 0
aload 1
aload 1
aload 2
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aload 1
aload 2
invokestatic org.jruby.RubyComparable.cmperr:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 0
aload 3
aload 1
aload 2
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 3
iconst_1
goto 4
StackMap locals:
StackMap stack: org.jruby.runtime.ThreadContext
3: iconst_0
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.runtime.ThreadContext int
4: invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lorg/jruby/runtime/ThreadContext;
0 5 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 5 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 5 3 result Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<"}, required = 1)
MethodParameters:
Name Flags
context
recv
other
public static org.jruby.RubyBoolean op_lt(org.jruby.runtime.ThreadContext, org.jruby.runtime.CallSite, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
aload 2
aload 2
aload 3
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 1: aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aload 2
aload 3
invokestatic org.jruby.RubyComparable.cmperr:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 0
aload 4
aload 2
aload 3
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 3
iconst_1
goto 4
StackMap locals:
StackMap stack: org.jruby.runtime.ThreadContext
3: iconst_0
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.CallSite org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.runtime.ThreadContext int
4: invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lorg/jruby/runtime/ThreadContext;
0 5 1 cmp Lorg/jruby/runtime/CallSite;
0 5 2 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 5 3 other Lorg/jruby/runtime/builtin/IRubyObject;
1 5 4 result Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
cmp
recv
other
public static org.jruby.RubyBoolean op_le(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/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.jruby.RubyComparable.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComparableSites;
getfield org.jruby.runtime.JavaSites$ComparableSites.op_cmp:Lorg/jruby/runtime/CallSite;
aload 0
aload 1
aload 1
aload 2
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aload 1
aload 2
invokestatic org.jruby.RubyComparable.cmperr:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 0
aload 3
aload 1
aload 2
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
ifgt 3
iconst_1
goto 4
StackMap locals:
StackMap stack: org.jruby.runtime.ThreadContext
3: iconst_0
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.runtime.ThreadContext int
4: invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lorg/jruby/runtime/ThreadContext;
0 5 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 5 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 5 3 result Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<="}, required = 1)
MethodParameters:
Name Flags
context
recv
other
public static org.jruby.RubyBoolean between_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, 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;)Lorg/jruby/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
aload 1
aload 2
invokestatic org.jruby.RubyComparable.op_lt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
invokevirtual org.jruby.RubyBoolean.isFalse:()Z
ifeq 1
aload 0
aload 1
aload 3
invokestatic org.jruby.RubyComparable.op_gt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
invokevirtual org.jruby.RubyBoolean.isFalse:()Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.jruby.runtime.ThreadContext
1: iconst_0
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.runtime.ThreadContext int
2: invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 first Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 second Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"between?"}, required = 2)
MethodParameters:
Name Flags
context
recv
first
second
public static org.jruby.runtime.builtin.IRubyObject clamp(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, 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;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic org.jruby.RubyComparable.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComparableSites;
astore 5
start local 5 1: aload 5
getfield org.jruby.runtime.JavaSites$ComparableSites.op_gt:Lorg/jruby/runtime/CallSite;
astore 6
start local 6 2: aload 5
getfield org.jruby.runtime.JavaSites$ComparableSites.op_lt:Lorg/jruby/runtime/CallSite;
astore 7
start local 7 3: aload 5
getfield org.jruby.runtime.JavaSites$ComparableSites.op_cmp:Lorg/jruby/runtime/CallSite;
astore 8
start local 8 4: aload 0
aload 8
aload 6
aload 7
aload 2
aload 3
invokestatic org.jruby.RubyComparable.cmpAndCmpint:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)I
ifle 6
5: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "min argument must be smaller than max argument"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
6: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject top org.jruby.runtime.JavaSites$ComparableSites org.jruby.runtime.CallSite org.jruby.runtime.CallSite org.jruby.runtime.CallSite
StackMap stack:
aload 0
aload 8
aload 6
aload 7
aload 1
aload 2
invokestatic org.jruby.RubyComparable.cmpAndCmpint:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)I
istore 4
start local 4 7: iload 4
ifne 8
aload 1
areturn
8: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.runtime.JavaSites$ComparableSites org.jruby.runtime.CallSite org.jruby.runtime.CallSite org.jruby.runtime.CallSite
StackMap stack:
iload 4
ifge 9
aload 2
areturn
9: StackMap locals:
StackMap stack:
aload 0
aload 8
aload 6
aload 7
aload 1
aload 3
invokestatic org.jruby.RubyComparable.cmpAndCmpint:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)I
istore 4
10: iload 4
ifle 11
aload 3
areturn
11: StackMap locals:
StackMap stack:
aload 1
areturn
end local 8 end local 7 end local 6 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 12 0 context Lorg/jruby/runtime/ThreadContext;
0 12 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 12 2 min Lorg/jruby/runtime/builtin/IRubyObject;
0 12 3 max Lorg/jruby/runtime/builtin/IRubyObject;
7 12 4 c I
1 12 5 sites Lorg/jruby/runtime/JavaSites$ComparableSites;
2 12 6 op_gt Lorg/jruby/runtime/CallSite;
3 12 7 op_lt Lorg/jruby/runtime/CallSite;
4 12 8 op_cmp Lorg/jruby/runtime/CallSite;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"clamp"})
MethodParameters:
Name Flags
context
recv
min
max
private static org.jruby.runtime.JavaSites$ComparableSites sites(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComparableSites;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ThreadContext.sites:Lorg/jruby/runtime/JavaSites;
getfield org.jruby.runtime.JavaSites.Comparable:Lorg/jruby/runtime/JavaSites$ComparableSites;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
}
SourceFile: "RubyComparable.java"
NestMembers:
org.jruby.RubyComparable$1 org.jruby.RubyComparable$CmpRecursive
InnerClasses:
org.jruby.RubyComparable$1
private CmpRecursive = org.jruby.RubyComparable$CmpRecursive of org.jruby.RubyComparable
public ComparableSites = org.jruby.runtime.JavaSites$ComparableSites of org.jruby.runtime.JavaSites
public abstract RecursiveFunctionEx = org.jruby.runtime.ThreadContext$RecursiveFunctionEx of org.jruby.runtime.ThreadContext
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyModule(name = {"Comparable"})