public abstract class org.jruby.RubyInteger extends org.jruby.RubyNumeric
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.RubyInteger
super_class: org.jruby.RubyNumeric
{
static final org.jruby.util.ByteList[] SINGLE_CHAR_BYTELISTS;
descriptor: [Lorg/jruby/util/ByteList;
flags: (0x0018) ACC_STATIC, ACC_FINAL
public static final org.jruby.util.ByteList[] SINGLE_CHAR_BYTELISTS19;
descriptor: [Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private static final long HALF_LONG_MSB;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2147483648
private static volatile int[] $SWITCH_TABLE$java$math$RoundingMode;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=0
0: sipush 256
anewarray org.jruby.util.ByteList
putstatic org.jruby.RubyInteger.SINGLE_CHAR_BYTELISTS:[Lorg/jruby/util/ByteList;
1: iconst_0
istore 0
start local 0 2: goto 9
3: StackMap locals: int
StackMap stack:
new org.jruby.util.ByteList
dup
iconst_1
newarray 8
dup
iconst_0
iload 0
i2b
bastore
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BZ)V
astore 1
start local 1 4: getstatic org.jruby.RubyInteger.SINGLE_CHAR_BYTELISTS:[Lorg/jruby/util/ByteList;
iload 0
aload 1
aastore
5: aload 1
iload 0
sipush 128
if_icmpge 6
getstatic org.jcodings.specific.USASCIIEncoding.INSTANCE:Lorg/jcodings/specific/USASCIIEncoding;
goto 7
StackMap locals: int org.jruby.util.ByteList
StackMap stack: org.jruby.util.ByteList
6: getstatic org.jcodings.specific.ASCIIEncoding.INSTANCE:Lorg/jcodings/specific/ASCIIEncoding;
StackMap locals: int org.jruby.util.ByteList
StackMap stack: org.jruby.util.ByteList org.jcodings.SingleByteEncoding
7: invokevirtual org.jruby.util.ByteList.setEncoding:(Lorg/jcodings/Encoding;)V
end local 1 8: iinc 0 1
StackMap locals:
StackMap stack:
9: iload 0
sipush 256
if_icmplt 3
end local 0 10: getstatic org.jruby.RubyInteger.SINGLE_CHAR_BYTELISTS:[Lorg/jruby/util/ByteList;
putstatic org.jruby.RubyInteger.SINGLE_CHAR_BYTELISTS19:[Lorg/jruby/util/ByteList;
11: return
LocalVariableTable:
Start End Slot Name Signature
2 10 0 i I
4 8 1 bytes Lorg/jruby/util/ByteList;
public static org.jruby.RubyClass createIntegerClass(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 "Integer"
aload 0
invokevirtual org.jruby.Ruby.getNumeric:()Lorg/jruby/RubyClass;
1: getstatic org.jruby.runtime.ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
2: invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 3: aload 1
getstatic org.jruby.runtime.ClassIndex.INTEGER:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.RubyClass.setClassIndex:(Lorg/jruby/runtime/ClassIndex;)V
4: aload 1
ldc Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyClass.setReifiedClass:(Ljava/lang/Class;)V
5: aload 1
new org.jruby.RubyModule$JavaClassKindOf
dup
ldc Lorg/jruby/RubyInteger;
invokespecial org.jruby.RubyModule$JavaClassKindOf.<init>:(Ljava/lang/Class;)V
putfield org.jruby.RubyClass.kindOf:Lorg/jruby/RubyModule$KindOf;
6: aload 1
invokevirtual org.jruby.RubyClass.getSingletonClass:()Lorg/jruby/RubyClass;
ldc "new"
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
7: aload 1
ldc Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 runtime Lorg/jruby/Ruby;
3 9 1 integer 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.RubyNumeric.<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/RubyInteger;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 rubyClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
rubyClass
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.RubyNumeric.<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/RubyInteger;
0 2 1 rubyClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
rubyClass
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.RubyNumeric.<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/RubyInteger;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 rubyClass Lorg/jruby/RubyClass;
0 2 3 useObjectSpace Z
MethodParameters:
Name Flags
runtime
rubyClass
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.RubyNumeric.<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/RubyInteger;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 rubyClass Lorg/jruby/RubyClass;
0 2 3 useObjectSpace Z
0 2 4 canBeTainted Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
rubyClass
useObjectSpace
canBeTainted
public org.jruby.RubyInteger convertToInteger();
descriptor: ()Lorg/jruby/RubyInteger;
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/RubyInteger;
protected org.jruby.RubyFloat toFloat();
descriptor: ()Lorg/jruby/RubyFloat;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyInteger.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.RubyInteger.getDoubleValue:()D
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
public int signum();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyInteger.getBigIntegerValue:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.signum:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
public org.jruby.RubyInteger negate();
descriptor: ()Lorg/jruby/RubyInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyInteger.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
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.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;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyInteger;
1 2 1 context Lorg/jruby/runtime/ThreadContext;
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.RubyInteger.isNegative:()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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.RubyInteger.isPositive:()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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public boolean isNegative();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyInteger.signum:()I
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyInteger;
public boolean isPositive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyInteger.signum:()I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyInteger;
public static org.jruby.runtime.builtin.IRubyObject sqrt(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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
aload 0
invokevirtual org.jruby.RubyInteger.sqrt:(Lorg/jruby/runtime/ThreadContext;)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 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 num Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(meta = true)
MethodParameters:
Name Flags
context
self
num
public abstract org.jruby.runtime.builtin.IRubyObject sqrt(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
context
public static final long floorSqrt(long);
descriptor: (J)J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=1
start local 0 0: lload 0
ldc -4503599627370496
land
lconst_0
lcmp
ifne 1
lload 0
l2d
invokestatic java.lang.StrictMath.sqrt:(D)D
d2l
lreturn
1: StackMap locals:
StackMap stack:
ldc 2.0
lload 0
iconst_1
lushr
l2d
dmul
invokestatic java.lang.StrictMath.sqrt:(D)D
d2l
lstore 2
start local 2 2: lload 2
lload 2
lmul
lload 0
lsub
lconst_0
lcmp
ifle 3
lload 2
lconst_1
lsub
goto 4
StackMap locals: long
StackMap stack:
3: lload 2
StackMap locals:
StackMap stack: long
4: lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 x J
2 5 2 result J
MethodParameters:
Name Flags
x final
public static final java.math.BigInteger floorSqrt(java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;)Ljava/math/BigInteger;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getstatic java.math.BigInteger.ZERO:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
istore 1
start local 1 2: iload 1
ifge 3
aconst_null
areturn
3: StackMap locals: int
StackMap stack:
iload 1
ifne 4
getstatic java.math.BigInteger.ZERO:Ljava/math/BigInteger;
areturn
4: StackMap locals:
StackMap stack:
iconst_0
aload 0
invokevirtual java.math.BigInteger.bitLength:()I
bipush 63
isub
bipush -2
iand
invokestatic java.lang.Math.max:(II)I
istore 2
start local 2 5: aload 0
iload 2
invokevirtual java.math.BigInteger.shiftRight:(I)Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.longValue:()J
invokestatic org.jruby.RubyInteger.floorSqrt:(J)J
ldc 4294967295
land
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
astore 3
start local 3 6: iload 2
iconst_1
iushr
istore 2
7: aload 3
iload 2
invokevirtual java.math.BigInteger.shiftLeft:(I)Ljava/math/BigInteger;
astore 3
8: goto 12
9: StackMap locals: int java.math.BigInteger
StackMap stack:
iinc 2 -1
10: aload 3
iload 2
invokevirtual java.math.BigInteger.setBit:(I)Ljava/math/BigInteger;
astore 4
start local 4 11: aload 4
aload 4
invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 0
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifgt 12
aload 4
astore 3
end local 4 12: StackMap locals:
StackMap stack:
iload 2
ifne 9
13: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 x Ljava/math/BigInteger;
2 14 1 zeroCompare I
5 14 2 bit I
6 14 3 result Ljava/math/BigInteger;
11 12 4 resultHigh Ljava/math/BigInteger;
MethodParameters:
Name Flags
x final
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.RubyInteger.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"integer?"})
public org.jruby.runtime.builtin.IRubyObject upto(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=4, 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
ifeq 6
1: aload 0
instanceof org.jruby.RubyFixnum
ifeq 4
aload 2
instanceof org.jruby.RubyFixnum
ifeq 4
2: aload 1
aload 0
checkcast org.jruby.RubyFixnum
getfield org.jruby.RubyFixnum.value:J
aload 2
checkcast org.jruby.RubyFixnum
getfield org.jruby.RubyFixnum.value:J
aload 3
invokestatic org.jruby.RubyInteger.fixnumUpto:(Lorg/jruby/runtime/ThreadContext;JJLorg/jruby/runtime/Block;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 2
aload 3
invokestatic org.jruby.RubyInteger.duckUpto:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)V
5: StackMap locals:
StackMap stack:
aload 0
areturn
6: StackMap locals:
StackMap stack:
aload 1
aload 0
ldc "upto"
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aastore
aload 0
aload 2
invokestatic org.jruby.RubyInteger.uptoSize:(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
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubyInteger;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 to Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
to
block
static void fixnumUpto(org.jruby.runtime.ThreadContext, long, long, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;JJLorg/jruby/runtime/Block;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 5
invokevirtual org.jruby.runtime.Block.getSignature:()Lorg/jruby/runtime/Signature;
getstatic org.jruby.runtime.Signature.NO_ARGUMENTS:Lorg/jruby/runtime/Signature;
if_acmpne 10
1: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 2: lload 1
lstore 7
start local 7 3: goto 6
4: StackMap locals: org.jruby.runtime.builtin.IRubyObject long
StackMap stack:
aload 5
aload 0
aload 6
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
5: lload 7
lconst_1
ladd
lstore 7
StackMap locals:
StackMap stack:
6: lload 7
lload 3
lcmp
iflt 4
7: lload 7
lload 3
lcmp
ifgt 18
8: aload 5
aload 0
aload 6
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 7 end local 6 9: goto 18
10: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 6
start local 6 11: lload 1
lstore 7
start local 7 12: goto 15
13: StackMap locals: org.jruby.Ruby long
StackMap stack:
aload 5
aload 0
aload 6
lload 7
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
14: lload 7
lconst_1
ladd
lstore 7
StackMap locals:
StackMap stack:
15: lload 7
lload 3
lcmp
iflt 13
16: lload 7
lload 3
lcmp
ifgt 18
17: aload 5
aload 0
aload 6
lload 7
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 7 end local 6 18: StackMap locals:
StackMap stack:
return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 context Lorg/jruby/runtime/ThreadContext;
0 19 1 from J
0 19 3 to J
0 19 5 block Lorg/jruby/runtime/Block;
2 9 6 nil Lorg/jruby/runtime/builtin/IRubyObject;
3 9 7 i J
11 18 6 runtime Lorg/jruby/Ruby;
12 18 7 i J
MethodParameters:
Name Flags
context
from
to
block
private static void duckUpto(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: aload 1
astore 5
start local 5 2: aload 4
invokestatic org.jruby.RubyFixnum.one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 6
start local 6 3: StackMap locals: org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.RubyFixnum
StackMap stack:
aload 0
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_gt:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 0
aload 5
aload 5
aload 2
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 5
4: goto 8
5: StackMap locals:
StackMap stack:
aload 3
aload 0
aload 5
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
6: aload 0
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_plus:Lorg/jruby/runtime/CallSite;
aload 0
aload 5
aload 5
aload 6
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
7: goto 3
8: StackMap locals:
StackMap stack:
return
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 context Lorg/jruby/runtime/ThreadContext;
0 9 1 from Lorg/jruby/runtime/builtin/IRubyObject;
0 9 2 to Lorg/jruby/runtime/builtin/IRubyObject;
0 9 3 block Lorg/jruby/runtime/Block;
1 9 4 runtime Lorg/jruby/Ruby;
2 9 5 i Lorg/jruby/runtime/builtin/IRubyObject;
3 9 6 one Lorg/jruby/RubyFixnum;
MethodParameters:
Name Flags
context
from
to
block
private static org.jruby.RubyEnumerator$SizeFn uptoSize(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: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic size(Lorg/jruby/runtime/builtin/IRubyObject;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/RubyInteger.lambda$0(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; (6)
(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 from Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 to Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
from final
to final
public org.jruby.runtime.builtin.IRubyObject downto(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=4, 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
ifeq 6
1: aload 0
instanceof org.jruby.RubyFixnum
ifeq 4
aload 2
instanceof org.jruby.RubyFixnum
ifeq 4
2: aload 1
aload 0
checkcast org.jruby.RubyFixnum
getfield org.jruby.RubyFixnum.value:J
aload 2
checkcast org.jruby.RubyFixnum
getfield org.jruby.RubyFixnum.value:J
aload 3
invokestatic org.jruby.RubyInteger.fixnumDownto:(Lorg/jruby/runtime/ThreadContext;JJLorg/jruby/runtime/Block;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 2
aload 3
invokestatic org.jruby.RubyInteger.duckDownto:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)V
5: StackMap locals:
StackMap stack:
aload 0
areturn
6: StackMap locals:
StackMap stack:
aload 1
aload 0
ldc "downto"
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aastore
aload 0
aload 2
invokestatic org.jruby.RubyInteger.downToSize:(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
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubyInteger;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 to Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
to
block
private static void fixnumDownto(org.jruby.runtime.ThreadContext, long, long, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;JJLorg/jruby/runtime/Block;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 5
invokevirtual org.jruby.runtime.Block.getSignature:()Lorg/jruby/runtime/Signature;
getstatic org.jruby.runtime.Signature.NO_ARGUMENTS:Lorg/jruby/runtime/Signature;
if_acmpne 10
1: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 2: lload 1
lstore 7
start local 7 3: goto 6
4: StackMap locals: org.jruby.runtime.builtin.IRubyObject long
StackMap stack:
aload 5
aload 0
aload 6
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
5: lload 7
lconst_1
lsub
lstore 7
StackMap locals:
StackMap stack:
6: lload 7
lload 3
lcmp
ifgt 4
7: lload 7
lload 3
lcmp
iflt 18
8: aload 5
aload 0
aload 6
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 7 end local 6 9: goto 18
10: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 6
start local 6 11: lload 1
lstore 7
start local 7 12: goto 15
13: StackMap locals: org.jruby.Ruby long
StackMap stack:
aload 5
aload 0
aload 6
lload 7
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
14: lload 7
lconst_1
lsub
lstore 7
StackMap locals:
StackMap stack:
15: lload 7
lload 3
lcmp
ifgt 13
16: lload 7
lload 3
lcmp
iflt 18
17: aload 5
aload 0
aload 6
lload 7
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 7 end local 6 18: StackMap locals:
StackMap stack:
return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 context Lorg/jruby/runtime/ThreadContext;
0 19 1 from J
0 19 3 to J
0 19 5 block Lorg/jruby/runtime/Block;
2 9 6 nil Lorg/jruby/runtime/builtin/IRubyObject;
3 9 7 i J
11 18 6 runtime Lorg/jruby/Ruby;
12 18 7 i J
MethodParameters:
Name Flags
context
from
to
block
private static void duckDownto(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
astore 4
start local 4 1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 5
start local 5 2: StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.RubyFixnum
StackMap stack:
aload 0
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_lt:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 0
aload 4
aload 4
aload 2
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 4
3: goto 7
4: StackMap locals:
StackMap stack:
aload 3
aload 0
aload 4
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
5: aload 0
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_minus:Lorg/jruby/runtime/CallSite;
aload 0
aload 4
aload 4
aload 5
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
6: goto 2
7: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 context Lorg/jruby/runtime/ThreadContext;
0 8 1 from Lorg/jruby/runtime/builtin/IRubyObject;
0 8 2 to Lorg/jruby/runtime/builtin/IRubyObject;
0 8 3 block Lorg/jruby/runtime/Block;
1 8 4 i Lorg/jruby/runtime/builtin/IRubyObject;
2 8 5 one Lorg/jruby/RubyFixnum;
MethodParameters:
Name Flags
context
from
to
block
private static org.jruby.RubyEnumerator$SizeFn downToSize(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: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic size(Lorg/jruby/runtime/builtin/IRubyObject;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/RubyInteger.lambda$1(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; (6)
(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 from Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 to Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
from final
to final
public org.jruby.runtime.builtin.IRubyObject times(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)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 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 10
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 2: aload 3
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 4
start local 4 3: aload 3
invokestatic org.jruby.RubyFixnum.one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 5
start local 5 4: StackMap locals: org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.RubyFixnum
StackMap stack:
aload 1
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_lt:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 1
aload 4
aload 4
aload 0
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
ifne 6
5: goto 9
6: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 4
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
7: aload 1
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_plus:Lorg/jruby/runtime/CallSite;
aload 1
aload 4
aload 4
aload 5
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
8: goto 4
9: StackMap locals:
StackMap stack:
aload 0
areturn
end local 5 end local 4 end local 3 10: StackMap locals:
StackMap stack:
aload 1
aload 0
ldc "times"
aload 0
invokevirtual org.jruby.RubyInteger.timesSizeFn:()Lorg/jruby/RubyEnumerator$SizeFn;
invokestatic org.jruby.RubyEnumerator.enumeratorizeWithSize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/RubyInteger;
0 11 1 context Lorg/jruby/runtime/ThreadContext;
0 11 2 block Lorg/jruby/runtime/Block;
2 10 3 runtime Lorg/jruby/Ruby;
3 10 4 i Lorg/jruby/runtime/builtin/IRubyObject;
4 10 5 one Lorg/jruby/RubyFixnum;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
block
protected org.jruby.RubyEnumerator$SizeFn timesSizeFn();
descriptor: ()Lorg/jruby/RubyEnumerator$SizeFn;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic size(Lorg/jruby/RubyInteger;)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/RubyInteger.lambda$2(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 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
public org.jruby.runtime.builtin.IRubyObject succ(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 0
instanceof org.jruby.RubyFixnum
ifeq 2
1: aload 0
checkcast org.jruby.RubyFixnum
aload 1
invokevirtual org.jruby.RubyFixnum.op_plus_one:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.jruby.RubyBignum
ifeq 4
3: aload 0
checkcast org.jruby.RubyBignum
aload 1
lconst_1
invokevirtual org.jruby.RubyBignum.op_plus:(Lorg/jruby/runtime/ThreadContext;J)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 1
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_plus:Lorg/jruby/runtime/CallSite;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokestatic org.jruby.RubyInteger.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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyInteger;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"succ", "next"})
MethodParameters:
Name Flags
context
static org.jruby.util.ByteList singleCharByteList(byte);
descriptor: (B)Lorg/jruby/util/ByteList;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.jruby.RubyInteger.SINGLE_CHAR_BYTELISTS:[Lorg/jruby/util/ByteList;
iload 0
sipush 255
iand
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 index B
MethodParameters:
Name Flags
index final
public org.jruby.RubyString chr(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, 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 0
invokevirtual org.jruby.RubyInteger.getLongValue:()J
ldc 4294967295
land
lstore 3
start local 3 2: lload 3
l2i
istore 5
start local 5 3: lload 3
ldc 255
lcmp
ifle 8
4: aload 2
invokevirtual org.jruby.Ruby.getDefaultInternalEncoding:()Lorg/jcodings/Encoding;
astore 6
start local 6 5: aload 6
ifnonnull 7
6: aload 2
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.jruby.RubyInteger.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " out of char range"
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
7: StackMap locals: org.jruby.RubyInteger org.jruby.runtime.ThreadContext org.jruby.Ruby long int org.jcodings.Encoding
StackMap stack:
aload 0
aload 1
iload 5
i2l
aload 6
invokevirtual org.jruby.RubyInteger.chrCommon:(Lorg/jruby/runtime/ThreadContext;JLorg/jcodings/Encoding;)Lorg/jruby/RubyString;
areturn
end local 6 8: StackMap locals:
StackMap stack:
aload 2
getstatic org.jruby.RubyInteger.SINGLE_CHAR_BYTELISTS:[Lorg/jruby/util/ByteList;
iload 5
aaload
invokestatic org.jruby.RubyString.newStringShared:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/RubyInteger;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
1 9 2 runtime Lorg/jruby/Ruby;
2 9 3 i J
3 9 5 c I
5 8 6 enc Lorg/jcodings/Encoding;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"chr"})
MethodParameters:
Name Flags
context
public final org.jruby.RubyString chr19(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyString;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.RubyInteger.chr:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
public org.jruby.RubyString chr(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 0
invokevirtual org.jruby.RubyInteger.getLongValue:()J
ldc 4294967295
land
lstore 4
start local 4 2: aload 2
instanceof org.jruby.RubyEncoding
ifeq 5
3: aload 2
checkcast org.jruby.RubyEncoding
invokevirtual org.jruby.RubyEncoding.getEncoding:()Lorg/jcodings/Encoding;
astore 6
start local 6 4: goto 6
end local 6 5: StackMap locals: org.jruby.Ruby long
StackMap stack:
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
aload 3
invokevirtual org.jruby.RubyString.toEncoding:(Lorg/jruby/Ruby;)Lorg/jcodings/Encoding;
astore 6
start local 6 6: StackMap locals: org.jcodings.Encoding
StackMap stack:
aload 0
aload 1
lload 4
aload 6
invokevirtual org.jruby.RubyInteger.chrCommon:(Lorg/jruby/runtime/ThreadContext;JLorg/jcodings/Encoding;)Lorg/jruby/RubyString;
areturn
end local 6 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/RubyInteger;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
1 7 3 runtime Lorg/jruby/Ruby;
2 7 4 i J
4 5 6 enc Lorg/jcodings/Encoding;
6 7 6 enc Lorg/jcodings/Encoding;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"chr"})
MethodParameters:
Name Flags
context
arg
public org.jruby.RubyString chr19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
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.RubyInteger.chr:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
arg
private org.jruby.RubyString chrCommon(org.jruby.runtime.ThreadContext, long, org.jcodings.Encoding);
descriptor: (Lorg/jruby/runtime/ThreadContext;JLorg/jcodings/Encoding;)Lorg/jruby/RubyString;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: lload 2
ldc 4294967295
lcmp
ifle 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " out of char range"
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:
lload 2
l2i
istore 5
start local 5 3: aload 4
ifnonnull 4
getstatic org.jcodings.specific.ASCIIEncoding.INSTANCE:Lorg/jcodings/specific/ASCIIEncoding;
astore 4
4: StackMap locals: int
StackMap stack:
aload 1
iload 5
aload 4
invokestatic org.jruby.util.io.EncodingUtils.encUintChr:(Lorg/jruby/runtime/ThreadContext;ILorg/jcodings/Encoding;)Lorg/jruby/RubyString;
areturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyInteger;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 value J
0 5 4 enc Lorg/jcodings/Encoding;
3 5 5 c I
MethodParameters:
Name Flags
context
value
enc
public org.jruby.runtime.builtin.IRubyObject ord(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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ord"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject to_i();
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/RubyInteger;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_i", "to_int"})
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=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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ceil"})
MethodParameters:
Name Flags
context
public abstract org.jruby.runtime.builtin.IRubyObject ceil(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ceil"}, required = 1)
MethodParameters:
Name Flags
context
arg
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=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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"floor"})
MethodParameters:
Name Flags
context
public abstract org.jruby.runtime.builtin.IRubyObject floor(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"floor"}, required = 1)
MethodParameters:
Name Flags
context
arg
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=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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"truncate"})
MethodParameters:
Name Flags
context
public abstract org.jruby.runtime.builtin.IRubyObject truncate(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"truncate"}, required = 1)
MethodParameters:
Name Flags
context
arg
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=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/RubyInteger;
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 round(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 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyInteger.round:(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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 _digits Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"round"})
MethodParameters:
Name Flags
context
_digits
public org.jruby.runtime.builtin.IRubyObject round(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: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, 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 4
aload 3
invokestatic org.jruby.ast.util.ArgsUtil.getOptionsArg:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 2: aload 2
invokestatic org.jruby.RubyInteger.num2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
istore 6
start local 6 3: aload 1
aload 5
invokestatic org.jruby.RubyInteger.getRoundingMode:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/math/RoundingMode;
astore 7
start local 7 4: iload 6
iflt 6
5: aload 0
areturn
6: StackMap locals: org.jruby.RubyInteger org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject int java.math.RoundingMode
StackMap stack:
aload 0
aload 1
iload 6
aload 7
invokevirtual org.jruby.RubyInteger.roundShared:(Lorg/jruby/runtime/ThreadContext;ILjava/math/RoundingMode;)Lorg/jruby/RubyNumeric;
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 7 0 this Lorg/jruby/RubyInteger;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 digits Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 _opts Lorg/jruby/runtime/builtin/IRubyObject;
1 7 4 runtime Lorg/jruby/Ruby;
2 7 5 opts Lorg/jruby/runtime/builtin/IRubyObject;
3 7 6 ndigits I
4 7 7 roundingMode Ljava/math/RoundingMode;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"round"})
MethodParameters:
Name Flags
context
digits
_opts
public org.jruby.runtime.builtin.IRubyObject round(org.jruby.runtime.ThreadContext, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;I)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
iload 2
getstatic java.math.RoundingMode.HALF_UP:Ljava/math/RoundingMode;
invokevirtual org.jruby.RubyInteger.roundShared:(Lorg/jruby/runtime/ThreadContext;ILjava/math/RoundingMode;)Lorg/jruby/RubyNumeric;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 ndigits I
MethodParameters:
Name Flags
context
ndigits
public org.jruby.RubyNumeric roundShared(org.jruby.runtime.ThreadContext, int, java.math.RoundingMode);
descriptor: (Lorg/jruby/runtime/ThreadContext;ILjava/math/RoundingMode;)Lorg/jruby/RubyNumeric;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=14, 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 0
aload 1
iload 2
invokevirtual org.jruby.RubyInteger.int_round_zero_p:(Lorg/jruby/runtime/ThreadContext;I)Z
ifeq 3
2: aload 4
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 1
ldc 10
iload 2
ineg
i2l
invokestatic org.jruby.util.Numeric.int_pow:(Lorg/jruby/runtime/ThreadContext;JJ)Lorg/jruby/RubyNumeric;
astore 5
start local 5 4: aload 0
instanceof org.jruby.RubyFixnum
ifeq 14
aload 5
instanceof org.jruby.RubyFixnum
ifeq 14
5: aload 0
invokestatic org.jruby.RubyInteger.fix2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
lstore 9
start local 9 6: aload 5
invokestatic org.jruby.RubyInteger.fix2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
lstore 11
start local 11 7: lload 9
lconst_0
lcmp
ifge 8
iconst_1
goto 9
StackMap locals: org.jruby.RubyInteger org.jruby.runtime.ThreadContext int java.math.RoundingMode org.jruby.Ruby org.jruby.RubyNumeric top top top long long
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 13
start local 13 10: iload 13
ifeq 11
lload 9
lneg
lstore 9
11: StackMap locals: int
StackMap stack:
aload 1
aload 3
lload 9
lload 11
invokestatic org.jruby.RubyInteger.doRound:(Lorg/jruby/runtime/ThreadContext;Ljava/math/RoundingMode;JJ)J
lstore 9
12: iload 13
ifeq 13
lload 9
lneg
lstore 9
13: StackMap locals:
StackMap stack:
aload 4
lload 9
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
areturn
end local 13 end local 11 end local 9 14: StackMap locals: org.jruby.RubyInteger org.jruby.runtime.ThreadContext int java.math.RoundingMode org.jruby.Ruby org.jruby.RubyNumeric
StackMap stack:
aload 5
instanceof org.jruby.RubyFloat
ifeq 16
15: aload 4
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
16: StackMap locals:
StackMap stack:
aload 5
aload 1
ldc 2
invokevirtual org.jruby.RubyNumeric.idiv:(Lorg/jruby/runtime/ThreadContext;J)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyNumeric
astore 6
start local 6 17: aload 0
aload 1
aload 5
invokevirtual org.jruby.RubyInteger.op_mod:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyNumeric
astore 8
start local 8 18: aload 0
aload 1
aload 8
invokevirtual org.jruby.RubyInteger.op_minus:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyNumeric
astore 7
start local 7 19: aload 8
aload 1
aload 6
invokevirtual org.jruby.RubyNumeric.op_cmp:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyNumeric
astore 8
20: aload 8
aload 1
invokevirtual org.jruby.RubyNumeric.isPositive:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifne 22
21: aload 8
invokevirtual org.jruby.RubyNumeric.isZero:()Z
ifeq 23
aload 1
aload 3
aload 0
aload 7
aload 5
invokestatic org.jruby.RubyInteger.doRoundCheck:(Lorg/jruby/runtime/ThreadContext;Ljava/math/RoundingMode;Lorg/jruby/RubyInteger;Lorg/jruby/RubyNumeric;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 23
22: StackMap locals: org.jruby.RubyNumeric org.jruby.RubyNumeric org.jruby.RubyNumeric
StackMap stack:
aload 7
aload 1
aload 5
invokevirtual org.jruby.RubyNumeric.op_plus:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyNumeric
astore 7
23: StackMap locals:
StackMap stack:
aload 7
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/jruby/RubyInteger;
0 24 1 context Lorg/jruby/runtime/ThreadContext;
0 24 2 ndigits I
0 24 3 roundingMode Ljava/math/RoundingMode;
1 24 4 runtime Lorg/jruby/Ruby;
4 24 5 f Lorg/jruby/RubyNumeric;
17 24 6 h Lorg/jruby/RubyNumeric;
19 24 7 n Lorg/jruby/RubyNumeric;
18 24 8 r Lorg/jruby/RubyNumeric;
6 14 9 x J
7 14 11 y J
10 14 13 neg Z
MethodParameters:
Name Flags
context
ndigits
roundingMode
private static long doRound(org.jruby.runtime.ThreadContext, java.math.RoundingMode, long, long);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/math/RoundingMode;JJ)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: invokestatic org.jruby.RubyInteger.$SWITCH_TABLE$java$math$RoundingMode:()[I
aload 1
invokevirtual java.math.RoundingMode.ordinal:()I
iaload
tableswitch { // 5 - 7
5: 1
6: 2
7: 3
default: 4
}
1: StackMap locals:
StackMap stack:
lload 2
lload 4
invokestatic org.jruby.RubyInteger.int_round_half_up:(JJ)J
lreturn
2: StackMap locals:
StackMap stack:
lload 2
lload 4
invokestatic org.jruby.RubyInteger.int_round_half_down:(JJ)J
lreturn
3: StackMap locals:
StackMap stack:
lload 2
lload 4
invokestatic org.jruby.RubyInteger.int_round_half_even:(JJ)J
lreturn
4: StackMap locals:
StackMap stack:
aload 0
5: 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 1
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 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 context Lorg/jruby/runtime/ThreadContext;
0 6 1 roundingMode Ljava/math/RoundingMode;
0 6 2 n J
0 6 4 f J
MethodParameters:
Name Flags
context
roundingMode
n
f
private static boolean doRoundCheck(org.jruby.runtime.ThreadContext, java.math.RoundingMode, org.jruby.RubyInteger, org.jruby.RubyNumeric, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/math/RoundingMode;Lorg/jruby/RubyInteger;Lorg/jruby/RubyNumeric;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic org.jruby.RubyInteger.$SWITCH_TABLE$java$math$RoundingMode:()[I
aload 1
invokevirtual java.math.RoundingMode.ordinal:()I
iaload
tableswitch { // 5 - 7
5: 1
6: 2
7: 3
default: 4
}
1: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
aload 4
invokestatic org.jruby.RubyInteger.int_half_p_half_up:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyNumeric;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
aload 4
invokestatic org.jruby.RubyInteger.int_half_p_half_down:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyNumeric;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
aload 4
invokestatic org.jruby.RubyInteger.int_half_p_half_even:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyNumeric;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ireturn
4: StackMap locals:
StackMap stack:
aload 0
5: 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 1
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 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 context Lorg/jruby/runtime/ThreadContext;
0 6 1 roundingMode Ljava/math/RoundingMode;
0 6 2 num Lorg/jruby/RubyInteger;
0 6 3 n Lorg/jruby/RubyNumeric;
0 6 4 f Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
roundingMode
num
n
f
protected boolean int_round_zero_p(org.jruby.runtime.ThreadContext, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.size: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;
invokestatic org.jruby.RubyInteger.num2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
lstore 3
start local 3 1: ldc -0.415241
iload 2
i2d
dmul
ldc 0.125
dsub
lload 3
l2d
dcmpl
ifle 2
iconst_1
ireturn
StackMap locals: long
StackMap stack:
2: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyInteger;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 ndigits I
1 3 3 bytes J
MethodParameters:
Name Flags
context
ndigits
protected static long int_round_half_even(long, long);
descriptor: (JJ)J
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 2 0: lload 0
lload 2
ldc 2
ldiv
ladd
lload 2
ldiv
lstore 4
start local 4 1: lload 4
lload 2
lmul
lload 0
lsub
ldc 2
lmul
lload 2
lcmp
ifne 3
2: lload 4
ldc -2
land
lstore 4
3: StackMap locals: long
StackMap stack:
lload 4
lload 2
lmul
lreturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 x J
0 4 2 y J
1 4 4 z J
MethodParameters:
Name Flags
x
y
protected static long int_round_half_up(long, long);
descriptor: (JJ)J
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 2 0: lload 0
lload 2
ldc 2
ldiv
ladd
lload 2
ldiv
lload 2
lmul
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x J
0 1 2 y J
MethodParameters:
Name Flags
x
y
protected static long int_round_half_down(long, long);
descriptor: (JJ)J
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 2 0: lload 0
lload 2
ldc 2
ldiv
ladd
lconst_1
lsub
lload 2
ldiv
lload 2
lmul
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x J
0 1 2 y J
MethodParameters:
Name Flags
x
y
protected static boolean int_half_p_half_even(org.jruby.runtime.ThreadContext, org.jruby.RubyInteger, org.jruby.RubyNumeric, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyNumeric;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 0
aload 3
invokevirtual org.jruby.RubyNumeric.div:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
aload 0
invokevirtual org.jruby.RubyInteger.odd_p:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyBoolean;
invokevirtual org.jruby.RubyBoolean.isTrue:()Z
ireturn
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 num Lorg/jruby/RubyInteger;
0 1 2 n Lorg/jruby/RubyNumeric;
0 1 3 f Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
num
n
f
protected static boolean int_half_p_half_up(org.jruby.runtime.ThreadContext, org.jruby.RubyInteger, org.jruby.RubyNumeric, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyNumeric;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
invokevirtual org.jruby.RubyInteger.isPositive:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
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 num Lorg/jruby/RubyInteger;
0 1 2 n Lorg/jruby/RubyNumeric;
0 1 3 f Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
num
n
f
protected static boolean int_half_p_half_down(org.jruby.runtime.ThreadContext, org.jruby.RubyInteger, org.jruby.RubyNumeric, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyNumeric;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
invokevirtual org.jruby.RubyInteger.isNegative:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
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 num Lorg/jruby/RubyInteger;
0 1 2 n Lorg/jruby/RubyNumeric;
0 1 3 f Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
num
n
f
public org.jruby.runtime.builtin.IRubyObject to_r(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.RubyRational.newRationalCanonicalize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;)Lorg/jruby/RubyNumeric;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_r"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject rationalize(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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.jruby.RubyInteger.to_r:(Lorg/jruby/runtime/ThreadContext;)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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"rationalize"}, optional = 1)
MethodParameters:
Name Flags
context
args
public org.jruby.RubyBoolean odd_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic org.jruby.RubyInteger.op_mod_two:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;)J
lconst_0
lcmp
ifeq 1
aload 1
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
StackMap locals:
StackMap stack: org.jruby.RubyBoolean
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyInteger;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"odd?"})
MethodParameters:
Name Flags
context
public org.jruby.RubyBoolean even_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic org.jruby.RubyInteger.op_mod_two:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;)J
lconst_0
lcmp
ifne 1
aload 1
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
StackMap locals:
StackMap stack: org.jruby.RubyBoolean
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyInteger;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"even?"})
MethodParameters:
Name Flags
context
private static long op_mod_two(org.jruby.runtime.ThreadContext, org.jruby.RubyInteger);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_mod:Lorg/jruby/runtime/CallSite;
aload 0
aload 1
aload 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.two:(Lorg/jruby/Ruby;)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;
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.getLongValue:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 self Lorg/jruby/RubyInteger;
MethodParameters:
Name Flags
context
self
public org.jruby.runtime.builtin.IRubyObject allbits_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=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.jruby.util.TypeConverter.checkIntegerType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokevirtual org.jruby.RubyInteger.op_and:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyInteger
aload 1
aload 3
invokevirtual org.jruby.RubyInteger.op_equal:(Lorg/jruby/runtime/ThreadContext;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/RubyInteger;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 mask Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"allbits?"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject anybits_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=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.jruby.util.TypeConverter.checkIntegerType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokevirtual org.jruby.RubyInteger.op_and:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyInteger
aload 1
invokevirtual org.jruby.RubyInteger.zero_p:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 2
aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
2: aload 1
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
StackMap locals:
StackMap stack: org.jruby.RubyBoolean
3: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyInteger;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 4 3 mask Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"anybits?"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject nobits_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=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.jruby.util.TypeConverter.checkIntegerType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokevirtual org.jruby.RubyInteger.op_and:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyInteger
aload 1
invokevirtual org.jruby.RubyInteger.zero_p:(Lorg/jruby/runtime/ThreadContext;)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/RubyInteger;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 mask Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"nobits?"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject pred(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
aload 0
aload 1
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_minus:Lorg/jruby/runtime/CallSite;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokestatic org.jruby.RubyInteger.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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"pred"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject gcd(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 1
aload 0
aload 1
aload 2
invokestatic org.jruby.RubyInteger.intValue:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyInteger;
invokestatic org.jruby.util.Numeric.f_gcd:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyInteger;)Lorg/jruby/RubyInteger;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"gcd"})
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=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.RubyInteger.fdivDouble:(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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 y Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"fdiv"})
MethodParameters:
Name Flags
context
y
public abstract org.jruby.runtime.builtin.IRubyObject fdivDouble(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
context
y
public org.jruby.runtime.builtin.IRubyObject lcm(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 1
aload 0
aload 1
aload 2
invokestatic org.jruby.RubyInteger.intValue:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyInteger;
invokestatic org.jruby.util.Numeric.f_lcm:(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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"lcm"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject gcdlcm(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 1
aload 2
invokestatic org.jruby.RubyInteger.intValue:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyInteger;
astore 3
start local 3 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 0
aload 3
invokestatic org.jruby.util.Numeric.f_gcd:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyInteger;)Lorg/jruby/RubyInteger;
aload 1
aload 0
aload 3
invokestatic org.jruby.util.Numeric.f_lcm:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;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 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyInteger;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 otherInt Lorg/jruby/RubyInteger;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"gcdlcm"})
MethodParameters:
Name Flags
context
other
static org.jruby.RubyInteger intValue(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyInteger;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.RubyInteger.toInteger:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyInteger;
dup
astore 2
start local 2 1: ifnonnull 3
2: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "not an integer"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.RubyInteger
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 num Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 i Lorg/jruby/RubyInteger;
MethodParameters:
Name Flags
context
num
static org.jruby.RubyInteger toInteger(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyInteger;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyInteger
ifeq 1
aload 1
checkcast org.jruby.RubyInteger
areturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyNumeric
ifeq 3
aload 0
invokestatic org.jruby.RubyInteger.integer_p:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/CallSite;
aload 0
aload 1
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;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifne 3
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyString
ifeq 4
aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 0
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.to_i_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokeinterface org.jruby.runtime.builtin.IRubyObject.checkCallMethod:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyInteger
areturn
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;
MethodParameters:
Name Flags
context
num
public org.jruby.RubyArray digits(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc 10
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.RubyInteger.digits:(Lorg/jruby/runtime/ThreadContext;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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"digits"})
MethodParameters:
Name Flags
context
public abstract org.jruby.RubyArray digits(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"digits"})
MethodParameters:
Name Flags
context
base
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=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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
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=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.one:(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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"denominator"})
MethodParameters:
Name Flags
context
public abstract org.jruby.RubyString to_s();
descriptor: ()Lorg/jruby/RubyString;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_s", "inspect"})
public abstract org.jruby.RubyString to_s(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_s"})
MethodParameters:
Name Flags
x
public abstract org.jruby.runtime.builtin.IRubyObject op_uminus(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"-@"})
MethodParameters:
Name Flags
context
public abstract 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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"+"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject op_plus(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.RubyInteger.op_plus:(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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other J
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_minus(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"-"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject op_minus(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.RubyInteger.op_minus:(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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other J
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_mul(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"*"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject op_mul(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.RubyInteger.op_mul:(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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other J
MethodParameters:
Name Flags
context
other
public abstract 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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"div"})
MethodParameters:
Name Flags
context
other
public final org.jruby.runtime.builtin.IRubyObject div_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: (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.RubyInteger.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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"/"})
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_mod(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"%", "modulo"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject op_mod(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.RubyInteger.op_mod:(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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other J
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_pow(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"**"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject pow(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
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_pow: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;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"pow"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject pow(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: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, 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: iconst_0
istore 5
start local 5 2: aload 2
instanceof org.jruby.RubyInteger
ifne 4
3: aload 4
ldc "Integer#pow() 2nd argument not allowed unless a 1st argument is integer"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
4: StackMap locals: org.jruby.Ruby int
StackMap stack:
aload 2
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.isNegative:()Z
ifeq 6
5: aload 4
ldc "Integer#pow() 1st argument cannot be negative when 2nd argument specified"
invokevirtual org.jruby.Ruby.newRangeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
6: StackMap locals:
StackMap stack:
aload 3
instanceof org.jruby.RubyInteger
ifne 8
7: aload 4
ldc "Integer#pow() 2nd argument not allowed unless all arguments are integers"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
8: StackMap locals:
StackMap stack:
aload 3
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.isNegative:()Z
ifeq 11
9: aload 3
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.negate:()Lorg/jruby/RubyInteger;
astore 3
10: iconst_1
istore 5
11: StackMap locals:
StackMap stack:
aload 3
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.isPositive:()Z
ifne 12
aload 4
invokevirtual org.jruby.Ruby.newZeroDivisionError:()Lorg/jruby/exceptions/RaiseException;
athrow
12: StackMap locals:
StackMap stack:
aload 3
instanceof org.jruby.RubyFixnum
ifeq 18
13: aload 3
checkcast org.jruby.RubyFixnum
getfield org.jruby.RubyFixnum.value:J
lstore 6
start local 6 14: aload 0
aload 1
aload 3
invokevirtual org.jruby.RubyInteger.modulo:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyFixnum
astore 8
start local 8 15: lload 6
ldc 2147483648
lcmp
ifgt 17
16: aload 8
aload 1
aload 2
checkcast org.jruby.RubyInteger
lload 6
iload 5
invokevirtual org.jruby.RubyFixnum.intPowTmp1:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;JZ)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
17: StackMap locals: long org.jruby.RubyFixnum
StackMap stack:
aload 8
aload 1
aload 2
checkcast org.jruby.RubyInteger
lload 6
iload 5
invokevirtual org.jruby.RubyFixnum.intPowTmp2:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;JZ)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 8 end local 6 18: StackMap locals:
StackMap stack:
aload 3
instanceof org.jruby.RubyBignum
ifeq 20
19: aload 0
aload 1
aload 3
invokevirtual org.jruby.RubyInteger.modulo:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyInteger
aload 1
aload 2
checkcast org.jruby.RubyInteger
aload 3
checkcast org.jruby.RubyBignum
iload 5
invokevirtual org.jruby.RubyInteger.intPowTmp3:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyBignum;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
20: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "BUG: unexpected type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.getType:()Lorg/jruby/RubyClass;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
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 this Lorg/jruby/RubyInteger;
0 21 1 context Lorg/jruby/runtime/ThreadContext;
0 21 2 b Lorg/jruby/runtime/builtin/IRubyObject;
0 21 3 m Lorg/jruby/runtime/builtin/IRubyObject;
1 21 4 runtime Lorg/jruby/Ruby;
2 21 5 negaFlg Z
14 18 6 mm J
15 18 8 modulo Lorg/jruby/RubyFixnum;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"pow"})
MethodParameters:
Name Flags
context
b
m
protected org.jruby.runtime.builtin.IRubyObject intPowTmp3(org.jruby.runtime.ThreadContext, org.jruby.RubyInteger, org.jruby.RubyBignum, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyBignum;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual org.jruby.RubyInteger.getBigIntegerValue:()Ljava/math/BigInteger;
astore 5
start local 5 1: aload 2
invokevirtual org.jruby.RubyInteger.getBigIntegerValue:()Ljava/math/BigInteger;
astore 6
start local 6 2: aload 3
invokevirtual org.jruby.RubyBignum.getBigIntegerValue:()Ljava/math/BigInteger;
astore 7
start local 7 3: aload 5
aload 6
aload 7
invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 8
start local 8 4: iload 4
aload 8
invokevirtual java.math.BigInteger.signum:()I
iconst_1
if_icmpne 5
iconst_1
goto 6
StackMap locals: org.jruby.RubyInteger org.jruby.runtime.ThreadContext org.jruby.RubyInteger org.jruby.RubyBignum int java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger
StackMap stack: int
5: iconst_0
StackMap locals: org.jruby.RubyInteger org.jruby.runtime.ThreadContext org.jruby.RubyInteger org.jruby.RubyBignum int java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger
StackMap stack: int int
6: iand
ifeq 8
7: aload 8
invokevirtual java.math.BigInteger.negate:()Ljava/math/BigInteger;
astore 8
8: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 8
invokestatic org.jruby.RubyBignum.bignorm:(Lorg/jruby/Ruby;Ljava/math/BigInteger;)Lorg/jruby/RubyInteger;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/RubyInteger;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 y Lorg/jruby/RubyInteger;
0 9 3 m Lorg/jruby/RubyBignum;
0 9 4 negaFlg Z
1 9 5 xn Ljava/math/BigInteger;
2 9 6 yn Ljava/math/BigInteger;
3 9 7 mn Ljava/math/BigInteger;
4 9 8 zn Ljava/math/BigInteger;
MethodParameters:
Name Flags
context
y
m
negaFlg
public abstract org.jruby.runtime.builtin.IRubyObject abs(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
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.RubyInteger.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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"magnitude"})
MethodParameters:
Name Flags
context
public abstract org.jruby.runtime.builtin.IRubyObject op_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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"==", "==="})
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_cmp(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<=>"})
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_neg(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"~"})
MethodParameters:
Name Flags
context
public abstract org.jruby.runtime.builtin.IRubyObject op_and(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"&"})
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_or(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"|"})
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_xor(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"^"})
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_aref(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"[]"})
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_lshift(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<<"})
MethodParameters:
Name Flags
context
other
public org.jruby.RubyInteger op_lshift(org.jruby.runtime.ThreadContext, long);
descriptor: (Lorg/jruby/runtime/ThreadContext;J)Lorg/jruby/RubyInteger;
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.RubyInteger.op_lshift:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyInteger
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other J
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject op_rshift(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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {">>"})
MethodParameters:
Name Flags
context
other
public org.jruby.RubyInteger op_rshift(org.jruby.runtime.ThreadContext, long);
descriptor: (Lorg/jruby/runtime/ThreadContext;J)Lorg/jruby/RubyInteger;
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.RubyInteger.op_rshift:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyInteger
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other J
MethodParameters:
Name Flags
context
other
public abstract org.jruby.runtime.builtin.IRubyObject to_f(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_f"})
MethodParameters:
Name Flags
context
public abstract org.jruby.runtime.builtin.IRubyObject size(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"size"})
MethodParameters:
Name Flags
context
public abstract org.jruby.runtime.builtin.IRubyObject zero_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"zero?"})
MethodParameters:
Name Flags
context
public abstract org.jruby.runtime.builtin.IRubyObject bit_length(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"bit_length"})
MethodParameters:
Name Flags
context
boolean isOne();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyInteger.getBigIntegerValue:()Ljava/math/BigInteger;
getstatic java.math.BigInteger.ONE:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
public org.jruby.runtime.builtin.IRubyObject op_gt(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.RubyComparable.op_gt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {">"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject op_lt(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.RubyComparable.op_lt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject op_ge(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.RubyComparable.op_ge:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {">="})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject op_le(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.RubyComparable.op_le:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<="})
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: 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 1 0 this Lorg/jruby/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 dividend Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"remainder"})
MethodParameters:
Name Flags
context
dividend
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: 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 1 0 this Lorg/jruby/RubyInteger;
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 op_uminus();
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.RubyInteger.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyInteger.op_uminus:(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/RubyInteger;
public org.jruby.runtime.builtin.IRubyObject op_neg();
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.RubyInteger.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyInteger.to_f:(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/RubyInteger;
public org.jruby.runtime.builtin.IRubyObject op_aref(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)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 0
aload 0
invokevirtual org.jruby.RubyInteger.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokevirtual org.jruby.RubyInteger.op_aref:(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/RubyInteger;
0 1 1 other Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
other
public org.jruby.runtime.builtin.IRubyObject op_lshift(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)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 0
aload 0
invokevirtual org.jruby.RubyInteger.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokevirtual org.jruby.RubyInteger.op_lshift:(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/RubyInteger;
0 1 1 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
other
public org.jruby.runtime.builtin.IRubyObject op_rshift(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)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 0
aload 0
invokevirtual org.jruby.RubyInteger.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokevirtual org.jruby.RubyInteger.op_rshift:(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/RubyInteger;
0 1 1 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
other
public org.jruby.runtime.builtin.IRubyObject to_f();
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.RubyInteger.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyInteger.to_f:(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/RubyInteger;
public org.jruby.runtime.builtin.IRubyObject size();
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.RubyInteger.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyInteger.size:(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/RubyInteger;
private static org.jruby.runtime.CallSite integer_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/CallSite;
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;
getfield org.jruby.runtime.JavaSites$NumericSites.integer:Lorg/jruby/runtime/CallSite;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
private static org.jruby.runtime.JavaSites$IntegerSites sites(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
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.Integer:Lorg/jruby/runtime/JavaSites$IntegerSites;
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.runtime.builtin.IRubyObject induced_from(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyFixnum
ifne 1
aload 2
instanceof org.jruby.RubyBignum
ifeq 2
1: StackMap locals:
StackMap stack:
aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyFloat
ifne 3
aload 2
instanceof org.jruby.RubyRational
ifeq 4
3: StackMap locals:
StackMap stack:
aload 2
aload 0
ldc "to_i"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
5: new java.lang.StringBuilder
dup
ldc "failed to convert "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " into Integer"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: 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 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
recv
other
public org.jruby.runtime.builtin.IRubyObject round();
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/RubyInteger;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public org.jruby.runtime.builtin.IRubyObject ceil();
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/RubyInteger;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public org.jruby.runtime.builtin.IRubyObject floor();
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/RubyInteger;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public org.jruby.runtime.builtin.IRubyObject truncate();
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/RubyInteger;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public final org.jruby.runtime.builtin.IRubyObject round19();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.RubyInteger.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyInteger.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/RubyInteger;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public final org.jruby.runtime.builtin.IRubyObject round19(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.RubyInteger.round:(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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
arg
public final org.jruby.runtime.builtin.IRubyObject op_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: (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.RubyInteger.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/RubyInteger;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
arg
public org.jruby.runtime.builtin.IRubyObject to_s();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.jruby.RubyInteger.to_s:()Lorg/jruby/RubyString;
areturn
LocalVariableTable:
Start End Slot Name Signature
static int[] $SWITCH_TABLE$java$math$RoundingMode();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.RubyInteger.$SWITCH_TABLE$java$math$RoundingMode:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic java.math.RoundingMode.values:()[Ljava/math/RoundingMode;
arraylength
newarray 10
astore 0
2: aload 0
getstatic java.math.RoundingMode.CEILING:Ljava/math/RoundingMode;
invokevirtual java.math.RoundingMode.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic java.math.RoundingMode.DOWN:Ljava/math/RoundingMode;
invokevirtual java.math.RoundingMode.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic java.math.RoundingMode.FLOOR:Ljava/math/RoundingMode;
invokevirtual java.math.RoundingMode.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic java.math.RoundingMode.HALF_DOWN:Ljava/math/RoundingMode;
invokevirtual java.math.RoundingMode.ordinal:()I
bipush 6
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic java.math.RoundingMode.HALF_EVEN:Ljava/math/RoundingMode;
invokevirtual java.math.RoundingMode.ordinal:()I
bipush 7
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic java.math.RoundingMode.HALF_UP:Ljava/math/RoundingMode;
invokevirtual java.math.RoundingMode.ordinal:()I
iconst_5
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic java.math.RoundingMode.UNNECESSARY:Ljava/math/RoundingMode;
invokevirtual java.math.RoundingMode.ordinal:()I
bipush 8
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic java.math.RoundingMode.UP:Ljava/math/RoundingMode;
invokevirtual java.math.RoundingMode.ordinal:()I
iconst_1
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
dup
putstatic org.jruby.RubyInteger.$SWITCH_TABLE$java$math$RoundingMode:[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
private static org.jruby.runtime.builtin.IRubyObject lambda$0(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=4
start local 2 start local 3 0: aload 2
aload 0
aload 1
aload 2
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
iconst_0
invokestatic org.jruby.RubyInteger.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 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 context Lorg/jruby/runtime/ThreadContext;
0 1 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
private static org.jruby.runtime.builtin.IRubyObject lambda$1(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=4, args_size=4
start local 2 start local 3 0: aload 2
aload 0
aload 1
aload 2
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc -1
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
iconst_0
invokestatic org.jruby.RubyInteger.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 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 context Lorg/jruby/runtime/ThreadContext;
0 1 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
private org.jruby.runtime.builtin.IRubyObject lambda$2(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: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
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 0
instanceof org.jruby.RubyFixnum
ifeq 2
aload 0
invokevirtual org.jruby.RubyInteger.getLongValue:()J
lconst_0
lcmp
iflt 3
2: StackMap locals: org.jruby.RubyFixnum
StackMap stack:
aload 1
invokestatic org.jruby.RubyInteger.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$IntegerSites;
getfield org.jruby.runtime.JavaSites$IntegerSites.op_lt:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 1
aload 0
aload 0
aload 3
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 4
3: StackMap locals:
StackMap stack:
aload 3
areturn
4: StackMap locals:
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/RubyInteger;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 5 3 zero Lorg/jruby/RubyFixnum;
}
SourceFile: "RubyInteger.java"
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
public CheckedSites = org.jruby.runtime.JavaSites$CheckedSites 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
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Integer"}, parent = "Numeric")