public class org.jruby.RubyNumeric extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyNumeric
super_class: org.jruby.RubyObject
{
protected static final org.jruby.runtime.ObjectAllocator NUMERIC_ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
public static final double DBL_EPSILON;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2.220446049250313E-16
private static final java.lang.String[] STEP_KEYS;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$jruby$runtime$ClassIndex;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.jruby.RubyNumeric$1
dup
invokespecial org.jruby.RubyNumeric$1.<init>:()V
putstatic org.jruby.RubyNumeric.NUMERIC_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
1: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "to"
aastore
dup
iconst_1
ldc "by"
aastore
putstatic org.jruby.RubyNumeric.STEP_KEYS:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.RubyClass createNumericClass(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ldc "Numeric"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
getstatic org.jruby.RubyNumeric.NUMERIC_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 1: aload 1
getstatic org.jruby.runtime.ClassIndex.NUMERIC:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.RubyClass.setClassIndex:(Lorg/jruby/runtime/ClassIndex;)V
2: aload 1
ldc Lorg/jruby/RubyNumeric;
invokevirtual org.jruby.RubyClass.setReifiedClass:(Ljava/lang/Class;)V
3: aload 1
new org.jruby.RubyModule$JavaClassKindOf
dup
ldc Lorg/jruby/RubyNumeric;
invokespecial org.jruby.RubyModule$JavaClassKindOf.<init>:(Ljava/lang/Class;)V
putfield org.jruby.RubyClass.kindOf:Lorg/jruby/RubyModule$KindOf;
4: aload 1
aload 0
invokevirtual org.jruby.Ruby.getComparable:()Lorg/jruby/RubyModule;
invokevirtual org.jruby.RubyClass.includeModule:(Lorg/jruby/runtime/builtin/IRubyObject;)V
5: aload 1
ldc Lorg/jruby/RubyNumeric;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 runtime Lorg/jruby/Ruby;
1 7 1 numeric Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
public void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyNumeric;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 metaClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
metaClass
public void <init>(org.jruby.RubyClass);
descriptor: (Lorg/jruby/RubyClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/RubyClass;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyNumeric;
0 2 1 metaClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
metaClass
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyNumeric;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 metaClass Lorg/jruby/RubyClass;
0 2 3 useObjectSpace Z
MethodParameters:
Name Flags
runtime
metaClass
useObjectSpace
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, boolean, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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
iload 3
iload 4
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;ZZ)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/RubyNumeric;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 metaClass Lorg/jruby/RubyClass;
0 2 3 useObjectSpace Z
0 2 4 canBeTainted Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
metaClass
useObjectSpace
canBeTainted
public static java.math.RoundingMode getRoundingMode(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/math/RoundingMode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "half"
aload 1
invokestatic org.jruby.ast.util.ArgsUtil.extractKeywordArg:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 2
getstatic java.math.RoundingMode.HALF_UP:Ljava/math/RoundingMode;
areturn
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
instanceof org.jruby.RubySymbol
ifeq 10
3: aload 2
checkcast org.jruby.RubySymbol
invokevirtual org.jruby.RubySymbol.asJavaString:()Ljava/lang/String;
dup
astore 3
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
3739: 4
3089570: 5
3125530: 6
default: 10
}
StackMap locals: java.lang.String
StackMap stack:
4: aload 3
ldc "up"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
goto 10
StackMap locals:
StackMap stack:
5: aload 3
ldc "down"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
goto 10
StackMap locals:
StackMap stack:
6: aload 3
ldc "even"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 10
7: StackMap locals:
StackMap stack:
getstatic java.math.RoundingMode.HALF_UP:Ljava/math/RoundingMode;
areturn
8: StackMap locals:
StackMap stack:
getstatic java.math.RoundingMode.HALF_EVEN:Ljava/math/RoundingMode;
areturn
9: StackMap locals:
StackMap stack:
getstatic java.math.RoundingMode.HALF_DOWN:Ljava/math/RoundingMode;
areturn
10: StackMap locals:
StackMap stack:
aload 0
11: getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "invalid rounding mode: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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 12 0 context Lorg/jruby/runtime/ThreadContext;
0 12 1 opts Lorg/jruby/runtime/builtin/IRubyObject;
1 12 2 halfArg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
opts
public long getLongValue();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
public int getIntValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyNumeric.getLongValue:()J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
public double getDoubleValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyNumeric.getLongValue:()J
l2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
public java.math.BigInteger getBigIntegerValue();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyNumeric.getLongValue:()J
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
public static org.jruby.RubyNumeric newNumeric(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyNumeric;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.jruby.RubyNumeric
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getNumeric:()Lorg/jruby/RubyClass;
invokespecial org.jruby.RubyNumeric.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
runtime
public static int num2int(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokestatic org.jruby.RubyNumeric.num2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
lstore 1
start local 1 1: aload 0
lload 1
invokestatic org.jruby.RubyNumeric.checkInt:(Lorg/jruby/runtime/builtin/IRubyObject;J)V
2: lload 1
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 arg Lorg/jruby/runtime/builtin/IRubyObject;
1 3 1 num J
MethodParameters:
Name Flags
arg
public static int checkInt(org.jruby.Ruby, long);
descriptor: (Lorg/jruby/Ruby;J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
l2i
i2l
lload 1
lcmp
ifeq 2
1: aload 0
lload 1
invokestatic org.jruby.RubyNumeric.checkIntFail:(Lorg/jruby/Ruby;J)V
2: StackMap locals:
StackMap stack:
lload 1
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 num J
MethodParameters:
Name Flags
runtime final
num
public static void checkInt(org.jruby.runtime.builtin.IRubyObject, long);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
l2i
i2l
lload 1
lcmp
ifeq 2
1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
lload 1
invokestatic org.jruby.RubyNumeric.checkIntFail:(Lorg/jruby/Ruby;J)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 arg Lorg/jruby/runtime/builtin/IRubyObject;
0 3 1 num J
MethodParameters:
Name Flags
arg
num
private static void checkIntFail(org.jruby.Ruby, long);
descriptor: (Lorg/jruby/Ruby;J)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
ldc -2147483648
lcmp
ifge 2
1: aload 0
new java.lang.StringBuilder
dup
ldc "integer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " too small to convert to `int'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newRangeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "integer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " too big to convert to `int'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newRangeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 num J
MethodParameters:
Name Flags
runtime
num
public static byte num2chr(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.jruby.RubyString
ifeq 3
1: aload 0
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.size:()I
ifle 3
2: aload 0
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
iconst_0
invokevirtual org.jruby.util.ByteList.get:(I)I
i2b
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyNumeric.num2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
i2b
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 arg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
arg
public static long num2long(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.jruby.RubyFixnum
ifeq 1
aload 0
checkcast org.jruby.RubyFixnum
getfield org.jruby.RubyFixnum.value:J
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokestatic org.jruby.RubyNumeric.other2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
StackMap locals:
StackMap stack: long
2: lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 arg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
arg
private static long other2long(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.jruby.RubyFloat
ifeq 1
aload 0
checkcast org.jruby.RubyFloat
invokestatic org.jruby.RubyNumeric.float2long:(Lorg/jruby/RubyFloat;)J
lreturn
1: StackMap locals:
StackMap stack:
aload 0
instanceof org.jruby.RubyBignum
ifeq 2
aload 0
checkcast org.jruby.RubyBignum
invokestatic org.jruby.RubyBignum.big2long:(Lorg/jruby/RubyBignum;)J
lreturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 4
3: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
ldc "no implicit conversion from nil to integer"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyInteger.getLongValue:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 arg Lorg/jruby/runtime/builtin/IRubyObject;
Exceptions:
throws org.jruby.exceptions.RaiseException
MethodParameters:
Name Flags
arg
public static long float2long(org.jruby.RubyFloat);
descriptor: (Lorg/jruby/RubyFloat;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyFloat.value:D
dstore 1
start local 1 1: dload 1
ldc 9.223372036854776E18
dcmpg
ifgt 3
dload 1
ldc -9.223372036854776E18
dcmpl
iflt 3
2: dload 1
d2l
lreturn
3: StackMap locals: double
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFloat.getRuntime:()Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "float "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
dload 1
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc " out of range of integer"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newRangeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 flt Lorg/jruby/RubyFloat;
1 4 1 aFloat D
MethodParameters:
Name Flags
flt
public static org.jruby.runtime.builtin.IRubyObject dbl2num(org.jruby.Ruby, double);
descriptor: (Lorg/jruby/Ruby;D)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 val D
MethodParameters:
Name Flags
runtime
val
public static org.jruby.RubyInteger dbl2ival(org.jruby.Ruby, double);
descriptor: (Lorg/jruby/Ruby;D)Lorg/jruby/RubyInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: dload 1
invokestatic java.lang.Double.isNaN:(D)Z
ifne 1
dload 1
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
dload 1
invokestatic java.lang.Double.toString:(D)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newFloatDomainError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
dload 1
d2l
lstore 3
start local 3 3: lload 3
ldc -9223372036854775808
lcmp
ifeq 4
lload 3
ldc 9223372036854775807
lcmp
ifne 7
4: StackMap locals: long
StackMap stack:
dload 1
invokestatic java.math.BigDecimal.valueOf:(D)Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.toBigInteger:()Ljava/math/BigInteger;
astore 5
start local 5 5: aload 5
invokestatic org.jruby.RubyNumeric.posFixable:(Ljava/math/BigInteger;)Z
ifeq 9
aload 5
invokestatic org.jruby.RubyNumeric.negFixable:(Ljava/math/BigInteger;)Z
ifeq 9
6: aload 0
lload 3
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
areturn
end local 5 7: StackMap locals:
StackMap stack:
dload 1
invokestatic org.jruby.RubyNumeric.posFixable:(D)Z
ifeq 9
dload 1
invokestatic org.jruby.RubyNumeric.negFixable:(D)Z
ifeq 9
8: aload 0
lload 3
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
areturn
9: StackMap locals:
StackMap stack:
aload 0
dload 1
invokestatic org.jruby.RubyBignum.newBignorm:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyInteger;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 runtime Lorg/jruby/Ruby;
0 10 1 val D
3 10 3 fix J
5 7 5 big Ljava/math/BigInteger;
MethodParameters:
Name Flags
runtime
val
public static double num2dbl(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
invokestatic org.jruby.RubyNumeric.num2dbl:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
arg
public static double num2dbl(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: invokestatic org.jruby.RubyNumeric.$SWITCH_TABLE$org$jruby$runtime$ClassIndex:()[I
aload 1
checkcast org.jruby.RubyBasicObject
invokevirtual org.jruby.RubyBasicObject.getNativeClassIndex:()Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iaload
lookupswitch { // 8
2: 2
3: 3
5: 5
6: 5
7: 5
8: 5
12: 1
22: 4
default: 6
}
1: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.RubyFloat
getfield org.jruby.RubyFloat.value:D
dreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.sites:Lorg/jruby/runtime/JavaSites;
getfield org.jruby.runtime.JavaSites.Fixnum:Lorg/jruby/runtime/JavaSites$FixnumSites;
getfield org.jruby.runtime.JavaSites$FixnumSites.to_f:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 1
invokestatic org.jruby.RubyNumeric.getMetaClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
invokevirtual org.jruby.runtime.callsite.CachingCallSite.isBuiltin:(Lorg/jruby/RubyClass;)Z
ifeq 6
aload 1
checkcast org.jruby.RubyFixnum
getfield org.jruby.RubyFixnum.value:J
l2d
dreturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.sites:Lorg/jruby/runtime/JavaSites;
getfield org.jruby.runtime.JavaSites.Bignum:Lorg/jruby/runtime/JavaSites$BignumSites;
getfield org.jruby.runtime.JavaSites$BignumSites.to_f:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 1
invokestatic org.jruby.RubyNumeric.getMetaClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
invokevirtual org.jruby.runtime.callsite.CachingCallSite.isBuiltin:(Lorg/jruby/RubyClass;)Z
ifeq 6
aload 1
checkcast org.jruby.RubyBignum
invokevirtual org.jruby.RubyBignum.getDoubleValue:()D
dreturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.sites:Lorg/jruby/runtime/JavaSites;
getfield org.jruby.runtime.JavaSites.Rational:Lorg/jruby/runtime/JavaSites$RationalSites;
getfield org.jruby.runtime.JavaSites$RationalSites.to_f:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 1
invokestatic org.jruby.RubyNumeric.getMetaClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
invokevirtual org.jruby.runtime.callsite.CachingCallSite.isBuiltin:(Lorg/jruby/RubyClass;)Z
ifeq 6
aload 1
checkcast org.jruby.RubyRational
invokevirtual org.jruby.RubyRational.getDoubleValue:()D
dreturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "can't convert "
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.inspect:()Lorg/jruby/runtime/builtin/IRubyObject;
ldc " into Float"
invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
6: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFloat:()Lorg/jruby/RubyClass;
ldc "to_f"
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 7: aload 2
checkcast org.jruby.RubyFloat
getfield org.jruby.RubyFloat.value:D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 context Lorg/jruby/runtime/ThreadContext;
0 8 1 arg Lorg/jruby/runtime/builtin/IRubyObject;
7 8 2 val Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
arg
public static org.jruby.runtime.builtin.IRubyObject dbl_cmp(org.jruby.Ruby, double, double);
descriptor: (Lorg/jruby/Ruby;DD)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: dload 1
invokestatic java.lang.Double.isNaN:(D)Z
ifne 1
dload 3
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
dload 1
dload 3
dcmpl
ifne 3
aload 0
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
goto 5
StackMap locals:
StackMap stack:
3: dload 1
dload 3
dcmpl
ifle 4
aload 0
invokestatic org.jruby.RubyFixnum.one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
goto 5
StackMap locals:
StackMap stack:
4: aload 0
invokestatic org.jruby.RubyFixnum.minus_one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
StackMap locals:
StackMap stack: org.jruby.RubyFixnum
5: areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 runtime Lorg/jruby/Ruby;
0 6 1 a D
0 6 3 b D
MethodParameters:
Name Flags
runtime
a
b
public static long fix2long(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
checkcast org.jruby.RubyFixnum
getfield org.jruby.RubyFixnum.value:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
arg
public static int fix2int(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
instanceof org.jruby.RubyFixnum
ifeq 1
aload 0
invokestatic org.jruby.RubyNumeric.fix2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokestatic org.jruby.RubyNumeric.num2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
StackMap locals:
StackMap stack: long
2: lstore 1
start local 1 3: aload 0
lload 1
invokestatic org.jruby.RubyNumeric.checkInt:(Lorg/jruby/runtime/builtin/IRubyObject;J)V
4: lload 1
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 arg Lorg/jruby/runtime/builtin/IRubyObject;
3 5 1 num J
MethodParameters:
Name Flags
arg
public static int fix2int(org.jruby.RubyFixnum);
descriptor: (Lorg/jruby/RubyFixnum;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyFixnum.value:J
lstore 1
start local 1 1: aload 0
lload 1
invokestatic org.jruby.RubyNumeric.checkInt:(Lorg/jruby/runtime/builtin/IRubyObject;J)V
2: lload 1
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 arg Lorg/jruby/RubyFixnum;
1 3 1 num J
MethodParameters:
Name Flags
arg
public static org.jruby.RubyInteger str2inum(org.jruby.Ruby, org.jruby.RubyString, int);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyString;I)Lorg/jruby/RubyInteger;
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
iload 2
iconst_0
invokestatic org.jruby.RubyNumeric.str2inum:(Lorg/jruby/Ruby;Lorg/jruby/RubyString;IZ)Lorg/jruby/RubyInteger;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 str Lorg/jruby/RubyString;
0 1 2 base I
MethodParameters:
Name Flags
runtime
str
base
public static org.jruby.RubyNumeric int2fix(org.jruby.Ruby, long);
descriptor: (Lorg/jruby/Ruby;J)Lorg/jruby/RubyNumeric;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 val J
MethodParameters:
Name Flags
runtime
val
public static org.jruby.runtime.builtin.IRubyObject num2fix(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.jruby.RubyFixnum
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.jruby.RubyBignum
ifeq 4
3: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "integer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " out of range of fixnum"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newRangeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokestatic org.jruby.RubyNumeric.num2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 val Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
val
public static org.jruby.RubyInteger str2inum(org.jruby.Ruby, org.jruby.RubyString, int, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyString;IZ)Lorg/jruby/RubyInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 4
start local 4 1: aload 0
aload 4
iload 2
iload 3
invokestatic org.jruby.util.ConvertBytes.byteListToInum:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;IZ)Lorg/jruby/RubyInteger;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 str Lorg/jruby/RubyString;
0 2 2 base I
0 2 3 strict Z
1 2 4 s Lorg/jruby/util/ByteList;
MethodParameters:
Name Flags
runtime
str
base
strict
public static org.jruby.RubyFloat str2fnum(org.jruby.Ruby, org.jruby.RubyString);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyString;)Lorg/jruby/RubyFloat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.jruby.RubyNumeric.str2fnum:(Lorg/jruby/Ruby;Lorg/jruby/RubyString;Z)Lorg/jruby/RubyFloat;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 arg Lorg/jruby/RubyString;
MethodParameters:
Name Flags
runtime
arg
public static org.jruby.RubyFloat str2fnum(org.jruby.Ruby, org.jruby.RubyString, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyString;Z)Lorg/jruby/RubyFloat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
iload 2
invokestatic org.jruby.util.ConvertDouble.byteListToDouble19:(Lorg/jruby/util/ByteList;Z)D
dstore 3
start local 3 1: aload 0
dload 3
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
2: areturn
end local 3 3: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
4: iload 2
ifeq 8
5: aload 0
new java.lang.StringBuilder
dup
ldc "invalid value for Float(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 1
aload 0
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
ldc "inspect"
invokevirtual org.jruby.RubyString.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
8: StackMap locals:
StackMap stack:
aload 0
dconst_0
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 runtime Lorg/jruby/Ruby;
0 9 1 arg Lorg/jruby/RubyString;
0 9 2 strict Z
1 3 3 value D
Exception table:
from to target type
0 2 3 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
runtime
arg
strict
protected final org.jruby.runtime.builtin.IRubyObject[] getCoerced(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)[Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: aload 1
invokevirtual org.jruby.runtime.ThreadContext.getErrorInfo:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 2: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.coerce:Lorg/jruby/runtime/CallSite;
aload 1
aload 2
aload 2
aload 0
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 3: goto 9
end local 6 4: StackMap locals: org.jruby.RubyNumeric org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject int org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.exceptions.RaiseException
pop
5: aload 1
aload 5
invokevirtual org.jruby.runtime.ThreadContext.setErrorInfo:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
6: iload 3
ifeq 8
7: aload 4
aload 4
aload 4
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokestatic org.jruby.util.RubyStringBuilder.types:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyString;
ldc " can't be coerced into "
aload 4
aload 0
invokevirtual org.jruby.RubyNumeric.getMetaClass:()Lorg/jruby/RubyClass;
invokestatic org.jruby.util.RubyStringBuilder.types:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyString;
invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
8: StackMap locals:
StackMap stack:
aconst_null
areturn
start local 6 9: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
aload 6
iconst_1
invokestatic org.jruby.RubyNumeric.coerceResult:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyArray.toJavaArrayMaybeUnsafe:()[Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 10 0 this Lorg/jruby/RubyNumeric;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
0 10 2 other Lorg/jruby/runtime/builtin/IRubyObject;
0 10 3 error Z
1 10 4 runtime Lorg/jruby/Ruby;
2 10 5 $ex Lorg/jruby/runtime/builtin/IRubyObject;
3 4 6 result Lorg/jruby/runtime/builtin/IRubyObject;
9 10 6 result Lorg/jruby/runtime/builtin/IRubyObject;
Exception table:
from to target type
2 3 4 Class org.jruby.exceptions.RaiseException
MethodParameters:
Name Flags
context
other
error
protected final org.jruby.runtime.builtin.IRubyObject callCoerced(org.jruby.runtime.ThreadContext, java.lang.String, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 3
iload 4
invokevirtual org.jruby.RubyNumeric.getCoerced:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 1: aload 5
ifnonnull 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
aload 5
iconst_0
aaload
aload 1
aload 2
aload 5
iconst_1
aaload
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 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyNumeric;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 method Ljava/lang/String;
0 3 3 other Lorg/jruby/runtime/builtin/IRubyObject;
0 3 4 err Z
1 3 5 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
method
other
err
public final org.jruby.runtime.builtin.IRubyObject callCoerced(org.jruby.runtime.ThreadContext, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_0
invokevirtual org.jruby.RubyNumeric.callCoerced:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Z)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/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 method Ljava/lang/String;
0 1 3 other Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
method
other
protected final org.jruby.runtime.builtin.IRubyObject callCoerced(org.jruby.runtime.ThreadContext, org.jruby.runtime.CallSite, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 3
iload 4
invokevirtual org.jruby.RubyNumeric.getCoerced:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 1: aload 5
ifnonnull 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
aload 5
iconst_0
aaload
astore 6
start local 6 3: aload 2
aload 1
aload 6
aload 6
aload 5
iconst_1
aaload
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;
areturn
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 4 0 this Lorg/jruby/RubyNumeric;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 site Lorg/jruby/runtime/CallSite;
0 4 3 other Lorg/jruby/runtime/builtin/IRubyObject;
0 4 4 err Z
1 4 5 args [Lorg/jruby/runtime/builtin/IRubyObject;
3 4 6 car Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
site
other
err
public final org.jruby.runtime.builtin.IRubyObject callCoerced(org.jruby.runtime.ThreadContext, org.jruby.runtime.CallSite, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_0
invokevirtual org.jruby.RubyNumeric.callCoerced:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;Z)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/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 site Lorg/jruby/runtime/CallSite;
0 1 3 other Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
site
other
protected final org.jruby.runtime.builtin.IRubyObject coerceBody(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.coerce:Lorg/jruby/runtime/CallSite;
aload 1
aload 2
aload 2
aload 0
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;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
other
protected final org.jruby.RubyArray doCoerce(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.respond_to_coerce:Lorg/jruby/runtime/callsite/RespondToCallSite;
aload 1
aload 2
aload 2
invokevirtual org.jruby.runtime.callsite.RespondToCallSite.respondsTo:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 4
1: iload 3
ifeq 3
2: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyNumeric.coerceFailed:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
3: StackMap locals:
StackMap stack:
aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.runtime.ThreadContext.getErrorInfo:()Lorg/jruby/runtime/builtin/IRubyObject;
pop
5: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyNumeric.coerceBody:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 6: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 4
iload 3
invokestatic org.jruby.RubyNumeric.coerceResult:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
areturn
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/RubyNumeric;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 other Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 err Z
6 7 4 result Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
other
err
private static org.jruby.RubyArray coerceResult(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.jruby.RubyArray
ifeq 1
aload 1
checkcast org.jruby.RubyArray
invokevirtual org.jruby.RubyArray.getLength:()I
iconst_2
if_icmpne 1
aload 1
checkcast org.jruby.RubyArray
areturn
1: StackMap locals:
StackMap stack:
iload 2
ifne 2
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 3
StackMap locals:
StackMap stack:
2: aload 0
ldc "coerce must return [x, y]"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
0 4 1 result Lorg/jruby/runtime/builtin/IRubyObject;
0 4 2 err Z
MethodParameters:
Name Flags
runtime final
result final
err final
protected final org.jruby.runtime.builtin.IRubyObject coerceRescue(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyNumeric.coerceFailed:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyNumeric;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 other Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
other
protected final void coerceFailed(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.isSpecialConst:()Z
ifne 1
aload 2
instanceof org.jruby.RubyFloat
ifeq 3
1: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.inspect:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
2: goto 4
3: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
aload 1
invokevirtual org.jruby.RubyClass.name:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
4: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "%s can't be coerced into %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 0
invokevirtual org.jruby.RubyNumeric.getMetaClass:()Lorg/jruby/RubyClass;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(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 this Lorg/jruby/RubyNumeric;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 other Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
other
protected final org.jruby.runtime.builtin.IRubyObject coerceBin(org.jruby.runtime.ThreadContext, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
iconst_1
invokevirtual org.jruby.RubyNumeric.doCoerce:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
astore 4
start local 4 1: aload 4
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 2
aload 4
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
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 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/RubyNumeric;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 method Ljava/lang/String;
0 2 3 other Lorg/jruby/runtime/builtin/IRubyObject;
1 2 4 ary Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
method
other
protected final org.jruby.runtime.builtin.IRubyObject coerceBin(org.jruby.runtime.ThreadContext, org.jruby.runtime.CallSite, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
iconst_1
invokevirtual org.jruby.RubyNumeric.doCoerce:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
astore 4
start local 4 1: aload 4
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 2: aload 2
aload 1
aload 5
aload 5
aload 4
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
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;
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 3 0 this Lorg/jruby/RubyNumeric;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 site Lorg/jruby/runtime/CallSite;
0 3 3 other Lorg/jruby/runtime/builtin/IRubyObject;
1 3 4 ary Lorg/jruby/RubyArray;
2 3 5 car Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
site
other
protected final org.jruby.runtime.builtin.IRubyObject coerceBit(org.jruby.runtime.ThreadContext, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
instanceof org.jruby.RubyFixnum
ifne 8
aload 3
instanceof org.jruby.RubyBignum
ifne 8
1: aload 0
aload 1
aload 3
iconst_1
invokevirtual org.jruby.RubyNumeric.doCoerce:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
astore 4
start local 4 2: aload 4
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 3: aload 4
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 4: aload 5
instanceof org.jruby.RubyFixnum
ifne 7
aload 5
instanceof org.jruby.RubyBignum
ifne 7
5: aload 6
instanceof org.jruby.RubyFixnum
ifne 7
aload 6
instanceof org.jruby.RubyBignum
ifne 7
6: aload 0
aload 1
aload 3
invokevirtual org.jruby.RubyNumeric.coerceFailed:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
7: StackMap locals: org.jruby.RubyArray org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 5
aload 1
aload 2
aload 6
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 6 end local 5 end local 4 8: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.RubyNumeric.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 9 0 this Lorg/jruby/RubyNumeric;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 method Ljava/lang/String;
0 9 3 other Lorg/jruby/runtime/builtin/IRubyObject;
2 8 4 ary Lorg/jruby/RubyArray;
3 8 5 x Lorg/jruby/runtime/builtin/IRubyObject;
4 8 6 y Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
method
other
protected final org.jruby.runtime.builtin.IRubyObject coerceBit(org.jruby.runtime.ThreadContext, org.jruby.runtime.JavaSites$CheckedSites, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/JavaSites$CheckedSites;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
iconst_1
invokevirtual org.jruby.RubyNumeric.doCoerce:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
astore 4
start local 4 1: aload 4
lconst_0
invokevirtual org.jruby.RubyArray.eltOk:(J)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 2: aload 4
lconst_1
invokevirtual org.jruby.RubyArray.eltOk:(J)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 3: aload 1
new org.jruby.RubyNumeric$2
dup
aload 0
aload 5
invokespecial org.jruby.RubyNumeric$2.<init>:(Lorg/jruby/RubyNumeric;Lorg/jruby/runtime/builtin/IRubyObject;)V
4: aload 2
aload 6
aload 2
getfield org.jruby.runtime.JavaSites$CheckedSites.methodName:Ljava/lang/String;
iconst_1
5: 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 7
start local 7 6: aload 7
ifnonnull 8
7: aload 0
aload 1
aload 3
invokevirtual org.jruby.RubyNumeric.coerceFailed:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
8: StackMap locals: org.jruby.RubyNumeric org.jruby.runtime.ThreadContext org.jruby.runtime.JavaSites$CheckedSites org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 7
areturn
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 9 0 this Lorg/jruby/RubyNumeric;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 site Lorg/jruby/runtime/JavaSites$CheckedSites;
0 9 3 other Lorg/jruby/runtime/builtin/IRubyObject;
1 9 4 ary Lorg/jruby/RubyArray;
2 9 5 x Lorg/jruby/runtime/builtin/IRubyObject;
3 9 6 y Lorg/jruby/runtime/builtin/IRubyObject;
6 9 7 ret Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
site
other
protected final org.jruby.runtime.builtin.IRubyObject coerceCmp(org.jruby.runtime.ThreadContext, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
iconst_0
invokevirtual org.jruby.RubyNumeric.doCoerce:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: org.jruby.RubyArray
StackMap stack:
aload 4
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 2
aload 4
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
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 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyNumeric;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 method Ljava/lang/String;
0 4 3 other Lorg/jruby/runtime/builtin/IRubyObject;
1 4 4 ary Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
method
other
protected final org.jruby.runtime.builtin.IRubyObject coerceCmp(org.jruby.runtime.ThreadContext, org.jruby.runtime.CallSite, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
iconst_0
invokevirtual org.jruby.RubyNumeric.doCoerce:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: org.jruby.RubyArray
StackMap stack:
aload 4
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 4: aload 2
aload 1
aload 5
aload 5
aload 4
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
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;
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 5 0 this Lorg/jruby/RubyNumeric;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 site Lorg/jruby/runtime/CallSite;
0 5 3 other Lorg/jruby/runtime/builtin/IRubyObject;
1 5 4 ary Lorg/jruby/RubyArray;
4 5 5 car Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
site
other
protected final org.jruby.runtime.builtin.IRubyObject coerceRelOp(org.jruby.runtime.ThreadContext, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
iconst_0
invokevirtual org.jruby.RubyNumeric.doCoerce:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: aload 0
aload 3
invokestatic org.jruby.RubyComparable.cmperr:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: org.jruby.RubyArray
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
invokevirtual org.jruby.RubyNumeric.unwrapCoerced:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyArray;)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 4 0 this Lorg/jruby/RubyNumeric;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 method Ljava/lang/String;
0 4 3 other Lorg/jruby/runtime/builtin/IRubyObject;
1 4 4 ary Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
method
other
protected final org.jruby.runtime.builtin.IRubyObject coerceRelOp(org.jruby.runtime.ThreadContext, org.jruby.runtime.CallSite, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
iconst_0
invokevirtual org.jruby.RubyNumeric.doCoerce:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: aload 0
aload 3
invokestatic org.jruby.RubyComparable.cmperr:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: org.jruby.RubyArray
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
invokevirtual org.jruby.RubyNumeric.unwrapCoerced:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyArray;)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 4 0 this Lorg/jruby/RubyNumeric;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 site Lorg/jruby/runtime/CallSite;
0 4 3 other Lorg/jruby/runtime/builtin/IRubyObject;
1 4 4 ary Lorg/jruby/RubyArray;
MethodParameters:
Name Flags
context
site
other
private org.jruby.runtime.builtin.IRubyObject unwrapCoerced(org.jruby.runtime.ThreadContext, java.lang.String, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyArray);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyArray;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 2
aload 4
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 1: aload 5
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 3
2: aload 0
aload 3
invokestatic org.jruby.RubyComparable.cmperr:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 5
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 4 0 this Lorg/jruby/RubyNumeric;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 method Ljava/lang/String;
0 4 3 other Lorg/jruby/runtime/builtin/IRubyObject;
0 4 4 ary Lorg/jruby/RubyArray;
1 4 5 result Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
method
other
ary
private org.jruby.runtime.builtin.IRubyObject unwrapCoerced(org.jruby.runtime.ThreadContext, org.jruby.runtime.CallSite, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyArray);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyArray;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 1: aload 2
aload 1
aload 5
aload 5
aload 4
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
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 2: aload 6
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 4
3: aload 0
aload 3
invokestatic org.jruby.RubyComparable.cmperr:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 6
areturn
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 5 0 this Lorg/jruby/RubyNumeric;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 site Lorg/jruby/runtime/CallSite;
0 5 3 other Lorg/jruby/runtime/builtin/IRubyObject;
0 5 4 ary Lorg/jruby/RubyArray;
1 5 5 car Lorg/jruby/runtime/builtin/IRubyObject;
2 5 6 result Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
site
other
ary
public org.jruby.RubyNumeric asNumeric();
descriptor: ()Lorg/jruby/RubyNumeric;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
public org.jruby.runtime.builtin.IRubyObject op_not(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"!"})
MethodParameters:
Name Flags
context
public static org.jruby.runtime.builtin.IRubyObject singleton_method_added(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=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 3
aload 3
ldc "can't define singleton method \""
aload 3
aload 2
invokestatic org.jruby.util.RubyStringBuilder.ids:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
ldc "\" for "
aload 3
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getType:()Lorg/jruby/RubyClass;
invokestatic org.jruby.util.RubyStringBuilder.types:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyString;
invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
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 self Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 name Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"singleton_method_added"})
MethodParameters:
Name Flags
context
self
name
public org.jruby.runtime.builtin.IRubyObject initialize_copy(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyNumeric.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 2
aload 2
ldc "can't copy "
aload 2
aload 0
invokevirtual org.jruby.RubyNumeric.getType:()Lorg/jruby/RubyClass;
invokestatic org.jruby.util.RubyStringBuilder.types:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyString;
invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyNumeric;
0 2 1 arg Lorg/jruby/runtime/builtin/IRubyObject;
1 2 2 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize_copy"}, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
arg
public org.jruby.runtime.builtin.IRubyObject coerce(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyNumeric.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 0
getfield org.jruby.RubyNumeric.metaClass:Lorg/jruby/RubyClass;
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
if_acmpne 2
aload 2
aload 1
aload 0
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
2: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 2
aload 0
invokestatic org.jruby.RubyKernel.new_float:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
astore 3
start local 3 3: aload 2
aload 1
invokestatic org.jruby.RubyKernel.new_float:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
astore 4
start local 4 4: aload 2
aload 4
aload 3
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
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 this Lorg/jruby/RubyNumeric;
0 5 1 other Lorg/jruby/runtime/builtin/IRubyObject;
1 5 2 runtime Lorg/jruby/Ruby;
3 5 3 cdr Lorg/jruby/runtime/builtin/IRubyObject;
4 5 4 car Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"coerce"})
MethodParameters:
Name Flags
other
public org.jruby.runtime.builtin.IRubyObject op_uplus();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"+@"})
public org.jruby.runtime.builtin.IRubyObject num_imaginary(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
aload 0
invokestatic org.jruby.RubyComplex.newComplexRaw:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyComplex;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"i"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject op_uminus(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
aload 1
aload 0
iconst_1
invokevirtual org.jruby.RubyFixnum.doCoerce:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
astore 2
start local 2 1: aload 2
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 2: aload 1
aload 3
aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_minus:Lorg/jruby/runtime/CallSite;
aload 2
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyNumeric.numFuncall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/CallSite;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 3 0 this Lorg/jruby/RubyNumeric;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
1 3 2 ary Lorg/jruby/RubyArray;
2 3 3 car Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"-@"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject op_plus(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_plus:Lorg/jruby/runtime/CallSite;
aload 2
invokevirtual org.jruby.RubyNumeric.coerceBin:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;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 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject op_cmp(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: aload 0
getfield org.jruby.RubyNumeric.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyNumeric.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyNumeric;
0 3 1 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<=>"})
MethodParameters:
Name Flags
other
public org.jruby.runtime.builtin.IRubyObject eql_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 1
aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
areturn
1: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 2
invokestatic org.jruby.RubyNumeric.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 2
aload 1
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
goto 3
StackMap locals:
StackMap stack:
2: aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
StackMap locals:
StackMap stack: org.jruby.RubyBoolean
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyNumeric;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"eql?"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject quo(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 2
invokestatic org.jruby.RubyRational.numericQuo:(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 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"quo"})
MethodParameters:
Name Flags
context
other
public final org.jruby.runtime.builtin.IRubyObject quo_19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyNumeric.quo:(Lorg/jruby/runtime/ThreadContext;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 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject div(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyNumeric
ifeq 3
1: aload 2
checkcast org.jruby.RubyNumeric
invokevirtual org.jruby.RubyNumeric.isZero:()Z
ifeq 3
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newZeroDivisionError:()Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_quo:Lorg/jruby/runtime/CallSite;
aload 2
invokestatic org.jruby.RubyNumeric.numFuncall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 4: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.floor:Lorg/jruby/runtime/CallSite;
aload 1
aload 3
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;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyNumeric;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 other Lorg/jruby/runtime/builtin/IRubyObject;
4 5 3 quotient Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"div"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject idiv(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyNumeric.div:(Lorg/jruby/runtime/ThreadContext;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 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject idiv(org.jruby.runtime.ThreadContext, long);
descriptor: (Lorg/jruby/runtime/ThreadContext;J)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
lload 2
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.RubyNumeric.idiv:(Lorg/jruby/runtime/ThreadContext;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 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other J
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject divmod(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyNumeric.div:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyNumeric.modulo:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyArray.newArray:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"divmod"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject fdiv(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.RubyNumeric.convertToFloat:()Lorg/jruby/RubyFloat;
astore 3
start local 3 1: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_quo:Lorg/jruby/runtime/CallSite;
aload 1
aload 3
aload 3
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;
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/RubyNumeric;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 value Lorg/jruby/RubyFloat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"fdiv"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject modulo(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.div:Lorg/jruby/runtime/CallSite;
aload 2
invokestatic org.jruby.RubyNumeric.numFuncall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_times:Lorg/jruby/runtime/CallSite;
aload 1
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 2: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_minus:Lorg/jruby/runtime/CallSite;
aload 1
aload 0
aload 0
aload 4
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;
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 this Lorg/jruby/RubyNumeric;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 3 3 div Lorg/jruby/runtime/builtin/IRubyObject;
2 3 4 product Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"modulo", "%"})
MethodParameters:
Name Flags
context
other
org.jruby.runtime.builtin.IRubyObject modulo(org.jruby.runtime.ThreadContext, long);
descriptor: (Lorg/jruby/runtime/ThreadContext;J)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
lload 2
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.RubyNumeric.modulo:(Lorg/jruby/runtime/ThreadContext;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 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other J
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject remainder(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyNumeric.numRemainder:(Lorg/jruby/runtime/ThreadContext;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 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 y Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"remainder"})
MethodParameters:
Name Flags
context
y
public org.jruby.runtime.builtin.IRubyObject numRemainder(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
astore 3
start local 3 1: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
astore 4
start local 4 2: aload 4
getfield org.jruby.runtime.JavaSites$NumericSites.op_mod:Lorg/jruby/runtime/CallSite;
aload 1
aload 0
aload 0
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 5
start local 5 3: aload 1
aload 5
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
aload 4
getfield org.jruby.runtime.JavaSites$NumericSites.op_equal:Lorg/jruby/runtime/CallSite;
invokestatic org.jruby.runtime.Helpers.rbEqual:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/CallSite;)Lorg/jruby/RubyBoolean;
invokevirtual org.jruby.RubyBoolean.isTrue:()Z
ifne 9
4: aload 3
invokevirtual org.jruby.RubyNumeric.isNegative:()Z
ifeq 6
5: aload 1
aload 2
invokestatic org.jruby.RubyNumeric.positiveInt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 8
6: StackMap locals: org.jruby.RubyNumeric org.jruby.runtime.JavaSites$NumericSites org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
invokevirtual org.jruby.RubyNumeric.isPositive:()Z
ifeq 9
7: aload 1
aload 2
invokestatic org.jruby.RubyNumeric.negativeInt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 9
8: StackMap locals:
StackMap stack:
aload 4
getfield org.jruby.runtime.JavaSites$NumericSites.op_minus:Lorg/jruby/runtime/CallSite;
aload 1
aload 5
aload 5
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;
areturn
9: StackMap locals:
StackMap stack:
aload 5
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 10 0 this Lorg/jruby/RubyNumeric;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
0 10 2 y Lorg/jruby/runtime/builtin/IRubyObject;
1 10 3 x Lorg/jruby/RubyNumeric;
2 10 4 sites Lorg/jruby/runtime/JavaSites$NumericSites;
3 10 5 z Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
y
public static boolean positiveInt(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyNumeric
ifeq 2
1: aload 1
checkcast org.jruby.RubyNumeric
invokevirtual org.jruby.RubyNumeric.isPositive:()Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_gt_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokestatic org.jruby.RubyNumeric.compareWithZero:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 num Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
num
public static boolean negativeInt(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyNumeric
ifeq 2
1: aload 1
checkcast org.jruby.RubyNumeric
invokevirtual org.jruby.RubyNumeric.isNegative:()Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_lt_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokestatic org.jruby.RubyNumeric.compareWithZero:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 num Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
num
public org.jruby.runtime.builtin.IRubyObject abs(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_lt:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 1
aload 0
aload 0
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.runtime.callsite.CachingCallSite.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 2
1: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_uminus:Lorg/jruby/runtime/CallSite;
aload 1
aload 0
aload 0
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;
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyNumeric;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"abs"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject magnitude(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.RubyNumeric.abs:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"magnitude"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject to_int(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.to_i:Lorg/jruby/runtime/CallSite;
invokestatic org.jruby.RubyNumeric.numFuncall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/CallSite;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_int"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject real_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.RubyNumeric.isReal:()Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"real?"})
MethodParameters:
Name Flags
context
public boolean isReal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
public org.jruby.runtime.builtin.IRubyObject scalar_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyNumeric.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.RubyNumeric.isReal:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public org.jruby.runtime.builtin.IRubyObject integer_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyNumeric.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"integer?"})
public org.jruby.runtime.builtin.IRubyObject zero_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
aload 0
aload 2
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokestatic org.jruby.RubyNumeric.equalInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 2
aload 2
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
goto 3
StackMap locals: org.jruby.Ruby
StackMap stack:
2: aload 2
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
StackMap locals:
StackMap stack: org.jruby.RubyBoolean
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyNumeric;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"zero?"})
MethodParameters:
Name Flags
context
public boolean isZero();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.jruby.RubyNumeric.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyNumeric.zero_p:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
public org.jruby.runtime.builtin.IRubyObject nonzero_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.zero:Lorg/jruby/runtime/CallSite;
invokestatic org.jruby.RubyNumeric.numFuncall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/CallSite;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyNumeric;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"nonzero?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject floor(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyNumeric.convertToFloat:()Lorg/jruby/RubyFloat;
aload 1
invokevirtual org.jruby.RubyFloat.floor:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"floor"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ceil(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyNumeric.convertToFloat:()Lorg/jruby/RubyFloat;
aload 1
invokevirtual org.jruby.RubyFloat.ceil:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ceil"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject round(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyNumeric.convertToFloat:()Lorg/jruby/RubyFloat;
aload 1
invokevirtual org.jruby.RubyFloat.round:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"round"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject truncate(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyNumeric.convertToFloat:()Lorg/jruby/RubyFloat;
aload 1
invokevirtual org.jruby.RubyFloat.truncate:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"truncate"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject step(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=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 2
1: aload 1
aload 0
ldc "step"
aload 2
aload 0
aload 0
aload 2
invokevirtual org.jruby.RubyNumeric.stepSizeFn:(Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyEnumerator$SizeFn;
invokestatic org.jruby.RubyEnumerator.enumeratorizeWithSize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
astore 4
start local 4 3: aload 0
aload 1
aload 2
aload 4
invokevirtual org.jruby.RubyNumeric.scanStepArgs:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Z
istore 5
start local 5 4: aload 0
aload 1
aload 4
iconst_0
aaload
aload 4
iconst_1
aaload
iload 5
aload 3
invokevirtual org.jruby.RubyNumeric.stepCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;ZLorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
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 5 0 this Lorg/jruby/RubyNumeric;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 5 3 block Lorg/jruby/runtime/Block;
3 5 4 newArgs [Lorg/jruby/runtime/builtin/IRubyObject;
4 5 5 desc Z
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 2)
MethodParameters:
Name Flags
context
args
block
private boolean scanStepArgs(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;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 8
start local 8 2: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 9
start local 9 3: aload 4
aload 2
invokestatic org.jruby.ast.util.ArgsUtil.getOptionsArg:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 4: aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 7
5: aload 2
arraylength
istore 5
start local 5 6: goto 8
end local 5 7: StackMap locals: org.jruby.RubyNumeric org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby top org.jruby.runtime.builtin.IRubyObject top org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
arraylength
iconst_1
isub
istore 5
start local 5 8: StackMap locals: org.jruby.RubyNumeric org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby int org.jruby.runtime.builtin.IRubyObject top org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
iload 5
tableswitch { // 1 - 2
1: 10
2: 9
default: 11
}
9: StackMap locals:
StackMap stack:
aload 3
iconst_1
aload 2
iconst_1
aaload
dup
astore 9
aastore
10: StackMap locals:
StackMap stack:
aload 3
iconst_0
aload 2
iconst_0
aaload
dup
astore 8
aastore
11: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 20
12: aload 1
aload 6
checkcast org.jruby.RubyHash
getstatic org.jruby.RubyNumeric.STEP_KEYS:[Ljava/lang/String;
invokestatic org.jruby.ast.util.ArgsUtil.extractKeywordArgs:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyHash;[Ljava/lang/String;)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 10
start local 10 13: aload 10
iconst_0
aaload
ifnull 16
14: iload 5
ifle 15
aload 4
ldc "to is given twice"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
15: StackMap locals: org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
aload 3
iconst_0
aload 10
iconst_0
aaload
dup
astore 8
aastore
16: StackMap locals:
StackMap stack:
aload 10
iconst_1
aaload
ifnull 24
17: iload 5
iconst_1
if_icmple 18
aload 4
ldc "step is given twice"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
18: StackMap locals:
StackMap stack:
aload 3
iconst_1
aload 10
iconst_1
aaload
dup
astore 9
aastore
end local 10 19: goto 24
20: StackMap locals:
StackMap stack:
iload 5
iconst_1
if_icmple 22
aload 9
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 22
21: aload 4
ldc "step must be numeric"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
22: StackMap locals:
StackMap stack:
aload 9
aload 1
aload 4
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokeinterface org.jruby.runtime.builtin.IRubyObject.op_equal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 24
23: aload 4
ldc "step can't be 0"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
24: StackMap locals:
StackMap stack:
aload 9
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 26
25: aload 3
iconst_1
aload 4
invokestatic org.jruby.RubyFixnum.one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
dup
astore 9
aastore
26: StackMap locals:
StackMap stack:
aload 1
aload 4
aload 9
invokestatic org.jruby.RubyNumeric.numStepNegative:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Z
istore 7
start local 7 27: aload 8
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 31
28: aload 3
iconst_0
iload 7
ifeq 29
aload 4
ldc -Infinity
invokestatic org.jruby.RubyNumeric.dbl2num:(Lorg/jruby/Ruby;D)Lorg/jruby/runtime/builtin/IRubyObject;
goto 30
StackMap locals: org.jruby.RubyNumeric org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby int org.jruby.runtime.builtin.IRubyObject int org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.runtime.builtin.IRubyObject[] int
29: aload 4
ldc Infinity
invokestatic org.jruby.RubyNumeric.dbl2num:(Lorg/jruby/Ruby;D)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals: org.jruby.RubyNumeric org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby int org.jruby.runtime.builtin.IRubyObject int org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.runtime.builtin.IRubyObject[] int org.jruby.runtime.builtin.IRubyObject
30: dup
astore 8
aastore
31: StackMap locals:
StackMap stack:
iload 7
ireturn
end local 9 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 32 0 this Lorg/jruby/RubyNumeric;
0 32 1 context Lorg/jruby/runtime/ThreadContext;
0 32 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 32 3 newArgs [Lorg/jruby/runtime/builtin/IRubyObject;
1 32 4 runtime Lorg/jruby/Ruby;
6 7 5 argc I
8 32 5 argc I
4 32 6 hash Lorg/jruby/runtime/builtin/IRubyObject;
27 32 7 desc Z
2 32 8 to Lorg/jruby/runtime/builtin/IRubyObject;
3 32 9 step Lorg/jruby/runtime/builtin/IRubyObject;
13 19 10 values [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
args
newArgs
private static boolean numStepNegative(org.jruby.runtime.ThreadContext, org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyInteger
ifeq 3
1: aload 0
getfield org.jruby.runtime.ThreadContext.sites:Lorg/jruby/runtime/JavaSites;
getfield org.jruby.runtime.JavaSites.Integer:Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_lt:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 1
invokevirtual org.jruby.Ruby.getInteger:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.runtime.callsite.CachingCallSite.isBuiltin:(Lorg/jruby/RubyClass;)Z
ifeq 3
2: aload 2
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.isNegative:()Z
ireturn
3: StackMap locals:
StackMap stack:
aload 1
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 3
start local 3 4: aload 2
invokestatic org.jruby.RubyNumeric.getMetaClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
aload 0
aload 2
aload 0
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_gt_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
invokevirtual org.jruby.RubyClass.finvokeChecked:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/JavaSites$CheckedSites;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 5: aload 4
ifnonnull 7
6: aload 2
checkcast org.jruby.RubyNumeric
aload 0
aload 3
invokevirtual org.jruby.RubyNumeric.coerceFailed:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
7: StackMap locals: org.jruby.RubyFixnum org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 8
iconst_0
goto 9
StackMap locals:
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 context Lorg/jruby/runtime/ThreadContext;
0 10 1 runtime Lorg/jruby/Ruby;
0 10 2 num Lorg/jruby/runtime/builtin/IRubyObject;
4 10 3 zero Lorg/jruby/RubyFixnum;
5 10 4 r Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
runtime
num
private org.jruby.runtime.builtin.IRubyObject stepCommon(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, boolean, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;ZLorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 6
start local 6 1: aload 3
aload 1
aload 6
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokeinterface org.jruby.runtime.builtin.IRubyObject.op_equal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 4
2: iconst_1
istore 7
start local 7 3: goto 13
end local 7 StackMap locals: org.jruby.Ruby
StackMap stack:
4: aload 2
instanceof org.jruby.RubyFloat
ifeq 12
5: aload 2
checkcast org.jruby.RubyFloat
getfield org.jruby.RubyFloat.value:D
dstore 8
start local 8 6: dload 8
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 9
dload 8
ldc -0.0
dcmpg
ifgt 7
iload 4
ifeq 9
goto 8
StackMap locals: org.jruby.RubyNumeric org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.runtime.Block org.jruby.Ruby top double
StackMap stack:
7: iload 4
ifne 9
StackMap locals:
StackMap stack:
8: iconst_1
goto 10
StackMap locals:
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 7
end local 8 start local 7 11: goto 13
end local 7 12: StackMap locals: org.jruby.RubyNumeric org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.runtime.Block org.jruby.Ruby
StackMap stack:
iconst_0
istore 7
start local 7 13: StackMap locals: int
StackMap stack:
aload 0
instanceof org.jruby.RubyFixnum
ifeq 24
iload 7
ifne 14
aload 2
instanceof org.jruby.RubyFixnum
ifeq 24
StackMap locals:
StackMap stack:
14: aload 3
instanceof org.jruby.RubyFixnum
ifeq 24
15: aload 1
aload 6
16: aload 0
checkcast org.jruby.RubyFixnum
17: aload 2
18: aload 3
checkcast org.jruby.RubyFixnum
19: iload 7
20: iload 4
21: aload 5
22: invokestatic org.jruby.RubyNumeric.fixnumStep:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/Ruby;Lorg/jruby/RubyFixnum;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyFixnum;ZZLorg/jruby/runtime/Block;)V
23: goto 28
StackMap locals:
StackMap stack:
24: aload 0
instanceof org.jruby.RubyFloat
ifne 25
aload 2
instanceof org.jruby.RubyFloat
ifne 25
aload 3
instanceof org.jruby.RubyFloat
ifeq 27
25: StackMap locals:
StackMap stack:
aload 1
aload 6
aload 0
aload 2
aload 3
iconst_0
aload 5
invokestatic org.jruby.RubyNumeric.floatStep:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;ZLorg/jruby/runtime/Block;)V
26: goto 28
27: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 2
aload 3
iload 7
iload 4
aload 5
invokestatic org.jruby.RubyNumeric.duckStep:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;ZZLorg/jruby/runtime/Block;)V
28: StackMap locals:
StackMap stack:
aload 0
areturn
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 29 0 this Lorg/jruby/RubyNumeric;
0 29 1 context Lorg/jruby/runtime/ThreadContext;
0 29 2 to Lorg/jruby/runtime/builtin/IRubyObject;
0 29 3 step Lorg/jruby/runtime/builtin/IRubyObject;
0 29 4 desc Z
0 29 5 block Lorg/jruby/runtime/Block;
1 29 6 runtime Lorg/jruby/Ruby;
3 4 7 inf Z
11 12 7 inf Z
13 29 7 inf Z
6 11 8 f D
MethodParameters:
Name Flags
context
to
step
desc
block
private static void fixnumStep(org.jruby.runtime.ThreadContext, org.jruby.Ruby, org.jruby.RubyFixnum, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyFixnum, boolean, boolean, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/Ruby;Lorg/jruby/RubyFixnum;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyFixnum;ZZLorg/jruby/runtime/Block;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=16, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 2
getfield org.jruby.RubyFixnum.value:J
lstore 8
start local 8 1: aload 4
getfield org.jruby.RubyFixnum.value:J
lstore 10
start local 10 2: iload 5
ifeq 5
3: StackMap locals: long long
StackMap stack:
aload 7
aload 0
aload 1
lload 8
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
4: lload 8
lload 10
ladd
lstore 8
goto 3
5: StackMap locals:
StackMap stack:
aload 3
checkcast org.jruby.RubyFixnum
invokevirtual org.jruby.RubyFixnum.getLongValue:()J
lstore 12
start local 12 6: iload 6
ifeq 16
7: ldc -9223372036854775808
lload 10
lsub
lstore 14
start local 14 8: lload 12
lload 14
lcmp
ifle 12
lload 12
lstore 14
9: goto 12
10: StackMap locals: long long
StackMap stack:
aload 7
aload 0
aload 1
lload 8
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
11: lload 8
lload 10
ladd
lstore 8
StackMap locals:
StackMap stack:
12: lload 8
lload 14
lcmp
ifge 10
13: lload 8
lload 12
lcmp
iflt 24
14: aload 7
aload 0
aload 1
lload 8
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 14 15: goto 24
16: StackMap locals:
StackMap stack:
ldc 9223372036854775807
lload 10
lsub
lstore 14
start local 14 17: lload 12
lload 14
lcmp
ifge 21
lload 12
lstore 14
18: goto 21
19: StackMap locals: long
StackMap stack:
aload 7
aload 0
aload 1
lload 8
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
20: lload 8
lload 10
ladd
lstore 8
StackMap locals:
StackMap stack:
21: lload 8
lload 14
lcmp
ifle 19
22: lload 8
lload 12
lcmp
ifgt 24
23: aload 7
aload 0
aload 1
lload 8
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 14 end local 12 24: StackMap locals:
StackMap stack:
return
end local 10 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 25 0 context Lorg/jruby/runtime/ThreadContext;
0 25 1 runtime Lorg/jruby/Ruby;
0 25 2 from Lorg/jruby/RubyFixnum;
0 25 3 to Lorg/jruby/runtime/builtin/IRubyObject;
0 25 4 step Lorg/jruby/RubyFixnum;
0 25 5 inf Z
0 25 6 desc Z
0 25 7 block Lorg/jruby/runtime/Block;
1 25 8 i J
2 25 10 diff J
6 24 12 end J
8 15 14 tov J
17 24 14 tov J
MethodParameters:
Name Flags
context
runtime
from
to
step
inf
desc
block
static void floatStep(org.jruby.runtime.ThreadContext, org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, boolean, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;ZLorg/jruby/runtime/Block;)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=19, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 2
invokestatic org.jruby.RubyNumeric.num2dbl:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)D
dstore 7
start local 7 1: aload 0
aload 3
invokestatic org.jruby.RubyNumeric.num2dbl:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)D
dstore 9
start local 9 2: aload 0
aload 4
invokestatic org.jruby.RubyNumeric.num2dbl:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)D
dstore 11
start local 11 3: dload 7
dload 9
dload 11
iload 5
invokestatic org.jruby.RubyNumeric.floatStepSize:(DDDZ)D
dstore 13
start local 13 4: dload 11
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 7
5: dload 13
dconst_0
dcmpl
ifeq 20
aload 6
aload 0
aload 1
dload 7
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
6: goto 20
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.runtime.Block double double double double
StackMap stack:
7: dload 11
dconst_0
dcmpl
ifne 11
8: aload 1
dload 7
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
astore 17
start local 17 9: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.runtime.Block double double double double top top org.jruby.RubyFloat
StackMap stack:
aload 6
aload 0
aload 17
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
10: goto 9
end local 17 11: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.runtime.Block double double double double
StackMap stack:
lconst_0
lstore 15
start local 15 12: goto 19
13: StackMap locals: long
StackMap stack:
lload 15
l2d
dload 11
dmul
dload 7
dadd
dstore 17
start local 17 14: dload 11
dconst_0
dcmpl
iflt 15
dload 9
dload 17
dcmpg
ifge 17
goto 16
StackMap locals: double
StackMap stack:
15: dload 17
dload 9
dcmpg
ifge 17
StackMap locals:
StackMap stack:
16: dload 9
dstore 17
17: StackMap locals:
StackMap stack:
aload 6
aload 0
aload 1
dload 17
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 17 18: lload 15
lconst_1
ladd
lstore 15
StackMap locals:
StackMap stack:
19: lload 15
l2d
dload 13
dcmpg
iflt 13
end local 15 20: StackMap locals:
StackMap stack:
return
end local 13 end local 11 end local 9 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 21 0 context Lorg/jruby/runtime/ThreadContext;
0 21 1 runtime Lorg/jruby/Ruby;
0 21 2 from Lorg/jruby/runtime/builtin/IRubyObject;
0 21 3 to Lorg/jruby/runtime/builtin/IRubyObject;
0 21 4 step Lorg/jruby/runtime/builtin/IRubyObject;
0 21 5 excl Z
0 21 6 block Lorg/jruby/runtime/Block;
1 21 7 beg D
2 21 9 end D
3 21 11 unit D
4 21 13 n D
12 20 15 i J
9 11 17 value Lorg/jruby/RubyFloat;
14 18 17 d D
MethodParameters:
Name Flags
context
runtime
from
to
step
excl
block
private static void duckStep(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, boolean, boolean, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;ZZLorg/jruby/runtime/Block;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
astore 7
start local 7 1: iload 4
ifeq 4
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 6
aload 0
aload 7
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
3: aload 0
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_plus:Lorg/jruby/runtime/CallSite;
aload 0
aload 7
aload 7
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 7
goto 2
4: StackMap locals:
StackMap stack:
iload 5
ifeq 5
aload 0
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_lt:Lorg/jruby/runtime/callsite/CachingCallSite;
goto 6
StackMap locals:
StackMap stack:
5: aload 0
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_gt:Lorg/jruby/runtime/callsite/CachingCallSite;
StackMap locals:
StackMap stack: org.jruby.runtime.callsite.CachingCallSite
6: astore 8
start local 8 7: goto 10
8: StackMap locals: org.jruby.runtime.CallSite
StackMap stack:
aload 6
aload 0
aload 7
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
9: aload 0
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_plus:Lorg/jruby/runtime/CallSite;
aload 0
aload 7
aload 7
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 7
StackMap locals:
StackMap stack:
10: aload 8
aload 0
aload 7
aload 7
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;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 8
end local 8 11: return
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 from Lorg/jruby/runtime/builtin/IRubyObject;
0 12 2 to Lorg/jruby/runtime/builtin/IRubyObject;
0 12 3 step Lorg/jruby/runtime/builtin/IRubyObject;
0 12 4 inf Z
0 12 5 desc Z
0 12 6 block Lorg/jruby/runtime/Block;
1 12 7 i Lorg/jruby/runtime/builtin/IRubyObject;
7 11 8 cmpSite Lorg/jruby/runtime/CallSite;
MethodParameters:
Name Flags
context
from
to
step
inf
desc
block
public static org.jruby.RubyNumeric intervalStepSize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyNumeric;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=18, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 1: aload 1
instanceof org.jruby.RubyFixnum
ifeq 21
aload 2
instanceof org.jruby.RubyFixnum
ifeq 21
aload 3
instanceof org.jruby.RubyFixnum
ifeq 21
2: aload 3
checkcast org.jruby.RubyFixnum
getfield org.jruby.RubyFixnum.value:J
lstore 8
start local 8 3: lload 8
lconst_0
lcmp
ifne 5
4: aload 5
ldc Infinity
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
areturn
5: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.Ruby top top long
StackMap stack:
aload 2
checkcast org.jruby.RubyFixnum
getfield org.jruby.RubyFixnum.value:J
lstore 10
start local 10 6: aload 1
checkcast org.jruby.RubyFixnum
getfield org.jruby.RubyFixnum.value:J
lstore 12
start local 12 7: lload 10
lload 12
lsub
lstore 6
start local 6 8: lload 10
lload 12
lload 6
invokestatic org.jruby.runtime.Helpers.subtractionOverflowed:(JJJ)Z
ifne 28
9: lload 8
lconst_0
lcmp
ifge 12
10: lload 8
lneg
lstore 8
11: lload 6
lneg
lstore 6
12: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.Ruby long long long long
StackMap stack:
iload 4
ifeq 14
13: lload 6
lconst_1
lsub
lstore 6
14: StackMap locals:
StackMap stack:
lload 6
lconst_0
lcmp
ifge 16
15: aload 5
iconst_0
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
16: StackMap locals:
StackMap stack:
lload 6
lload 8
ldiv
lstore 14
start local 14 17: lload 14
lconst_1
ladd
lstore 16
start local 16 18: lload 16
ldc -9223372036854775808
lcmp
ifeq 20
19: new org.jruby.RubyFixnum
dup
aload 5
lload 6
lload 8
ldiv
lconst_1
ladd
invokespecial org.jruby.RubyFixnum.<init>:(Lorg/jruby/Ruby;J)V
areturn
20: StackMap locals: long long
StackMap stack:
aload 5
lload 14
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
getstatic java.math.BigInteger.ONE:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
invokestatic org.jruby.RubyBignum.newBignum:(Lorg/jruby/Ruby;Ljava/math/BigInteger;)Lorg/jruby/RubyBignum;
areturn
end local 16 end local 14 end local 12 end local 10 end local 8 end local 6 21: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.Ruby
StackMap stack:
aload 1
instanceof org.jruby.RubyFloat
ifne 22
aload 2
instanceof org.jruby.RubyFloat
ifne 22
aload 3
instanceof org.jruby.RubyFloat
ifeq 28
22: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToFloat:()Lorg/jruby/RubyFloat;
getfield org.jruby.RubyFloat.value:D
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToFloat:()Lorg/jruby/RubyFloat;
getfield org.jruby.RubyFloat.value:D
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToFloat:()Lorg/jruby/RubyFloat;
getfield org.jruby.RubyFloat.value:D
iload 4
invokestatic org.jruby.RubyNumeric.floatStepSize:(DDDZ)D
dstore 6
start local 6 23: dload 6
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 25
24: aload 5
dload 6
invokevirtual org.jruby.Ruby.newFloat:(D)Lorg/jruby/RubyFloat;
areturn
25: StackMap locals: double
StackMap stack:
dload 6
invokestatic org.jruby.RubyNumeric.posFixable:(D)Z
ifeq 27
26: aload 5
dload 6
invokevirtual org.jruby.Ruby.newFloat:(D)Lorg/jruby/RubyFloat;
invokevirtual org.jruby.RubyFloat.convertToInteger:()Lorg/jruby/RubyInteger;
areturn
27: StackMap locals:
StackMap stack:
aload 5
dload 6
invokestatic org.jruby.RubyBignum.newBignorm:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyInteger;
areturn
end local 6 28: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
astore 6
start local 6 29: aload 6
getfield org.jruby.runtime.JavaSites$NumericSites.op_gt:Lorg/jruby/runtime/callsite/CachingCallSite;
astore 7
start local 7 30: aload 6
getfield org.jruby.runtime.JavaSites$NumericSites.op_lt:Lorg/jruby/runtime/callsite/CachingCallSite;
astore 8
start local 8 31: aload 7
astore 9
start local 9 32: aload 5
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 10
start local 10 33: aload 10
aload 0
aload 6
getfield org.jruby.runtime.JavaSites$NumericSites.op_cmp:Lorg/jruby/runtime/CallSite;
aload 3
invokevirtual org.jruby.RubyFixnum.coerceCmp:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 11
start local 11 34: aload 0
aload 7
aload 8
aload 11
aload 3
aload 10
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
tableswitch { // 0 - 1
0: 35
1: 36
default: 37
}
35: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.Ruby org.jruby.runtime.JavaSites$NumericSites org.jruby.runtime.CallSite org.jruby.runtime.CallSite org.jruby.runtime.CallSite org.jruby.RubyFixnum org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 5
ldc Infinity
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
areturn
36: StackMap locals:
StackMap stack:
aload 8
astore 9
37: StackMap locals:
StackMap stack:
aload 9
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;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 39
38: aload 5
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
39: StackMap locals:
StackMap stack:
aload 6
getfield org.jruby.runtime.JavaSites$NumericSites.op_minus:Lorg/jruby/runtime/CallSite;
aload 0
aload 2
aload 2
aload 1
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 12
start local 12 40: aload 6
getfield org.jruby.runtime.JavaSites$NumericSites.div:Lorg/jruby/runtime/CallSite;
aload 0
aload 12
aload 12
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 13
start local 13 41: aload 6
getfield org.jruby.runtime.JavaSites$NumericSites.op_plus:Lorg/jruby/runtime/CallSite;
aload 0
aload 1
aload 1
aload 6
getfield org.jruby.runtime.JavaSites$NumericSites.op_times:Lorg/jruby/runtime/CallSite;
aload 0
aload 13
aload 13
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;
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 14
start local 14 42: iload 4
ifeq 43
aload 9
aload 0
aload 14
aload 14
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;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 44
43: StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 6
getfield org.jruby.runtime.JavaSites$NumericSites.op_plus:Lorg/jruby/runtime/CallSite;
aload 0
aload 13
aload 13
aload 5
lconst_1
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
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 13
44: StackMap locals:
StackMap stack:
aload 13
checkcast org.jruby.RubyNumeric
areturn
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 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 45 0 context Lorg/jruby/runtime/ThreadContext;
0 45 1 from Lorg/jruby/runtime/builtin/IRubyObject;
0 45 2 to Lorg/jruby/runtime/builtin/IRubyObject;
0 45 3 step Lorg/jruby/runtime/builtin/IRubyObject;
0 45 4 excl Z
1 45 5 runtime Lorg/jruby/Ruby;
8 21 6 delta J
3 21 8 diff J
6 21 10 toLong J
7 21 12 fromLong J
17 21 14 steps J
18 21 16 stepSize J
23 28 6 n D
29 45 6 sites Lorg/jruby/runtime/JavaSites$NumericSites;
30 45 7 op_gt Lorg/jruby/runtime/CallSite;
31 45 8 op_lt Lorg/jruby/runtime/CallSite;
32 45 9 cmpSite Lorg/jruby/runtime/CallSite;
33 45 10 zero Lorg/jruby/RubyFixnum;
34 45 11 comparison Lorg/jruby/runtime/builtin/IRubyObject;
40 45 12 deltaObj Lorg/jruby/runtime/builtin/IRubyObject;
41 45 13 result Lorg/jruby/runtime/builtin/IRubyObject;
42 45 14 timesPlus Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
from
to
step
excl
private org.jruby.RubyEnumerator$SizeFn stepSizeFn(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyEnumerator$SizeFn;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokedynamic size(Lorg/jruby/RubyNumeric;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyEnumerator$SizeFn;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
org/jruby/RubyNumeric.lambda$0(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; (7)
(Lorg/jruby/runtime/ThreadContext;[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 this Lorg/jruby/RubyNumeric;
0 1 1 from Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
from final
args final
public static double floatStepSize(double, double, double, boolean);
descriptor: (DDDZ)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=11, args_size=4
start local 0 start local 2 start local 4 start local 6 0: dload 2
dload 0
dsub
dload 4
ddiv
dstore 7
start local 7 1: dload 0
invokestatic java.lang.Math.abs:(D)D
dload 2
invokestatic java.lang.Math.abs:(D)D
dadd
dload 2
dload 0
dsub
invokestatic java.lang.Math.abs:(D)D
dadd
dload 4
invokestatic java.lang.Math.abs:(D)D
ddiv
ldc 2.220446049250313E-16
dmul
dstore 9
start local 9 2: dload 4
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 10
3: dload 4
dconst_0
dcmpl
ifle 7
4: dload 0
dload 2
dcmpg
ifgt 5
iconst_1
goto 6
StackMap locals: double double
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: i2d
dreturn
7: StackMap locals:
StackMap stack:
dload 2
dload 0
dcmpg
ifgt 8
iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: i2d
dreturn
10: StackMap locals:
StackMap stack:
dload 4
dconst_0
dcmpl
ifne 12
11: ldc Infinity
dreturn
12: StackMap locals:
StackMap stack:
dload 9
ldc 0.5
dcmpl
ifle 13
ldc 0.5
dstore 9
13: StackMap locals:
StackMap stack:
iload 6
ifeq 21
14: dload 7
dconst_0
dcmpg
ifgt 16
15: dconst_0
dreturn
16: StackMap locals:
StackMap stack:
dload 7
dconst_1
dcmpg
ifge 19
17: dconst_0
dstore 7
18: goto 24
19: StackMap locals:
StackMap stack:
dload 7
dload 9
dsub
invokestatic java.lang.Math.floor:(D)D
dstore 7
20: goto 24
21: StackMap locals:
StackMap stack:
dload 7
dconst_0
dcmpg
ifge 23
22: dconst_0
dreturn
23: StackMap locals:
StackMap stack:
dload 7
dload 9
dadd
invokestatic java.lang.Math.floor:(D)D
dstore 7
24: StackMap locals:
StackMap stack:
dload 7
dconst_1
dadd
dreturn
end local 9 end local 7 end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 beg D
0 25 2 end D
0 25 4 unit D
0 25 6 excludeLast Z
1 25 7 n D
2 25 9 err D
MethodParameters:
Name Flags
beg
end
unit
excludeLast
protected final org.jruby.runtime.builtin.IRubyObject op_num_equal(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
if_acmpne 1
aload 1
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
areturn
1: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_equals:Lorg/jruby/runtime/CallSite;
aload 0
invokestatic org.jruby.RubyNumeric.numFuncall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/CallSite;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 2 0 this Lorg/jruby/RubyNumeric;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 other Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject numerator(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_to_r:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.numerator:Lorg/jruby/runtime/CallSite;
aload 1
aload 2
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;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyNumeric;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
1 2 2 rational Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"numerator"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject denominator(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_to_r:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.denominator:Lorg/jruby/runtime/CallSite;
aload 1
aload 2
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;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyNumeric;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
1 2 2 rational Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"denominator"})
MethodParameters:
Name Flags
context
public org.jruby.RubyRational convertToRational();
descriptor: ()Lorg/jruby/RubyRational;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyNumeric.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 1
start local 1 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
invokevirtual org.jruby.RubyNumeric.numerator:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
aload 1
invokevirtual org.jruby.RubyNumeric.denominator:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyRational.newRationalRaw:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyRational;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyNumeric;
1 2 1 context Lorg/jruby/runtime/ThreadContext;
public org.jruby.runtime.builtin.IRubyObject to_c(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic org.jruby.RubyComplex.newComplexCanonicalize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_c"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject real(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"real"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject image(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"imaginary", "imag"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject abs2(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 0
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"abs2"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject arg(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyNumeric.getDoubleValue:()D
dstore 2
start local 2 1: dload 2
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 2
aload 0
areturn
2: StackMap locals: double
StackMap stack:
aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_negative_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 3
dload 2
dconst_0
dcmpl
ifne 4
dconst_1
dload 2
ddiv
ldc -Infinity
dcmpl
ifne 4
3: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getMath:()Lorg/jruby/RubyModule;
ldc "PI"
invokevirtual org.jruby.RubyModule.getConstant:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyNumeric;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
1 5 2 value D
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"arg", "angle", "phase"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject rect(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"rectangular", "rect"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject polar(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_abs:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_arg:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"polar"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject conjugate(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"conjugate", "conj"})
MethodParameters:
Name Flags
context
public <T> T toJava(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.javasupport.JavaUtil.getNumericConverter:(Ljava/lang/Class;)Lorg/jruby/javasupport/JavaUtil$NumericConverter;
aload 0
aload 1
invokeinterface org.jruby.javasupport.JavaUtil$NumericConverter.coerce:(Lorg/jruby/RubyNumeric;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 target Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
target
public org.jruby.runtime.builtin.IRubyObject isNegative(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_lt_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokestatic org.jruby.RubyNumeric.compareWithZero:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"negative?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject isPositive(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 1
invokestatic org.jruby.RubyNumeric.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
getfield org.jruby.runtime.JavaSites$NumericSites.op_gt_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokestatic org.jruby.RubyNumeric.compareWithZero:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"positive?"})
MethodParameters:
Name Flags
context
public boolean isNegative();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.jruby.RubyNumeric.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyNumeric.isNegative:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
public boolean isPositive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.jruby.RubyNumeric.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyNumeric.isPositive:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
protected static org.jruby.runtime.builtin.IRubyObject compareWithZero(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.JavaSites$CheckedSites);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 3
start local 3 1: aload 1
invokestatic org.jruby.RubyNumeric.getMetaClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
aload 0
aload 1
aload 2
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
invokevirtual org.jruby.RubyClass.finvokeChecked:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/JavaSites$CheckedSites;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: aload 1
aload 3
invokestatic org.jruby.RubyComparable.cmperr:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
4: StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
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 num Lorg/jruby/runtime/builtin/IRubyObject;
0 5 2 site Lorg/jruby/runtime/JavaSites$CheckedSites;
1 5 3 zero Lorg/jruby/runtime/builtin/IRubyObject;
2 5 4 r Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
num
site
public org.jruby.runtime.builtin.IRubyObject finite_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"finite?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject infinite_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"infinite?"})
MethodParameters:
Name Flags
context
public final org.jruby.runtime.builtin.IRubyObject rbClone(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyNumeric.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 2
start local 2 1: aload 1
arraylength
tableswitch { // 0 - 1
0: 2
1: 3
default: 4
}
2: StackMap locals: org.jruby.runtime.ThreadContext
StackMap stack:
aload 0
aload 2
invokevirtual org.jruby.RubyNumeric.rbClone:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
iconst_0
aaload
invokevirtual org.jruby.RubyNumeric.rbClone:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 2
5: getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "wrong number of arguments (given "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", expected 0)"
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 6 0 this Lorg/jruby/RubyNumeric;
0 6 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 6 2 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
args
public final org.jruby.runtime.builtin.IRubyObject rbClone(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"clone"})
MethodParameters:
Name Flags
context
public final org.jruby.runtime.builtin.IRubyObject rbClone(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyHash
ifne 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "wrong number of arguments (given 1, expected 0)"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 2
checkcast org.jruby.RubyHash
ldc "freeze"
invokestatic org.jruby.ast.util.ArgsUtil.extractKeywordArg:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyHash;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 3: aload 3
ifnull 4
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifne 4
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "can't unfreeze "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.RubyNumeric.getType:()Lorg/jruby/RubyClass;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
4: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyNumeric;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
3 5 3 ret Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"clone"})
MethodParameters:
Name Flags
context
arg
public final org.jruby.runtime.builtin.IRubyObject rbClone();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
public org.jruby.runtime.builtin.IRubyObject dup();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
public static org.jruby.runtime.builtin.IRubyObject numFuncall(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.CallSite);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/CallSite;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new org.jruby.RubyNumeric$NumFuncall0
dup
invokespecial org.jruby.RubyNumeric$NumFuncall0.<init>:()V
aload 2
aload 1
aload 2
getfield org.jruby.runtime.CallSite.methodName:Ljava/lang/String;
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;
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 x Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 site Lorg/jruby/runtime/CallSite;
MethodParameters:
Name Flags
context
x
site
public static org.jruby.runtime.builtin.IRubyObject numFuncall(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.CallSite, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new org.jruby.RubyNumeric$NumFuncall1
dup
aload 3
invokespecial org.jruby.RubyNumeric$NumFuncall1.<init>:(Lorg/jruby/runtime/builtin/IRubyObject;)V
aload 2
aload 1
aload 2
getfield org.jruby.runtime.CallSite.methodName:Ljava/lang/String;
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;
areturn
end local 3 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 x Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 site Lorg/jruby/runtime/CallSite;
0 1 3 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
x final
site
value final
public static boolean fixable(org.jruby.Ruby, double);
descriptor: (Lorg/jruby/Ruby;D)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: dload 1
invokestatic java.lang.Double.isNaN:(D)Z
ifne 1
dload 1
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
dload 1
invokestatic java.lang.Double.toString:(D)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newFloatDomainError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
dload 1
d2l
lstore 3
start local 3 3: lload 3
ldc -9223372036854775808
lcmp
ifeq 4
lload 3
ldc 9223372036854775807
lcmp
ifne 7
4: StackMap locals: long
StackMap stack:
dload 1
invokestatic java.math.BigDecimal.valueOf:(D)Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.toBigInteger:()Ljava/math/BigInteger;
astore 5
start local 5 5: aload 5
invokestatic org.jruby.RubyNumeric.posFixable:(Ljava/math/BigInteger;)Z
ifeq 6
aload 5
invokestatic org.jruby.RubyNumeric.negFixable:(Ljava/math/BigInteger;)Z
ifeq 6
iconst_1
ireturn
StackMap locals: java.math.BigInteger
StackMap stack:
6: iconst_0
ireturn
end local 5 7: StackMap locals:
StackMap stack:
dload 1
invokestatic org.jruby.RubyNumeric.posFixable:(D)Z
ifeq 8
dload 1
invokestatic org.jruby.RubyNumeric.negFixable:(D)Z
ifeq 8
iconst_1
ireturn
StackMap locals:
StackMap stack:
8: iconst_0
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 runtime Lorg/jruby/Ruby;
0 9 1 f D
3 9 3 l J
5 7 5 bigint Ljava/math/BigInteger;
MethodParameters:
Name Flags
runtime
f
public static boolean posFixable(java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.RubyBignum.LONG_MAX:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 f Ljava/math/BigInteger;
MethodParameters:
Name Flags
f
public static boolean negFixable(java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.RubyBignum.LONG_MIN:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 f Ljava/math/BigInteger;
MethodParameters:
Name Flags
f
public static boolean posFixable(double);
descriptor: (D)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: dload 0
ldc 9.223372036854776E18
dcmpg
ifgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 l D
MethodParameters:
Name Flags
l
public static boolean negFixable(double);
descriptor: (D)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: dload 0
ldc -9.223372036854776E18
dcmpl
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 l D
MethodParameters:
Name Flags
l
public org.jruby.runtime.builtin.IRubyObject floor();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.RubyNumeric.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyNumeric.floor:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public org.jruby.runtime.builtin.IRubyObject ceil();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.RubyNumeric.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyNumeric.ceil:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public org.jruby.runtime.builtin.IRubyObject round();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.RubyNumeric.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyNumeric.round:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public org.jruby.runtime.builtin.IRubyObject truncate();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.RubyNumeric.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyNumeric.truncate:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNumeric;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private static org.jruby.runtime.JavaSites$NumericSites sites(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$NumericSites;
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.Numeric:Lorg/jruby/runtime/JavaSites$NumericSites;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public static org.jruby.RubyFloat str2fnum19(org.jruby.Ruby, org.jruby.RubyString, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyString;Z)Lorg/jruby/RubyFloat;
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
iload 2
invokestatic org.jruby.RubyNumeric.str2fnum:(Lorg/jruby/Ruby;Lorg/jruby/RubyString;Z)Lorg/jruby/RubyFloat;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 arg Lorg/jruby/RubyString;
0 1 2 strict Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
arg
strict
public final org.jruby.runtime.builtin.IRubyObject div19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyNumeric.div:(Lorg/jruby/runtime/ThreadContext;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 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
other
public final org.jruby.runtime.builtin.IRubyObject divmod19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyNumeric.divmod:(Lorg/jruby/runtime/ThreadContext;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 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
other
public final org.jruby.runtime.builtin.IRubyObject modulo19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyNumeric.modulo:(Lorg/jruby/runtime/ThreadContext;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 this Lorg/jruby/RubyNumeric;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
other
static int[] $SWITCH_TABLE$org$jruby$runtime$ClassIndex();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.RubyNumeric.$SWITCH_TABLE$org$jruby$runtime$ClassIndex:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.jruby.runtime.ClassIndex.values:()[Lorg/jruby/runtime/ClassIndex;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.jruby.runtime.ClassIndex.ARRAY:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.jruby.runtime.ClassIndex.BASICOBJECT:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 39
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.jruby.runtime.ClassIndex.BIGDECIMAL:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 40
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.jruby.runtime.ClassIndex.BIGNUM:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.jruby.runtime.ClassIndex.BINDING:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 33
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.jruby.runtime.ClassIndex.CLASS:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 14
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic org.jruby.runtime.ClassIndex.COMPLEX:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 21
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic org.jruby.runtime.ClassIndex.CONTINUATION:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 38
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic org.jruby.runtime.ClassIndex.CONVERTER:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 24
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic org.jruby.runtime.ClassIndex.DIR:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 36
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic org.jruby.runtime.ClassIndex.ENCODING:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 23
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
getstatic org.jruby.runtime.ClassIndex.EXCEPTION:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 31
iastore
36: goto 38
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
37: pop
StackMap locals:
StackMap stack:
38: aload 0
getstatic org.jruby.runtime.ClassIndex.FALSE:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 8
iastore
39: goto 41
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
40: pop
StackMap locals:
StackMap stack:
41: aload 0
getstatic org.jruby.runtime.ClassIndex.FILE:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 27
iastore
42: goto 44
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
43: pop
StackMap locals:
StackMap stack:
44: aload 0
getstatic org.jruby.runtime.ClassIndex.FIXNUM:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iconst_2
iastore
45: goto 47
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
46: pop
StackMap locals:
StackMap stack:
47: aload 0
getstatic org.jruby.runtime.ClassIndex.FLOAT:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 12
iastore
48: goto 50
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
49: pop
StackMap locals:
StackMap stack:
50: aload 0
getstatic org.jruby.runtime.ClassIndex.GENERATOR:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 25
iastore
51: goto 53
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
52: pop
StackMap locals:
StackMap stack:
53: aload 0
getstatic org.jruby.runtime.ClassIndex.HASH:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 11
iastore
54: goto 56
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
55: pop
StackMap locals:
StackMap stack:
56: aload 0
getstatic org.jruby.runtime.ClassIndex.INTEGER:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 17
iastore
57: goto 59
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
58: pop
StackMap locals:
StackMap stack:
59: aload 0
getstatic org.jruby.runtime.ClassIndex.IO:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 32
iastore
60: goto 62
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
61: pop
StackMap locals:
StackMap stack:
62: aload 0
getstatic org.jruby.runtime.ClassIndex.MATCHDATA:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 28
iastore
63: goto 65
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
64: pop
StackMap locals:
StackMap stack:
65: aload 0
getstatic org.jruby.runtime.ClassIndex.MAX_CLASSES:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 41
iastore
66: goto 68
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
67: pop
StackMap locals:
StackMap stack:
68: aload 0
getstatic org.jruby.runtime.ClassIndex.METHOD:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 35
iastore
69: goto 71
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
70: pop
StackMap locals:
StackMap stack:
71: aload 0
getstatic org.jruby.runtime.ClassIndex.MODULE:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 13
iastore
72: goto 74
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
73: pop
StackMap locals:
StackMap stack:
74: aload 0
getstatic org.jruby.runtime.ClassIndex.NIL:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 6
iastore
75: goto 77
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
76: pop
StackMap locals:
StackMap stack:
77: aload 0
getstatic org.jruby.runtime.ClassIndex.NO_INDEX:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iconst_1
iastore
78: goto 80
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
79: pop
StackMap locals:
StackMap stack:
80: aload 0
getstatic org.jruby.runtime.ClassIndex.NUMERIC:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 18
iastore
81: goto 83
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
82: pop
StackMap locals:
StackMap stack:
83: aload 0
getstatic org.jruby.runtime.ClassIndex.OBJECT:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 15
iastore
84: goto 86
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
85: pop
StackMap locals:
StackMap stack:
86: aload 0
getstatic org.jruby.runtime.ClassIndex.PROC:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 34
iastore
87: goto 89
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
88: pop
StackMap locals:
StackMap stack:
89: aload 0
getstatic org.jruby.runtime.ClassIndex.RANGE:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 19
iastore
90: goto 92
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
91: pop
StackMap locals:
StackMap stack:
92: aload 0
getstatic org.jruby.runtime.ClassIndex.RATIONAL:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 22
iastore
93: goto 95
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
94: pop
StackMap locals:
StackMap stack:
95: aload 0
getstatic org.jruby.runtime.ClassIndex.REGEXP:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 10
iastore
96: goto 98
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
97: pop
StackMap locals:
StackMap stack:
98: aload 0
getstatic org.jruby.runtime.ClassIndex.STRING:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iconst_5
iastore
99: goto 101
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
100: pop
StackMap locals:
StackMap stack:
101: aload 0
getstatic org.jruby.runtime.ClassIndex.STRUCT:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 16
iastore
102: goto 104
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
103: pop
StackMap locals:
StackMap stack:
104: aload 0
getstatic org.jruby.runtime.ClassIndex.SYMBOL:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 9
iastore
105: goto 107
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
106: pop
StackMap locals:
StackMap stack:
107: aload 0
getstatic org.jruby.runtime.ClassIndex.THREAD:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 30
iastore
108: goto 110
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
109: pop
StackMap locals:
StackMap stack:
110: aload 0
getstatic org.jruby.runtime.ClassIndex.THREADGROUP:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 29
iastore
111: goto 113
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
112: pop
StackMap locals:
StackMap stack:
113: aload 0
getstatic org.jruby.runtime.ClassIndex.TIME:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 20
iastore
114: goto 116
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
115: pop
StackMap locals:
StackMap stack:
116: aload 0
getstatic org.jruby.runtime.ClassIndex.TRUE:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 7
iastore
117: goto 119
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
118: pop
StackMap locals:
StackMap stack:
119: aload 0
getstatic org.jruby.runtime.ClassIndex.UNBOUNDMETHOD:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 37
iastore
120: goto 122
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
121: pop
StackMap locals:
StackMap stack:
122: aload 0
getstatic org.jruby.runtime.ClassIndex.YIELDER:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 26
iastore
123: goto 125
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
124: pop
StackMap locals:
StackMap stack:
125: aload 0
dup
putstatic org.jruby.RubyNumeric.$SWITCH_TABLE$org$jruby$runtime$ClassIndex:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
35 36 37 Class java.lang.NoSuchFieldError
38 39 40 Class java.lang.NoSuchFieldError
41 42 43 Class java.lang.NoSuchFieldError
44 45 46 Class java.lang.NoSuchFieldError
47 48 49 Class java.lang.NoSuchFieldError
50 51 52 Class java.lang.NoSuchFieldError
53 54 55 Class java.lang.NoSuchFieldError
56 57 58 Class java.lang.NoSuchFieldError
59 60 61 Class java.lang.NoSuchFieldError
62 63 64 Class java.lang.NoSuchFieldError
65 66 67 Class java.lang.NoSuchFieldError
68 69 70 Class java.lang.NoSuchFieldError
71 72 73 Class java.lang.NoSuchFieldError
74 75 76 Class java.lang.NoSuchFieldError
77 78 79 Class java.lang.NoSuchFieldError
80 81 82 Class java.lang.NoSuchFieldError
83 84 85 Class java.lang.NoSuchFieldError
86 87 88 Class java.lang.NoSuchFieldError
89 90 91 Class java.lang.NoSuchFieldError
92 93 94 Class java.lang.NoSuchFieldError
95 96 97 Class java.lang.NoSuchFieldError
98 99 100 Class java.lang.NoSuchFieldError
101 102 103 Class java.lang.NoSuchFieldError
104 105 106 Class java.lang.NoSuchFieldError
107 108 109 Class java.lang.NoSuchFieldError
110 111 112 Class java.lang.NoSuchFieldError
113 114 115 Class java.lang.NoSuchFieldError
116 117 118 Class java.lang.NoSuchFieldError
119 120 121 Class java.lang.NoSuchFieldError
122 123 124 Class java.lang.NoSuchFieldError
private org.jruby.runtime.builtin.IRubyObject lambda$0(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 2 start local 3 0: iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
astore 4
start local 4 1: aload 0
aload 2
aload 3
aload 4
invokevirtual org.jruby.RubyNumeric.scanStepArgs:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Z
pop
2: aload 2
aload 1
aload 4
iconst_0
aaload
aload 4
iconst_1
aaload
iconst_0
invokestatic org.jruby.RubyNumeric.intervalStepSize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyNumeric;
areturn
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyNumeric;
0 3 2 context Lorg/jruby/runtime/ThreadContext;
0 3 3 args1 [Lorg/jruby/runtime/builtin/IRubyObject;
1 3 4 newArgs [Lorg/jruby/runtime/builtin/IRubyObject;
}
SourceFile: "RubyNumeric.java"
NestMembers:
org.jruby.RubyNumeric$1 org.jruby.RubyNumeric$2 org.jruby.RubyNumeric$InvalidIntegerException org.jruby.RubyNumeric$NumFuncall0 org.jruby.RubyNumeric$NumFuncall1 org.jruby.RubyNumeric$NumberTooLargeException
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract SizeFn = org.jruby.RubyEnumerator$SizeFn of org.jruby.RubyEnumerator
public final JavaClassKindOf = org.jruby.RubyModule$JavaClassKindOf of org.jruby.RubyModule
org.jruby.RubyNumeric$1
org.jruby.RubyNumeric$2
public InvalidIntegerException = org.jruby.RubyNumeric$InvalidIntegerException of org.jruby.RubyNumeric
private NumFuncall0 = org.jruby.RubyNumeric$NumFuncall0 of org.jruby.RubyNumeric
private NumFuncall1 = org.jruby.RubyNumeric$NumFuncall1 of org.jruby.RubyNumeric
public NumberTooLargeException = org.jruby.RubyNumeric$NumberTooLargeException of org.jruby.RubyNumeric
public abstract NumericConverter = org.jruby.javasupport.JavaUtil$NumericConverter of org.jruby.javasupport.JavaUtil
public BignumSites = org.jruby.runtime.JavaSites$BignumSites of org.jruby.runtime.JavaSites
public CheckedSites = org.jruby.runtime.JavaSites$CheckedSites of org.jruby.runtime.JavaSites
public FixnumSites = org.jruby.runtime.JavaSites$FixnumSites of org.jruby.runtime.JavaSites
public IntegerSites = org.jruby.runtime.JavaSites$IntegerSites of org.jruby.runtime.JavaSites
public NumericSites = org.jruby.runtime.JavaSites$NumericSites of org.jruby.runtime.JavaSites
public RationalSites = org.jruby.runtime.JavaSites$RationalSites of org.jruby.runtime.JavaSites
public abstract RecursiveFunctionEx = org.jruby.runtime.ThreadContext$RecursiveFunctionEx of org.jruby.runtime.ThreadContext
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Numeric"}, include = {"Comparable"})