public class org.jruby.RubyComplex extends org.jruby.RubyNumeric
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyComplex
super_class: org.jruby.RubyNumeric
{
private static org.jruby.runtime.ObjectAllocator COMPLEX_ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private org.jruby.runtime.builtin.IRubyObject real;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.builtin.IRubyObject image;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
private static boolean canonicalization;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final org.jruby.util.ByteList SEP;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.jruby.util.ByteList _eE;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$jruby$runtime$ClassIndex;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc Lorg/jruby/RubyComplex;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.RubyComplex.$assertionsDisabled:Z
3: new org.jruby.RubyComplex$1
dup
invokespecial org.jruby.RubyComplex$1.<init>:()V
putstatic org.jruby.RubyComplex.COMPLEX_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
4: iconst_0
putstatic org.jruby.RubyComplex.canonicalization:Z
5: getstatic org.jruby.RubyFile.SLASH:Lorg/jruby/util/ByteList;
putstatic org.jruby.RubyComplex.SEP:Lorg/jruby/util/ByteList;
6: new org.jruby.util.ByteList
dup
iconst_3
newarray 8
dup
iconst_0
bipush 46
bastore
dup
iconst_1
bipush 101
bastore
dup
iconst_2
bipush 69
bastore
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BZ)V
putstatic org.jruby.RubyComplex._eE:Lorg/jruby/util/ByteList;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.RubyClass createComplexClass(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: bipush 15
anewarray java.lang.String
dup
iconst_0
1: ldc "<"
aastore
dup
iconst_1
ldc "<="
aastore
dup
iconst_2
ldc "<=>"
aastore
dup
iconst_3
ldc ">"
aastore
dup
iconst_4
ldc ">="
aastore
dup
iconst_5
2: ldc "between?"
aastore
dup
bipush 6
ldc "divmod"
aastore
dup
bipush 7
ldc "floor"
aastore
dup
bipush 8
ldc "ceil"
aastore
dup
bipush 9
ldc "modulo"
aastore
dup
bipush 10
3: ldc "round"
aastore
dup
bipush 11
ldc "step"
aastore
dup
bipush 12
ldc "truncate"
aastore
dup
bipush 13
ldc "positive?"
aastore
dup
bipush 14
ldc "negative?"
aastore
4: astore 1
start local 1 5: aload 0
ldc "Complex"
aload 0
invokevirtual org.jruby.Ruby.getNumeric:()Lorg/jruby/RubyClass;
getstatic org.jruby.RubyComplex.COMPLEX_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 2
start local 2 6: aload 2
getstatic org.jruby.runtime.ClassIndex.COMPLEX:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.RubyClass.setClassIndex:(Lorg/jruby/runtime/ClassIndex;)V
7: aload 2
ldc Lorg/jruby/RubyComplex;
invokevirtual org.jruby.RubyClass.setReifiedClass:(Ljava/lang/Class;)V
8: aload 2
new org.jruby.RubyModule$JavaClassKindOf
dup
ldc Lorg/jruby/RubyComplex;
invokespecial org.jruby.RubyModule$JavaClassKindOf.<init>:(Ljava/lang/Class;)V
putfield org.jruby.RubyClass.kindOf:Lorg/jruby/RubyModule$KindOf;
9: aload 2
ldc Lorg/jruby/RubyComplex;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
10: aload 2
invokevirtual org.jruby.RubyClass.getSingletonClass:()Lorg/jruby/RubyClass;
ldc "allocate"
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
11: aload 2
invokevirtual org.jruby.RubyClass.getSingletonClass:()Lorg/jruby/RubyClass;
ldc "new"
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
12: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 16
StackMap locals: org.jruby.Ruby java.lang.String[] org.jruby.RubyClass top int int java.lang.String[]
StackMap stack:
13: aload 6
iload 4
aaload
astore 3
start local 3 14: aload 2
aload 3
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
end local 3 15: iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
iload 5
if_icmplt 13
17: aload 2
ldc "I"
aload 0
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 2
aload 0
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
aload 0
invokestatic org.jruby.RubyFixnum.one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokestatic org.jruby.RubyComplex.convert:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyClass.defineConstant:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
18: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 runtime Lorg/jruby/Ruby;
5 19 1 UNDEFINED [Ljava/lang/String;
6 19 2 complexc Lorg/jruby/RubyClass;
14 15 3 undef Ljava/lang/String;
MethodParameters:
Name Flags
runtime
private void <init>(org.jruby.Ruby, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, 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
invokespecial org.jruby.RubyNumeric.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
aload 3
putfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
2: aload 0
aload 4
putfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
3: aload 0
dup
getfield org.jruby.RubyComplex.flags:I
getstatic org.jruby.RubyComplex.FROZEN_F:I
ior
putfield org.jruby.RubyComplex.flags:I
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyComplex;
0 5 1 runtime Lorg/jruby/Ruby;
0 5 2 clazz Lorg/jruby/RubyClass;
0 5 3 real Lorg/jruby/runtime/builtin/IRubyObject;
0 5 4 image Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
clazz
real
image
public org.jruby.runtime.ClassIndex getNativeClassIndex();
descriptor: ()Lorg/jruby/runtime/ClassIndex;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.runtime.ClassIndex.COMPLEX:Lorg/jruby/runtime/ClassIndex;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
public static org.jruby.RubyComplex newComplexRaw(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyComplex;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.jruby.RubyComplex
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
aload 1
aload 2
invokespecial org.jruby.RubyComplex.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 x Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 y Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
x
y
public static org.jruby.RubyComplex newComplexRaw(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyComplex;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.RubyComplex
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
aload 1
aload 0
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokespecial org.jruby.RubyComplex.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 x Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
x
public static org.jruby.RubyComplex newComplexRawImage(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyComplex;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.RubyComplex
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
aload 0
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
aload 1
invokespecial org.jruby.RubyComplex.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 image Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
image
public static org.jruby.runtime.builtin.IRubyObject newComplexCanonicalize(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokestatic org.jruby.RubyComplex.newComplexCanonicalize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 x Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
x
public static org.jruby.runtime.builtin.IRubyObject newComplexCanonicalize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
aload 1
aload 2
invokestatic org.jruby.RubyComplex.canonicalizeInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 x Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 y Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
x
y
static org.jruby.runtime.builtin.IRubyObject newComplexPolar(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: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
aload 1
aload 2
invokestatic org.jruby.RubyComplex.f_complex_polar:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 x Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 y Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
x
y
static org.jruby.RubyNumeric newComplex(org.jruby.runtime.ThreadContext, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
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 clazz Lorg/jruby/RubyClass;
0 1 2 x Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
clazz
x
static org.jruby.RubyNumeric newComplex(org.jruby.runtime.ThreadContext, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.jruby.RubyComplex.$assertionsDisabled:Z
ifne 1
aload 2
instanceof org.jruby.RubyComplex
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic org.jruby.RubyComplex.canonicalizeInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 clazz Lorg/jruby/RubyClass;
0 2 2 x Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 y Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
clazz
x
y
static org.jruby.RubyComplex newComplexBang(org.jruby.runtime.ThreadContext, org.jruby.RubyClass, org.jruby.RubyNumeric, org.jruby.RubyNumeric);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/RubyNumeric;Lorg/jruby/RubyNumeric;)Lorg/jruby/RubyComplex;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.jruby.RubyComplex
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 2
aload 3
invokespecial org.jruby.RubyComplex.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 clazz Lorg/jruby/RubyClass;
0 1 2 x Lorg/jruby/RubyNumeric;
0 1 3 y Lorg/jruby/RubyNumeric;
MethodParameters:
Name Flags
context
clazz
x
y
static org.jruby.RubyComplex newComplexBang(org.jruby.runtime.ThreadContext, org.jruby.RubyClass, org.jruby.RubyNumeric);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/RubyNumeric;)Lorg/jruby/RubyComplex;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokestatic org.jruby.RubyComplex.newComplexBang:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/RubyNumeric;Lorg/jruby/RubyNumeric;)Lorg/jruby/RubyComplex;
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 clazz Lorg/jruby/RubyClass;
0 1 2 x Lorg/jruby/RubyNumeric;
MethodParameters:
Name Flags
context
clazz
x
public static org.jruby.RubyComplex newComplexBang(org.jruby.runtime.ThreadContext, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyComplex;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
checkcast org.jruby.RubyNumeric
invokestatic org.jruby.RubyComplex.newComplexBang:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/RubyNumeric;)Lorg/jruby/RubyComplex;
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 clazz Lorg/jruby/RubyClass;
0 1 2 x Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
clazz
x
org.jruby.runtime.builtin.IRubyObject getImage();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
org.jruby.runtime.builtin.IRubyObject getReal();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
private static org.jruby.runtime.builtin.IRubyObject m_cos(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: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
aload 0
aload 1
aload 1
invokestatic org.jruby.RubyMath.cos:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
areturn
1: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.RubyComplex
astore 2
start local 2 2: aload 0
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
3: aload 0
aload 0
aload 1
aload 2
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.cos:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
aload 0
aload 1
aload 2
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.cosh:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
4: aload 0
aload 0
aload 0
aload 1
aload 2
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.sin:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
invokestatic org.jruby.util.Numeric.f_negate:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
aload 1
aload 2
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.sinh:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
5: invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
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 x Lorg/jruby/runtime/builtin/IRubyObject;
2 6 2 complex Lorg/jruby/RubyComplex;
MethodParameters:
Name Flags
context
x
private static org.jruby.runtime.builtin.IRubyObject m_sin(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: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
aload 0
aload 1
aload 1
invokestatic org.jruby.RubyMath.sin:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
areturn
1: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.RubyComplex
astore 2
start local 2 2: aload 0
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
3: aload 0
aload 0
aload 1
aload 2
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.sin:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
aload 0
aload 1
aload 2
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.cosh:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
4: aload 0
aload 0
aload 1
aload 2
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.cos:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
aload 0
aload 1
aload 2
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.sinh:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
5: invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
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 x Lorg/jruby/runtime/builtin/IRubyObject;
2 6 2 complex Lorg/jruby/RubyComplex;
MethodParameters:
Name Flags
context
x
private static org.jruby.runtime.builtin.IRubyObject m_sqrt(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: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 6
1: aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_negative_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 2
aload 0
aload 1
aload 1
invokestatic org.jruby.RubyMath.sqrt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
3: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
4: aload 0
aload 1
aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_negate:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.sqrt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
5: invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.RubyComplex
astore 2
start local 2 7: aload 0
aload 2
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_negative_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 9
8: aload 0
aload 0
aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_conjugate:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComplex.m_sqrt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_conjugate:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
9: StackMap locals: org.jruby.RubyComplex
StackMap stack:
aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_abs:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 10: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.two:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 4
start local 4 11: aload 0
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
12: aload 0
aload 1
aload 0
aload 0
aload 3
aload 2
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_add:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 4
invokestatic org.jruby.util.Numeric.f_div:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.sqrt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
13: aload 0
aload 1
aload 0
aload 0
aload 3
aload 2
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_sub:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 4
invokestatic org.jruby.util.Numeric.f_div:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.sqrt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
14: invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 context Lorg/jruby/runtime/ThreadContext;
0 15 1 x Lorg/jruby/runtime/builtin/IRubyObject;
7 15 2 complex Lorg/jruby/RubyComplex;
10 15 3 a Lorg/jruby/runtime/builtin/IRubyObject;
11 15 4 two Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
x
public static org.jruby.runtime.builtin.IRubyObject newInstanceBang(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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
tableswitch { // 1 - 2
1: 1
2: 2
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
aaload
invokestatic org.jruby.RubyComplex.newInstanceBang:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
aaload
aload 2
iconst_1
aaload
invokestatic org.jruby.RubyComplex.newInstanceBang:(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
3: StackMap locals:
StackMap stack:
aload 0
4: getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
arraylength
iconst_1
iconst_2
invokestatic org.jruby.runtime.Arity.raiseArgumentError:(Lorg/jruby/Ruby;III)V
5: aconst_null
areturn
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 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 6 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
recv
args
public static org.jruby.runtime.builtin.IRubyObject newInstanceBang(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=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyNumeric
ifne 1
aload 0
aload 2
invokestatic org.jruby.util.Numeric.f_to_i:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
1: StackMap locals:
StackMap stack:
new org.jruby.RubyComplex
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
checkcast org.jruby.RubyClass
aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokespecial org.jruby.RubyComplex.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 real Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"new!"}, meta = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
recv
real
public static org.jruby.runtime.builtin.IRubyObject newInstanceBang(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
instanceof org.jruby.RubyNumeric
ifne 1
aload 0
aload 2
invokestatic org.jruby.util.Numeric.f_to_i:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
1: StackMap locals:
StackMap stack:
aload 3
instanceof org.jruby.RubyNumeric
ifne 2
aload 0
aload 3
invokestatic org.jruby.util.Numeric.f_to_i:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
2: StackMap locals:
StackMap stack:
new org.jruby.RubyComplex
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
checkcast org.jruby.RubyClass
aload 2
aload 3
invokespecial org.jruby.RubyComplex.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 real Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 image Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"new!"}, meta = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
recv
real
image
public static void setCanonicalization(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
putstatic org.jruby.RubyComplex.canonicalization:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 canonical Z
MethodParameters:
Name Flags
canonical
private static void realCheck(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic org.jruby.RubyComplex.$SWITCH_TABLE$org$jruby$runtime$ClassIndex:()[I
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getClassIndex:()Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iaload
lookupswitch { // 3
12: 1
17: 1
22: 1
default: 2
}
1: StackMap locals:
StackMap stack:
goto 4
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyNumeric
ifeq 3
aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 4
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "not a real"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
4: StackMap locals:
StackMap stack:
return
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
private static org.jruby.RubyNumeric canonicalizeInternal(org.jruby.runtime.ThreadContext, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
aload 3
invokestatic org.jruby.util.Numeric.k_exact_p:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
getstatic org.jruby.RubyComplex.canonicalization:Z
ifeq 1
aload 2
checkcast org.jruby.RubyNumeric
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 2
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
istore 4
start local 4 2: aload 0
aload 3
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
istore 5
start local 5 3: iload 4
ifeq 5
iload 5
ifeq 5
4: new org.jruby.RubyComplex
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 2
aload 3
invokespecial org.jruby.RubyComplex.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
5: StackMap locals: int int
StackMap stack:
iload 4
ifeq 11
6: aload 3
checkcast org.jruby.RubyComplex
astore 6
start local 6 7: new org.jruby.RubyComplex
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
8: aload 0
aload 2
aload 6
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_sub:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
9: aload 0
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
aload 6
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_add:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
10: invokespecial org.jruby.RubyComplex.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 6 11: StackMap locals:
StackMap stack:
iload 5
ifeq 17
12: aload 2
checkcast org.jruby.RubyComplex
astore 6
start local 6 13: new org.jruby.RubyComplex
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
14: aload 6
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
15: aload 0
aload 6
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
invokestatic org.jruby.util.Numeric.f_add:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
16: invokespecial org.jruby.RubyComplex.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 6 17: StackMap locals:
StackMap stack:
aload 2
checkcast org.jruby.RubyComplex
astore 6
start local 6 18: aload 3
checkcast org.jruby.RubyComplex
astore 7
start local 7 19: new org.jruby.RubyComplex
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
20: aload 0
aload 6
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 7
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_sub:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
21: aload 0
aload 6
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 7
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_add:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
22: invokespecial org.jruby.RubyComplex.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
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 23 0 context Lorg/jruby/runtime/ThreadContext;
0 23 1 clazz Lorg/jruby/RubyClass;
0 23 2 real Lorg/jruby/runtime/builtin/IRubyObject;
0 23 3 image Lorg/jruby/runtime/builtin/IRubyObject;
2 23 4 realReal Z
3 23 5 imagReal Z
7 11 6 complex Lorg/jruby/RubyComplex;
13 17 6 complex Lorg/jruby/RubyComplex;
18 23 6 complex1 Lorg/jruby/RubyComplex;
19 23 7 complex2 Lorg/jruby/RubyComplex;
MethodParameters:
Name Flags
context
clazz
real
image
public static org.jruby.runtime.builtin.IRubyObject newInstance(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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
tableswitch { // 1 - 2
1: 1
2: 2
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
aaload
invokestatic org.jruby.RubyComplex.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
aaload
aload 2
iconst_1
aaload
invokestatic org.jruby.RubyComplex.newInstance:(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
3: StackMap locals:
StackMap stack:
aload 0
4: getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
arraylength
iconst_1
iconst_2
invokestatic org.jruby.runtime.Arity.raiseArgumentError:(Lorg/jruby/Ruby;III)V
5: aconst_null
areturn
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 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 6 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
recv
args
public static org.jruby.runtime.builtin.IRubyObject newInstanceNew(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.jruby.RubyComplex.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 real Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
recv
real
public static org.jruby.runtime.builtin.IRubyObject newInstance(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic org.jruby.RubyComplex.realCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: aload 0
aload 1
checkcast org.jruby.RubyClass
aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokestatic org.jruby.RubyComplex.canonicalizeInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 real Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"rect", "rectangular"}, meta = true)
MethodParameters:
Name Flags
context
recv
real
public static org.jruby.runtime.builtin.IRubyObject newInstanceNew(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=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
aload 3
invokestatic org.jruby.RubyComplex.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 real Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 image Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
recv
real
image
public static org.jruby.runtime.builtin.IRubyObject newInstance(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokestatic org.jruby.RubyComplex.realCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: aload 0
aload 3
invokestatic org.jruby.RubyComplex.realCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
2: aload 0
aload 1
checkcast org.jruby.RubyClass
aload 2
aload 3
invokestatic org.jruby.RubyComplex.canonicalizeInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 real Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 image Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"rect", "rectangular"}, meta = true)
MethodParameters:
Name Flags
context
recv
real
image
private static org.jruby.runtime.builtin.IRubyObject f_complex_polar(org.jruby.runtime.ThreadContext, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.jruby.RubyComplex.$assertionsDisabled:Z
ifne 2
aload 2
instanceof org.jruby.RubyComplex
ifne 1
aload 3
instanceof org.jruby.RubyComplex
ifeq 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
3: aload 0
aload 2
aload 0
aload 3
invokestatic org.jruby.RubyComplex.m_cos:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
4: aload 0
aload 2
aload 0
aload 3
invokestatic org.jruby.RubyComplex.m_sin:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
5: invokestatic org.jruby.RubyComplex.canonicalizeInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
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 clazz Lorg/jruby/RubyClass;
0 6 2 x Lorg/jruby/runtime/builtin/IRubyObject;
0 6 3 y Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
clazz
x
y
public static org.jruby.runtime.builtin.IRubyObject polar(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: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_0
aaload
astore 3
start local 3 1: aload 2
arraylength
iconst_2
if_icmpge 4
2: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 4
start local 4 3: goto 5
end local 4 4: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
iconst_1
aaload
astore 4
start local 4 5: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 3
invokestatic org.jruby.RubyComplex.realCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
6: aload 0
aload 4
invokestatic org.jruby.RubyComplex.realCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
7: aload 0
aload 1
checkcast org.jruby.RubyClass
aload 3
aload 4
invokestatic org.jruby.RubyComplex.f_complex_polar:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 context Lorg/jruby/runtime/ThreadContext;
0 8 1 clazz Lorg/jruby/runtime/builtin/IRubyObject;
0 8 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 8 3 abs Lorg/jruby/runtime/builtin/IRubyObject;
3 4 4 arg Lorg/jruby/runtime/builtin/IRubyObject;
5 8 4 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"polar"}, meta = true, required = 1, optional = 1)
MethodParameters:
Name Flags
context
clazz
args
public static org.jruby.runtime.builtin.IRubyObject polar19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.jruby.RubyComplex.polar:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 clazz Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
clazz
args
public static org.jruby.runtime.builtin.IRubyObject newComplexConvert(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokestatic org.jruby.RubyComplex.newComplexConvert:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 x Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
x
public static org.jruby.runtime.builtin.IRubyObject newComplexConvert(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
aload 1
aload 2
invokestatic org.jruby.RubyComplex.convert:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 x Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 y Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
x
y
public static org.jruby.runtime.builtin.IRubyObject convert(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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
tableswitch { // 1 - 2
1: 1
2: 2
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
aaload
invokestatic org.jruby.RubyComplex.convert:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
aaload
aload 2
iconst_1
aaload
invokestatic org.jruby.RubyComplex.convert:(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
3: StackMap locals:
StackMap stack:
aload 0
4: getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
arraylength
iconst_1
iconst_2
invokestatic org.jruby.runtime.Arity.raiseArgumentError:(Lorg/jruby/Ruby;III)V
5: aconst_null
areturn
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 clazz Lorg/jruby/runtime/builtin/IRubyObject;
0 6 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
clazz
args
public static org.jruby.runtime.builtin.IRubyObject convert(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokestatic org.jruby.RubyComplex.convertCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"convert"}, meta = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
recv
arg
public static org.jruby.runtime.builtin.IRubyObject convert(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=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
aload 3
invokestatic org.jruby.RubyComplex.convertCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 a1 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 a2 Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"convert"}, meta = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
recv
a1
a2
private static org.jruby.runtime.builtin.IRubyObject convertCommon(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 4
aload 3
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 5
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "can't convert nil into Complex"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
5: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyString
ifeq 6
aload 0
aload 2
checkcast org.jruby.RubyString
invokestatic org.jruby.RubyComplex.str_to_c_strict:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;)Lorg/jruby/RubyNumeric;
astore 2
6: StackMap locals:
StackMap stack:
aload 3
instanceof org.jruby.RubyString
ifeq 7
aload 0
aload 3
checkcast org.jruby.RubyString
invokestatic org.jruby.RubyComplex.str_to_c_strict:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;)Lorg/jruby/RubyNumeric;
astore 3
7: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyComplex
ifeq 10
8: aload 2
checkcast org.jruby.RubyComplex
astore 5
start local 5 9: aload 5
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.k_exact_p:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 10
aload 0
aload 5
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 10
aload 5
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
end local 5 10: StackMap locals:
StackMap stack:
aload 3
instanceof org.jruby.RubyComplex
ifeq 13
11: aload 3
checkcast org.jruby.RubyComplex
astore 5
start local 5 12: aload 5
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.k_exact_p:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 13
aload 0
aload 5
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 13
aload 5
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
end local 5 13: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyComplex
ifeq 16
14: iload 4
ifne 15
aload 3
invokestatic org.jruby.util.Numeric.k_exact_p:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 16
aload 0
aload 3
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 16
StackMap locals:
StackMap stack:
15: aload 2
areturn
16: StackMap locals:
StackMap stack:
iload 4
ifeq 21
17: aload 2
instanceof org.jruby.RubyNumeric
ifeq 19
18: aload 0
aload 2
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 20
aload 2
areturn
19: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
aload 0
invokestatic org.jruby.RubyComplex.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComplexSites;
getfield org.jruby.runtime.JavaSites$ComplexSites.to_c_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
20: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.jruby.RubyComplex.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
21: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyNumeric
ifeq 29
aload 3
instanceof org.jruby.RubyNumeric
ifeq 29
22: aload 0
aload 2
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 23
aload 0
aload 3
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 29
23: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 24: aload 0
aload 2
25: aload 0
aload 3
aload 0
aload 5
invokevirtual org.jruby.Ruby.getComplex:()Lorg/jruby/RubyClass;
26: aload 5
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
aload 5
invokestatic org.jruby.RubyFixnum.one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
27: invokestatic org.jruby.RubyComplex.newComplexBang:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/RubyNumeric;Lorg/jruby/RubyNumeric;)Lorg/jruby/RubyComplex;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
28: invokestatic org.jruby.util.Numeric.f_add:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 29: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic org.jruby.RubyComplex.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 context Lorg/jruby/runtime/ThreadContext;
0 30 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 30 2 a1 Lorg/jruby/runtime/builtin/IRubyObject;
0 30 3 a2 Lorg/jruby/runtime/builtin/IRubyObject;
3 30 4 singleArg Z
9 10 5 a1c Lorg/jruby/RubyComplex;
12 13 5 a2c Lorg/jruby/RubyComplex;
24 29 5 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
context
recv
a1
a2
public org.jruby.runtime.builtin.IRubyObject real();
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.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"real"})
public org.jruby.runtime.builtin.IRubyObject image();
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.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"imaginary", "imag"})
public org.jruby.runtime.builtin.IRubyObject negate(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_negate:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_negate:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"-@"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject op_add(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=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyComplex
ifeq 6
1: aload 2
checkcast org.jruby.RubyComplex
astore 3
start local 3 2: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
3: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_add:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
4: aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_add:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
5: invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 3 6: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyNumeric
ifeq 8
aload 1
aload 2
checkcast org.jruby.RubyNumeric
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 8
7: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
invokestatic org.jruby.util.Numeric.f_add:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
8: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
invokestatic org.jruby.RubyComplex.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComplexSites;
getfield org.jruby.runtime.JavaSites$ComplexSites.op_plus:Lorg/jruby/runtime/CallSite;
aload 2
invokevirtual org.jruby.RubyComplex.coerceBin:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/RubyComplex;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 other Lorg/jruby/runtime/builtin/IRubyObject;
2 6 3 otherComplex Lorg/jruby/RubyComplex;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"+"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject op_sub(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=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyComplex
ifeq 6
1: aload 2
checkcast org.jruby.RubyComplex
astore 3
start local 3 2: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
3: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_sub:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
4: aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_sub:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
5: invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 3 6: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyNumeric
ifeq 8
aload 1
aload 2
checkcast org.jruby.RubyNumeric
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 8
7: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
invokestatic org.jruby.util.Numeric.f_sub:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
8: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
invokestatic org.jruby.RubyComplex.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComplexSites;
getfield org.jruby.runtime.JavaSites$ComplexSites.op_minus:Lorg/jruby/runtime/CallSite;
aload 2
invokevirtual org.jruby.RubyComplex.coerceBin:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/RubyComplex;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 other Lorg/jruby/runtime/builtin/IRubyObject;
2 6 3 otherComplex Lorg/jruby/RubyComplex;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"-"})
MethodParameters:
Name Flags
context
other
public 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: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyComplex
ifeq 15
1: aload 2
checkcast org.jruby.RubyComplex
astore 3
start local 3 2: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
istore 4
start local 4 3: aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
istore 5
start local 5 4: aload 1
aload 3
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
istore 6
start local 6 5: aload 1
aload 3
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
istore 7
start local 7 6: aload 1
7: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
iload 4
iload 6
invokestatic org.jruby.util.Numeric.safe_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;ZZ)Lorg/jruby/runtime/builtin/IRubyObject;
8: aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
iload 5
iload 7
invokestatic org.jruby.util.Numeric.safe_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;ZZ)Lorg/jruby/runtime/builtin/IRubyObject;
9: invokestatic org.jruby.util.Numeric.f_sub:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 8
start local 8 10: aload 1
11: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
iload 4
iload 7
invokestatic org.jruby.util.Numeric.safe_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;ZZ)Lorg/jruby/runtime/builtin/IRubyObject;
12: aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
iload 5
iload 6
invokestatic org.jruby.util.Numeric.safe_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;ZZ)Lorg/jruby/runtime/builtin/IRubyObject;
13: invokestatic org.jruby.util.Numeric.f_add:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 9
start local 9 14: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
aload 8
aload 9
invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 15: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyNumeric
ifeq 20
aload 1
aload 2
checkcast org.jruby.RubyNumeric
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 20
16: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
17: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
18: aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
19: invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
20: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
invokestatic org.jruby.RubyComplex.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComplexSites;
getfield org.jruby.runtime.JavaSites$ComplexSites.op_times:Lorg/jruby/runtime/CallSite;
aload 2
invokevirtual org.jruby.RubyComplex.coerceBin:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jruby/RubyComplex;
0 21 1 context Lorg/jruby/runtime/ThreadContext;
0 21 2 other Lorg/jruby/runtime/builtin/IRubyObject;
2 15 3 otherComplex Lorg/jruby/RubyComplex;
3 15 4 arzero Z
4 15 5 aizero Z
5 15 6 brzero Z
6 15 7 bizero Z
10 15 8 realp Lorg/jruby/runtime/builtin/IRubyObject;
14 15 9 imagep Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"*"})
MethodParameters:
Name Flags
context
other
public 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: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyComplex
ifeq 11
1: aload 2
checkcast org.jruby.RubyComplex
astore 3
start local 3 2: aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyFloat
ifne 4
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyFloat
ifne 4
3: aload 3
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyFloat
ifne 4
aload 3
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyFloat
ifeq 10
4: StackMap locals: org.jruby.RubyComplex
StackMap stack:
aload 1
aload 0
aload 3
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.hypot:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
astore 4
start local 4 5: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
6: aload 1
aload 3
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 4
invokestatic org.jruby.util.Numeric.f_quo:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyNumeric
7: aload 1
aload 3
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 4
invokestatic org.jruby.util.Numeric.f_quo:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyNumeric
8: invokestatic org.jruby.RubyComplex.newComplexBang:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/RubyNumeric;Lorg/jruby/RubyNumeric;)Lorg/jruby/RubyComplex;
astore 5
start local 5 9: aload 1
aload 1
aload 0
aload 1
aload 5
invokestatic org.jruby.util.Numeric.f_conjugate:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 4
invokestatic org.jruby.util.Numeric.f_quo:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 end local 4 10: StackMap locals:
StackMap stack:
aload 1
aload 1
aload 0
aload 1
aload 2
invokestatic org.jruby.util.Numeric.f_conjugate:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 2
invokestatic org.jruby.util.Numeric.f_abs2:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_quo:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 11: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyNumeric
ifeq 16
12: aload 1
aload 2
checkcast org.jruby.RubyNumeric
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 14
13: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
invokestatic org.jruby.util.Numeric.f_quo:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
invokestatic org.jruby.util.Numeric.f_quo:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
14: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_1
invokevirtual org.jruby.RubyComplex.doCoerce:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/RubyArray;
astore 3
start local 3 15: aload 1
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getRational:()Lorg/jruby/RubyClass;
aload 3
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyRational.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 3 16: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
invokestatic org.jruby.RubyComplex.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComplexSites;
getfield org.jruby.runtime.JavaSites$ComplexSites.op_quo:Lorg/jruby/runtime/CallSite;
aload 2
invokevirtual org.jruby.RubyComplex.coerceBin:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jruby/RubyComplex;
0 17 1 context Lorg/jruby/runtime/ThreadContext;
0 17 2 other Lorg/jruby/runtime/builtin/IRubyObject;
2 11 3 otherComplex Lorg/jruby/RubyComplex;
5 10 4 magn Lorg/jruby/RubyFloat;
9 10 5 tmp Lorg/jruby/RubyComplex;
15 16 3 coercedOther Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"/", "quo"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject fdiv(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_to_f:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_to_f:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
astore 3
start local 3 1: aload 1
aload 3
aload 2
invokestatic org.jruby.util.Numeric.f_div:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyComplex;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 complex Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"fdiv"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject op_expt(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=8, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic org.jruby.util.Numeric.k_exact_p:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 2
aload 1
aload 2
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 2
1: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
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.RubyComplex.newComplexBang:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/RubyNumeric;)Lorg/jruby/RubyComplex;
areturn
2: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyRational
ifeq 4
aload 1
aload 1
aload 2
invokestatic org.jruby.util.Numeric.f_denominator:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_one_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 4
3: aload 1
aload 2
invokestatic org.jruby.util.Numeric.f_numerator:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
4: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyComplex
ifeq 18
5: aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_polar:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToArray:()Lorg/jruby/RubyArray;
astore 3
start local 3 6: aload 3
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 7: aload 3
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 8: aload 2
checkcast org.jruby.RubyComplex
astore 6
start local 6 9: aload 1
aload 0
aload 1
10: aload 1
aload 6
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 0
aload 4
invokestatic org.jruby.RubyMath.log:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
11: aload 1
aload 6
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 5
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
12: invokestatic org.jruby.util.Numeric.f_sub:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.exp:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
astore 7
start local 7 13: aload 1
14: aload 1
aload 5
aload 6
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
15: aload 1
aload 6
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 0
aload 4
invokestatic org.jruby.RubyMath.log:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
16: invokestatic org.jruby.util.Numeric.f_add:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 8
start local 8 17: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
aload 7
aload 8
invokestatic org.jruby.RubyComplex.f_complex_polar:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 18: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyInteger
ifeq 43
19: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 3
start local 3 20: aload 1
aload 2
checkcast org.jruby.RubyInteger
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokestatic org.jruby.util.Numeric.f_gt_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyInteger;)Z
ifeq 42
21: aload 0
astore 4
start local 4 22: aload 4
astore 5
start local 5 23: aload 1
aload 2
checkcast org.jruby.RubyInteger
aload 3
invokestatic org.jruby.util.Numeric.f_sub:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyInteger;)Lorg/jruby/RubyInteger;
astore 6
start local 6 24: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.two:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 7
start local 7 25: goto 40
26: StackMap locals: org.jruby.RubyComplex org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.RubyFixnum org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.RubyInteger org.jruby.RubyFixnum
StackMap stack:
aload 1
aload 6
aload 7
invokestatic org.jruby.util.Numeric.f_divmod:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToArray:()Lorg/jruby/RubyArray;
astore 8
start local 8 27: goto 37
28: StackMap locals: org.jruby.RubyArray
StackMap stack:
aload 4
checkcast org.jruby.RubyComplex
astore 9
start local 9 29: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
30: aload 1
aload 1
aload 9
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 9
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
31: aload 1
aload 9
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 9
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
32: invokestatic org.jruby.util.Numeric.f_sub:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
33: aload 1
aload 1
aload 7
aload 9
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 9
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
34: invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
astore 4
35: aload 8
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyInteger
astore 6
36: aload 1
aload 6
aload 7
invokestatic org.jruby.util.Numeric.f_divmod:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToArray:()Lorg/jruby/RubyArray;
astore 8
end local 9 37: StackMap locals:
StackMap stack:
aload 1
aload 8
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 28
38: aload 1
aload 5
aload 4
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
39: aload 1
aload 6
aload 3
invokestatic org.jruby.util.Numeric.f_sub:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;Lorg/jruby/RubyInteger;)Lorg/jruby/RubyInteger;
astore 6
end local 8 40: StackMap locals:
StackMap stack:
aload 1
aload 6
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;)Z
ifeq 26
41: aload 5
areturn
end local 7 end local 6 end local 5 end local 4 42: StackMap locals: org.jruby.RubyComplex org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.RubyFixnum
StackMap stack:
aload 1
aload 1
aload 1
aload 3
invokestatic org.jruby.util.Numeric.f_to_r:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;)Lorg/jruby/RubyNumeric;
aload 0
invokestatic org.jruby.util.Numeric.f_div:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 2
checkcast org.jruby.RubyInteger
invokestatic org.jruby.util.Numeric.f_negate:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyInteger;)Lorg/jruby/RubyInteger;
invokestatic org.jruby.util.Numeric.f_expt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 43: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyNumeric
ifeq 48
aload 1
aload 2
checkcast org.jruby.RubyNumeric
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 48
44: aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_polar:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToArray:()Lorg/jruby/RubyArray;
astore 3
start local 3 45: aload 3
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 46: aload 3
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 47: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
aload 1
aload 4
aload 2
invokestatic org.jruby.util.Numeric.f_expt:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 5
aload 2
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComplex.f_complex_polar:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 end local 4 end local 3 48: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
invokestatic org.jruby.RubyComplex.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComplexSites;
getfield org.jruby.runtime.JavaSites$ComplexSites.op_exp:Lorg/jruby/runtime/CallSite;
aload 2
invokevirtual org.jruby.RubyComplex.coerceBin:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/CallSite;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lorg/jruby/RubyComplex;
0 49 1 context Lorg/jruby/runtime/ThreadContext;
0 49 2 other Lorg/jruby/runtime/builtin/IRubyObject;
6 18 3 a Lorg/jruby/RubyArray;
7 18 4 r Lorg/jruby/runtime/builtin/IRubyObject;
8 18 5 theta Lorg/jruby/runtime/builtin/IRubyObject;
9 18 6 otherComplex Lorg/jruby/RubyComplex;
13 18 7 nr Lorg/jruby/runtime/builtin/IRubyObject;
17 18 8 ntheta Lorg/jruby/runtime/builtin/IRubyObject;
20 43 3 one Lorg/jruby/RubyFixnum;
22 42 4 x Lorg/jruby/runtime/builtin/IRubyObject;
23 42 5 z Lorg/jruby/runtime/builtin/IRubyObject;
24 42 6 n Lorg/jruby/RubyInteger;
25 42 7 two Lorg/jruby/RubyFixnum;
27 40 8 a Lorg/jruby/RubyArray;
29 37 9 xComplex Lorg/jruby/RubyComplex;
45 48 3 a Lorg/jruby/RubyArray;
46 48 4 r Lorg/jruby/runtime/builtin/IRubyObject;
47 48 5 theta Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"**"})
MethodParameters:
Name Flags
context
other
public 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: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyComplex
ifeq 8
1: aload 2
checkcast org.jruby.RubyComplex
astore 3
start local 3 2: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_equal:(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
ifeq 5
3: aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_equal:(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
ifeq 5
4: iconst_1
goto 6
StackMap locals: org.jruby.RubyComplex
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 4
start local 4 7: aload 1
iload 4
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 4 end local 3 8: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyNumeric
ifeq 13
aload 1
aload 2
checkcast org.jruby.RubyNumeric
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 13
9: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
invokestatic org.jruby.util.Numeric.f_equal:(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
ifeq 10
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 3
start local 3 12: aload 1
iload 3
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 3 13: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 0
invokestatic org.jruby.util.Numeric.f_equal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/RubyComplex;
0 14 1 context Lorg/jruby/runtime/ThreadContext;
0 14 2 other Lorg/jruby/runtime/builtin/IRubyObject;
2 8 3 otherComplex Lorg/jruby/RubyComplex;
7 8 4 test Z
12 13 3 test Z
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"=="})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject coerce(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=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyNumeric
ifeq 2
aload 1
aload 2
invokestatic org.jruby.util.Numeric.f_real_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
aload 2
checkcast org.jruby.RubyNumeric
invokestatic org.jruby.RubyComplex.newComplexBang:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/RubyNumeric;)Lorg/jruby/RubyComplex;
aload 0
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
2: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyComplex
ifeq 3
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
aload 0
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
3: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 4: aload 3
aload 3
aload 3
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokestatic org.jruby.util.RubyStringBuilder.types:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyString;
ldc " can't be coerced into "
aload 3
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
invokestatic org.jruby.util.RubyStringBuilder.types:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyString;
invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyComplex;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 other Lorg/jruby/runtime/builtin/IRubyObject;
4 5 3 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"coerce"})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject abs(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.hypot:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"abs", "magnitude"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject abs2(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
1: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
2: aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
3: invokestatic org.jruby.util.Numeric.f_add:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyComplex;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"abs2"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject arg(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyMath.atan2:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"arg", "angle", "phase"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject rect(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"rectangular", "rect"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject polar(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_abs:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_arg:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"polar"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject conjugate(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_negate:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"conjugate", "conj", "~"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject real_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"real?"})
MethodParameters:
Name Flags
context
public boolean isReal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
public org.jruby.runtime.builtin.IRubyObject complex_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject exact_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_exact_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_exact_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
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/RubyComplex;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject inexact_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.RubyComplex.exact_p:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
if_acmpne 1
aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
getfield org.jruby.runtime.ThreadContext.tru: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/RubyComplex;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject demoninator(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 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_denominator:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_denominator:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"denominator"})
MethodParameters:
Name Flags
context
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=9, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "denominator"
invokevirtual org.jruby.RubyComplex.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 1
aload 0
invokevirtual org.jruby.RubyComplex.getMetaClass:()Lorg/jruby/RubyClass;
2: aload 1
3: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_numerator:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
4: aload 1
aload 2
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_denominator:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_div:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
5: invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
6: aload 1
7: aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_numerator:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
8: aload 1
aload 2
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_denominator:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_div:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
9: invokestatic org.jruby.util.Numeric.f_mul:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
10: invokestatic org.jruby.RubyComplex.newComplex:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyNumeric;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/RubyComplex;
0 11 1 context Lorg/jruby/runtime/ThreadContext;
1 11 2 cd Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"numerator"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject hash(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
getstatic org.jruby.runtime.invokedynamic.MethodNames.HASH:Lorg/jruby/runtime/invokedynamic/MethodNames;
invokestatic org.jruby.runtime.Helpers.invokedynamic:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/invokedynamic/MethodNames;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
getstatic org.jruby.runtime.invokedynamic.MethodNames.HASH:Lorg/jruby/runtime/invokedynamic/MethodNames;
invokestatic org.jruby.runtime.Helpers.invokedynamic:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/invokedynamic/MethodNames;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_xor:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"hash"})
MethodParameters:
Name Flags
context
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.RubyComplex.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyComplex.hash:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 1
start local 1 1: aload 1
instanceof org.jruby.RubyFixnum
ifeq 2
aload 1
invokestatic org.jruby.RubyNumeric.fix2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
l2i
ireturn
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 1
invokestatic org.jruby.RubyComplex.nonFixnumHashCode:(Lorg/jruby/runtime/builtin/IRubyObject;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyComplex;
1 3 1 hash Lorg/jruby/runtime/builtin/IRubyObject;
public org.jruby.runtime.builtin.IRubyObject eql_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyComplex.equals:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)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/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"eql?"})
MethodParameters:
Name Flags
context
other
private boolean equals(org.jruby.runtime.ThreadContext, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyComplex
ifeq 6
1: aload 2
checkcast org.jruby.RubyComplex
astore 3
start local 3 2: aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
aload 3
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
if_acmpne 6
3: aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
aload 3
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
if_acmpne 6
4: aload 1
aload 0
aload 3
invokestatic org.jruby.util.Numeric.f_equal:(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
ifeq 6
5: iconst_1
ireturn
end local 3 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubyComplex;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 other Ljava/lang/Object;
2 6 3 otherComplex Lorg/jruby/RubyComplex;
MethodParameters:
Name Flags
context
other
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
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.RubyComplex.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokevirtual org.jruby.RubyComplex.equals:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyComplex;
0 1 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
private static boolean signbit(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyFloat
ifeq 4
1: aload 1
checkcast org.jruby.RubyFloat
getfield org.jruby.RubyFloat.value:D
dstore 2
start local 2 2: dload 2
invokestatic java.lang.Double.isNaN:(D)Z
ifne 3
dload 2
invokestatic java.lang.Double.doubleToLongBits:(D)J
lconst_0
lcmp
ifge 3
iconst_1
ireturn
StackMap locals: double
StackMap stack:
3: iconst_0
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_negative_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lorg/jruby/runtime/ThreadContext;
0 5 1 x Lorg/jruby/runtime/builtin/IRubyObject;
2 4 2 value D
MethodParameters:
Name Flags
context
x
private static boolean tpositive_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
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
invokestatic org.jruby.RubyComplex.signbit:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 x Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
x
public org.jruby.runtime.builtin.IRubyObject to_s(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComplex.tpositive_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
istore 2
start local 2 1: aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_to_s:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
astore 3
start local 3 2: aload 3
iload 2
ifeq 3
bipush 43
goto 4
StackMap locals: org.jruby.RubyComplex org.jruby.runtime.ThreadContext int org.jruby.RubyString
StackMap stack: org.jruby.RubyString
3: bipush 45
StackMap locals: org.jruby.RubyComplex org.jruby.runtime.ThreadContext int org.jruby.RubyString
StackMap stack: org.jruby.RubyString int
4: invokevirtual org.jruby.RubyString.cat:(B)Lorg/jruby/RubyString;
pop
5: aload 3
aload 1
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_abs:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_to_s:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.RubyString.cat:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
pop
6: aload 3
invokestatic org.jruby.RubyComplex.lastCharDigit:(Lorg/jruby/RubyString;)Z
ifne 7
aload 3
bipush 42
invokevirtual org.jruby.RubyString.cat:(B)Lorg/jruby/RubyString;
pop
7: StackMap locals:
StackMap stack:
aload 3
bipush 105
invokevirtual org.jruby.RubyString.cat:(B)Lorg/jruby/RubyString;
pop
8: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/RubyComplex;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
1 9 2 impos Z
2 9 3 str Lorg/jruby/RubyString;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_s"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject inspect(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyComplex.tpositive_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
istore 2
start local 2 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newString:()Lorg/jruby/RubyString;
astore 3
start local 3 2: aload 3
bipush 40
invokevirtual org.jruby.RubyString.cat:(B)Lorg/jruby/RubyString;
pop
3: aload 3
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_inspect:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.RubyString.cat:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
pop
4: aload 3
iload 2
ifeq 5
bipush 43
goto 6
StackMap locals: org.jruby.RubyComplex org.jruby.runtime.ThreadContext int org.jruby.RubyString
StackMap stack: org.jruby.RubyString
5: bipush 45
StackMap locals: org.jruby.RubyComplex org.jruby.runtime.ThreadContext int org.jruby.RubyString
StackMap stack: org.jruby.RubyString int
6: invokevirtual org.jruby.RubyString.cat:(B)Lorg/jruby/RubyString;
pop
7: aload 3
aload 1
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_abs:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_inspect:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.RubyString.cat:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
pop
8: aload 3
invokestatic org.jruby.RubyComplex.lastCharDigit:(Lorg/jruby/RubyString;)Z
ifne 9
aload 3
bipush 42
invokevirtual org.jruby.RubyString.cat:(B)Lorg/jruby/RubyString;
pop
9: StackMap locals:
StackMap stack:
aload 3
bipush 105
invokevirtual org.jruby.RubyString.cat:(B)Lorg/jruby/RubyString;
pop
10: aload 3
bipush 41
invokevirtual org.jruby.RubyString.cat:(B)Lorg/jruby/RubyString;
pop
11: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/RubyComplex;
0 12 1 context Lorg/jruby/runtime/ThreadContext;
1 12 2 impos Z
2 12 3 str Lorg/jruby/RubyString;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"inspect"})
MethodParameters:
Name Flags
context
private static boolean lastCharDigit(org.jruby.RubyString);
descriptor: (Lorg/jruby/RubyString;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 1
start local 1 1: getstatic org.jcodings.specific.ASCIIEncoding.INSTANCE:Lorg/jcodings/specific/ASCIIEncoding;
aload 1
invokevirtual org.jruby.util.ByteList.getUnsafeBytes:()[B
aload 1
invokevirtual org.jruby.util.ByteList.getBegin:()I
aload 1
invokevirtual org.jruby.util.ByteList.getRealSize:()I
iadd
iconst_1
isub
baload
invokevirtual org.jcodings.specific.ASCIIEncoding.isDigit:(I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 str Lorg/jruby/RubyString;
1 2 1 bytes Lorg/jruby/util/ByteList;
MethodParameters:
Name Flags
str
public org.jruby.runtime.builtin.IRubyObject marshal_dump(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
astore 2
start local 2 1: aload 0
invokevirtual org.jruby.RubyComplex.hasVariables:()Z
ifeq 2
aload 2
aload 0
invokevirtual org.jruby.RubyArray.syncVariables:(Lorg/jruby/runtime/builtin/IRubyObject;)V
2: StackMap locals: org.jruby.RubyArray
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyComplex;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
1 3 2 dump Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"marshal_dump"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject marshal_load(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 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToArray:()Lorg/jruby/RubyArray;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual org.jruby.RubyArray.size:()I
ifle 2
aload 3
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals: org.jruby.RubyComplex org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray
StackMap stack: org.jruby.RubyComplex
2: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals: org.jruby.RubyComplex org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray
StackMap stack: org.jruby.RubyComplex org.jruby.runtime.builtin.IRubyObject
3: putfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
4: aload 0
aload 3
invokevirtual org.jruby.RubyArray.size:()I
iconst_1
if_icmple 5
aload 3
iconst_1
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
goto 6
StackMap locals:
StackMap stack: org.jruby.RubyComplex
5: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals: org.jruby.RubyComplex org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray
StackMap stack: org.jruby.RubyComplex org.jruby.runtime.builtin.IRubyObject
6: putfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
7: aload 3
invokevirtual org.jruby.RubyArray.hasVariables:()Z
ifeq 8
aload 0
aload 3
invokevirtual org.jruby.RubyComplex.syncVariables:(Lorg/jruby/runtime/builtin/IRubyObject;)V
8: 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 9 0 this Lorg/jruby/RubyComplex;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
1 9 3 load Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"marshal_load"})
MethodParameters:
Name Flags
context
arg
public org.jruby.runtime.builtin.IRubyObject to_c(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=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/RubyComplex;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_c"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject to_i(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
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.k_inexact_p:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 1
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 2
1: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "can't convert "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_to_s:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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;
invokevirtual org.jruby.Ruby.newRangeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_to_i:(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 3 0 this Lorg/jruby/RubyComplex;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_i"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject to_f(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
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.k_inexact_p:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 1
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 2
1: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "can't convert "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_to_s:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " into Float"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newRangeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_to_f:(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 3 0 this Lorg/jruby/RubyComplex;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_f"})
MethodParameters:
Name Flags
context
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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.k_inexact_p:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 1
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 2
1: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "can't convert "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_to_s:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " into Rational"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newRangeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_to_r:(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 3 0 this Lorg/jruby/RubyComplex;
0 3 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=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.k_inexact_p:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 1
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.Numeric.f_zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 2
1: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "can't convert "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
aload 0
invokestatic org.jruby.util.Numeric.f_to_s:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " into Rational"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newRangeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
ldc "rationalize"
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyComplex;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"rationalize"}, optional = 1)
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject finite_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyComplex.checkFinite:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 2
aload 0
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyComplex.checkFinite:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyComplex;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"finite?"})
MethodParameters:
Name Flags
context
public boolean checkFinite(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyInteger
ifne 1
aload 2
instanceof org.jruby.RubyRational
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyFloat
ifeq 4
3: aload 2
checkcast org.jruby.RubyFloat
invokevirtual org.jruby.RubyFloat.finite_p:()Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
4: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyRational
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 1
invokestatic org.jruby.RubyComplex.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComplexSites;
getfield org.jruby.runtime.JavaSites$ComplexSites.finite:Lorg/jruby/runtime/CallSite;
aload 1
aload 2
aload 2
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubyComplex;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
value
public org.jruby.runtime.builtin.IRubyObject infinite_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.jruby.RubyComplex.real:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyComplex.checkInfinite:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aload 0
aload 1
aload 0
getfield org.jruby.RubyComplex.image:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyComplex.checkInfinite:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyComplex.getRuntime:()Lorg/jruby/Ruby;
lconst_1
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyComplex;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"infinite?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject checkInfinite(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 2
instanceof org.jruby.RubyInteger
ifne 1
aload 2
instanceof org.jruby.RubyRational
ifeq 2
1: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyFloat
ifeq 4
3: aload 2
checkcast org.jruby.RubyFloat
invokevirtual org.jruby.RubyFloat.infinite_p:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 1
invokestatic org.jruby.RubyComplex.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComplexSites;
getfield org.jruby.runtime.JavaSites$ComplexSites.infinite:Lorg/jruby/runtime/CallSite;
aload 1
aload 2
aload 2
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyComplex;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
value
static org.jruby.runtime.builtin.IRubyObject[] str_to_c_internal(org.jruby.runtime.ThreadContext, org.jruby.RubyString);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;)[Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=13, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 2: aload 1
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 4
start local 4 3: aload 4
invokevirtual org.jruby.util.ByteList.getRealSize:()I
ifne 4
iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
aastore
dup
iconst_1
aload 1
aastore
areturn
4: StackMap locals: org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.util.ByteList
StackMap stack:
aload 3
dup
astore 7
start local 7 5: dup
astore 6
start local 6 6: astore 5
start local 5 7: iconst_0
istore 8
start local 8 8: aload 2
getstatic org.jruby.util.Numeric$ComplexPatterns.comp_pat0:Lorg/joni/Regex;
invokestatic org.jruby.RubyRegexp.newDummyRegexp:(Lorg/jruby/Ruby;Lorg/joni/Regex;)Lorg/jruby/RubyRegexp;
aload 0
aload 1
iconst_0
invokevirtual org.jruby.RubyRegexp.match_m:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 9
start local 9 9: aload 9
aload 3
if_acmpeq 15
10: aload 9
checkcast org.jruby.RubyMatchData
astore 10
start local 10 11: aload 10
iconst_1
invokevirtual org.jruby.RubyMatchData.at:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
12: aload 10
iconst_2
invokevirtual org.jruby.RubyMatchData.at:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
13: aload 10
aload 0
invokevirtual org.jruby.RubyMatchData.post_match:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
14: iconst_1
istore 8
end local 10 15: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.RubyString org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.util.ByteList org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 9
aload 3
if_acmpne 27
16: aload 2
getstatic org.jruby.util.Numeric$ComplexPatterns.comp_pat1:Lorg/joni/Regex;
invokestatic org.jruby.RubyRegexp.newDummyRegexp:(Lorg/jruby/Ruby;Lorg/joni/Regex;)Lorg/jruby/RubyRegexp;
aload 0
aload 1
iconst_0
invokevirtual org.jruby.RubyRegexp.match_m:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 9
17: aload 9
aload 3
if_acmpeq 27
18: aload 9
checkcast org.jruby.RubyMatchData
astore 10
start local 10 19: aload 3
astore 5
20: aload 10
iconst_1
invokevirtual org.jruby.RubyMatchData.at:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
21: aload 6
aload 3
if_acmpne 22
aload 2
invokevirtual org.jruby.Ruby.newString:()Lorg/jruby/RubyString;
astore 6
22: StackMap locals: org.jruby.RubyMatchData
StackMap stack:
aload 10
iconst_2
invokevirtual org.jruby.RubyMatchData.at:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 11
start local 11 23: aload 11
aload 3
if_acmpne 24
aload 2
bipush 49
invokestatic org.jruby.RubyInteger.singleCharByteList:(B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
astore 11
24: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
dup
astore 6
checkcast org.jruby.RubyString
aload 11
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.cat:(Lorg/jruby/RubyString;)Lorg/jruby/RubyString;
pop
25: aload 10
aload 0
invokevirtual org.jruby.RubyMatchData.post_match:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
26: iconst_0
istore 8
end local 11 end local 10 27: StackMap locals:
StackMap stack:
aload 9
aload 3
if_acmpne 41
28: aload 2
getstatic org.jruby.util.Numeric$ComplexPatterns.comp_pat2:Lorg/joni/Regex;
invokestatic org.jruby.RubyRegexp.newDummyRegexp:(Lorg/jruby/Ruby;Lorg/joni/Regex;)Lorg/jruby/RubyRegexp;
aload 0
aload 1
iconst_0
invokevirtual org.jruby.RubyRegexp.match_m:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 9
29: aload 9
aload 3
if_acmpne 30
iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
aastore
dup
iconst_1
aload 1
aastore
areturn
30: StackMap locals:
StackMap stack:
aload 9
checkcast org.jruby.RubyMatchData
astore 10
start local 10 31: aload 10
iconst_1
invokevirtual org.jruby.RubyMatchData.at:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
32: aload 10
iconst_2
invokevirtual org.jruby.RubyMatchData.at:(I)Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
if_acmpne 35
33: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
34: goto 39
35: StackMap locals: org.jruby.RubyMatchData
StackMap stack:
aload 10
iconst_3
invokevirtual org.jruby.RubyMatchData.at:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
36: aload 10
iconst_4
invokevirtual org.jruby.RubyMatchData.at:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 11
start local 11 37: aload 11
aload 3
if_acmpne 38
aload 2
bipush 49
invokestatic org.jruby.RubyInteger.singleCharByteList:(B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
astore 11
38: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
dup
astore 6
checkcast org.jruby.RubyString
aload 11
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.cat:(Lorg/jruby/RubyString;)Lorg/jruby/RubyString;
pop
end local 11 39: StackMap locals:
StackMap stack:
aload 10
aload 0
invokevirtual org.jruby.RubyMatchData.post_match:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
40: iconst_0
istore 8
end local 10 41: StackMap locals:
StackMap stack:
aload 2
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
astore 10
start local 10 42: aload 0
aload 5
aload 10
invokestatic org.jruby.RubyComplex.convertString:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyFixnum;)Lorg/jruby/RubyNumeric;
astore 11
start local 11 43: aload 0
aload 6
aload 10
invokestatic org.jruby.RubyComplex.convertString:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyFixnum;)Lorg/jruby/RubyNumeric;
astore 12
start local 12 44: iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
iload 8
ifeq 45
aload 0
aload 11
aload 12
invokestatic org.jruby.RubyComplex.newComplexPolar:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 46
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.RubyString org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.util.ByteList org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.runtime.builtin.IRubyObject org.jruby.RubyFixnum org.jruby.RubyNumeric org.jruby.RubyNumeric
StackMap stack: org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.builtin.IRubyObject[] int
45: aload 0
aload 11
aload 12
invokestatic org.jruby.RubyComplex.newComplexCanonicalize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.RubyString org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.util.ByteList org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.runtime.builtin.IRubyObject org.jruby.RubyFixnum org.jruby.RubyNumeric org.jruby.RubyNumeric
StackMap stack: org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.builtin.IRubyObject[] int org.jruby.runtime.builtin.IRubyObject
46: aastore
dup
iconst_1
aload 7
aastore
areturn
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 context Lorg/jruby/runtime/ThreadContext;
0 47 1 str Lorg/jruby/RubyString;
1 47 2 runtime Lorg/jruby/Ruby;
2 47 3 nil Lorg/jruby/runtime/builtin/IRubyObject;
3 47 4 bytes Lorg/jruby/util/ByteList;
7 47 5 sr Lorg/jruby/runtime/builtin/IRubyObject;
6 47 6 si Lorg/jruby/runtime/builtin/IRubyObject;
5 47 7 re Lorg/jruby/runtime/builtin/IRubyObject;
8 47 8 po Z
9 47 9 m Lorg/jruby/runtime/builtin/IRubyObject;
11 15 10 match Lorg/jruby/RubyMatchData;
19 27 10 match Lorg/jruby/RubyMatchData;
23 27 11 t Lorg/jruby/runtime/builtin/IRubyObject;
31 41 10 match Lorg/jruby/RubyMatchData;
37 39 11 t Lorg/jruby/runtime/builtin/IRubyObject;
42 47 10 zero Lorg/jruby/RubyFixnum;
43 47 11 r Lorg/jruby/RubyNumeric;
44 47 12 i Lorg/jruby/RubyNumeric;
MethodParameters:
Name Flags
context
str
private static org.jruby.RubyNumeric convertString(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyFixnum);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyFixnum;)Lorg/jruby/RubyNumeric;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 1
aload 2
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 2: aload 1
aload 0
ldc "include?"
aload 3
getstatic org.jruby.RubyComplex.SEP:Lorg/jruby/util/ByteList;
invokestatic org.jruby.RubyString.newStringShared:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 4
3: aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_to_r:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyNumeric
areturn
4: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 0
aload 1
aload 0
ldc "count"
aload 3
getstatic org.jruby.RubyComplex._eE:Lorg/jruby/util/ByteList;
invokestatic org.jruby.RubyString.newStringShared:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
invokestatic org.jruby.util.Numeric.f_gt_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 6
5: aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_to_f:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyNumeric
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.jruby.util.Numeric.f_to_i:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyNumeric
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 s Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 zero Lorg/jruby/RubyFixnum;
2 7 3 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
context
s final
zero
private static org.jruby.RubyNumeric str_to_c_strict(org.jruby.runtime.ThreadContext, org.jruby.RubyString);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;)Lorg/jruby/RubyNumeric;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.RubyComplex.str_to_c_internal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 2
iconst_0
aaload
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 2
aload 2
iconst_1
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.length:()I
ifle 3
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "invalid value for convert(): "
aload 1
aload 0
ldc "inspect"
invokevirtual org.jruby.RubyString.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
checkcast org.jruby.RubyNumeric
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 str Lorg/jruby/RubyString;
1 4 2 ary [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
str
private static org.jruby.runtime.JavaSites$ComplexSites sites(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ComplexSites;
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.Complex:Lorg/jruby/runtime/JavaSites$ComplexSites;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
static int[] $SWITCH_TABLE$org$jruby$runtime$ClassIndex();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.RubyComplex.$SWITCH_TABLE$org$jruby$runtime$ClassIndex:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.jruby.runtime.ClassIndex.values:()[Lorg/jruby/runtime/ClassIndex;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.jruby.runtime.ClassIndex.ARRAY:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.jruby.runtime.ClassIndex.BASICOBJECT:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 39
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.jruby.runtime.ClassIndex.BIGDECIMAL:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 40
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.jruby.runtime.ClassIndex.BIGNUM:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.jruby.runtime.ClassIndex.BINDING:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 33
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.jruby.runtime.ClassIndex.CLASS:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 14
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic org.jruby.runtime.ClassIndex.COMPLEX:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 21
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic org.jruby.runtime.ClassIndex.CONTINUATION:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 38
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic org.jruby.runtime.ClassIndex.CONVERTER:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 24
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic org.jruby.runtime.ClassIndex.DIR:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 36
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic org.jruby.runtime.ClassIndex.ENCODING:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 23
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
getstatic org.jruby.runtime.ClassIndex.EXCEPTION:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 31
iastore
36: goto 38
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
37: pop
StackMap locals:
StackMap stack:
38: aload 0
getstatic org.jruby.runtime.ClassIndex.FALSE:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 8
iastore
39: goto 41
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
40: pop
StackMap locals:
StackMap stack:
41: aload 0
getstatic org.jruby.runtime.ClassIndex.FILE:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 27
iastore
42: goto 44
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
43: pop
StackMap locals:
StackMap stack:
44: aload 0
getstatic org.jruby.runtime.ClassIndex.FIXNUM:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iconst_2
iastore
45: goto 47
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
46: pop
StackMap locals:
StackMap stack:
47: aload 0
getstatic org.jruby.runtime.ClassIndex.FLOAT:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 12
iastore
48: goto 50
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
49: pop
StackMap locals:
StackMap stack:
50: aload 0
getstatic org.jruby.runtime.ClassIndex.GENERATOR:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 25
iastore
51: goto 53
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
52: pop
StackMap locals:
StackMap stack:
53: aload 0
getstatic org.jruby.runtime.ClassIndex.HASH:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 11
iastore
54: goto 56
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
55: pop
StackMap locals:
StackMap stack:
56: aload 0
getstatic org.jruby.runtime.ClassIndex.INTEGER:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 17
iastore
57: goto 59
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
58: pop
StackMap locals:
StackMap stack:
59: aload 0
getstatic org.jruby.runtime.ClassIndex.IO:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 32
iastore
60: goto 62
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
61: pop
StackMap locals:
StackMap stack:
62: aload 0
getstatic org.jruby.runtime.ClassIndex.MATCHDATA:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 28
iastore
63: goto 65
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
64: pop
StackMap locals:
StackMap stack:
65: aload 0
getstatic org.jruby.runtime.ClassIndex.MAX_CLASSES:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 41
iastore
66: goto 68
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
67: pop
StackMap locals:
StackMap stack:
68: aload 0
getstatic org.jruby.runtime.ClassIndex.METHOD:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 35
iastore
69: goto 71
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
70: pop
StackMap locals:
StackMap stack:
71: aload 0
getstatic org.jruby.runtime.ClassIndex.MODULE:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 13
iastore
72: goto 74
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
73: pop
StackMap locals:
StackMap stack:
74: aload 0
getstatic org.jruby.runtime.ClassIndex.NIL:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 6
iastore
75: goto 77
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
76: pop
StackMap locals:
StackMap stack:
77: aload 0
getstatic org.jruby.runtime.ClassIndex.NO_INDEX:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iconst_1
iastore
78: goto 80
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
79: pop
StackMap locals:
StackMap stack:
80: aload 0
getstatic org.jruby.runtime.ClassIndex.NUMERIC:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 18
iastore
81: goto 83
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
82: pop
StackMap locals:
StackMap stack:
83: aload 0
getstatic org.jruby.runtime.ClassIndex.OBJECT:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 15
iastore
84: goto 86
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
85: pop
StackMap locals:
StackMap stack:
86: aload 0
getstatic org.jruby.runtime.ClassIndex.PROC:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 34
iastore
87: goto 89
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
88: pop
StackMap locals:
StackMap stack:
89: aload 0
getstatic org.jruby.runtime.ClassIndex.RANGE:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 19
iastore
90: goto 92
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
91: pop
StackMap locals:
StackMap stack:
92: aload 0
getstatic org.jruby.runtime.ClassIndex.RATIONAL:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 22
iastore
93: goto 95
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
94: pop
StackMap locals:
StackMap stack:
95: aload 0
getstatic org.jruby.runtime.ClassIndex.REGEXP:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 10
iastore
96: goto 98
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
97: pop
StackMap locals:
StackMap stack:
98: aload 0
getstatic org.jruby.runtime.ClassIndex.STRING:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
iconst_5
iastore
99: goto 101
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
100: pop
StackMap locals:
StackMap stack:
101: aload 0
getstatic org.jruby.runtime.ClassIndex.STRUCT:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 16
iastore
102: goto 104
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
103: pop
StackMap locals:
StackMap stack:
104: aload 0
getstatic org.jruby.runtime.ClassIndex.SYMBOL:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 9
iastore
105: goto 107
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
106: pop
StackMap locals:
StackMap stack:
107: aload 0
getstatic org.jruby.runtime.ClassIndex.THREAD:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 30
iastore
108: goto 110
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
109: pop
StackMap locals:
StackMap stack:
110: aload 0
getstatic org.jruby.runtime.ClassIndex.THREADGROUP:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 29
iastore
111: goto 113
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
112: pop
StackMap locals:
StackMap stack:
113: aload 0
getstatic org.jruby.runtime.ClassIndex.TIME:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 20
iastore
114: goto 116
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
115: pop
StackMap locals:
StackMap stack:
116: aload 0
getstatic org.jruby.runtime.ClassIndex.TRUE:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 7
iastore
117: goto 119
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
118: pop
StackMap locals:
StackMap stack:
119: aload 0
getstatic org.jruby.runtime.ClassIndex.UNBOUNDMETHOD:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 37
iastore
120: goto 122
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
121: pop
StackMap locals:
StackMap stack:
122: aload 0
getstatic org.jruby.runtime.ClassIndex.YIELDER:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.runtime.ClassIndex.ordinal:()I
bipush 26
iastore
123: goto 125
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
124: pop
StackMap locals:
StackMap stack:
125: aload 0
dup
putstatic org.jruby.RubyComplex.$SWITCH_TABLE$org$jruby$runtime$ClassIndex:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
35 36 37 Class java.lang.NoSuchFieldError
38 39 40 Class java.lang.NoSuchFieldError
41 42 43 Class java.lang.NoSuchFieldError
44 45 46 Class java.lang.NoSuchFieldError
47 48 49 Class java.lang.NoSuchFieldError
50 51 52 Class java.lang.NoSuchFieldError
53 54 55 Class java.lang.NoSuchFieldError
56 57 58 Class java.lang.NoSuchFieldError
59 60 61 Class java.lang.NoSuchFieldError
62 63 64 Class java.lang.NoSuchFieldError
65 66 67 Class java.lang.NoSuchFieldError
68 69 70 Class java.lang.NoSuchFieldError
71 72 73 Class java.lang.NoSuchFieldError
74 75 76 Class java.lang.NoSuchFieldError
77 78 79 Class java.lang.NoSuchFieldError
80 81 82 Class java.lang.NoSuchFieldError
83 84 85 Class java.lang.NoSuchFieldError
86 87 88 Class java.lang.NoSuchFieldError
89 90 91 Class java.lang.NoSuchFieldError
92 93 94 Class java.lang.NoSuchFieldError
95 96 97 Class java.lang.NoSuchFieldError
98 99 100 Class java.lang.NoSuchFieldError
101 102 103 Class java.lang.NoSuchFieldError
104 105 106 Class java.lang.NoSuchFieldError
107 108 109 Class java.lang.NoSuchFieldError
110 111 112 Class java.lang.NoSuchFieldError
113 114 115 Class java.lang.NoSuchFieldError
116 117 118 Class java.lang.NoSuchFieldError
119 120 121 Class java.lang.NoSuchFieldError
122 123 124 Class java.lang.NoSuchFieldError
}
SourceFile: "RubyComplex.java"
NestMembers:
org.jruby.RubyComplex$1
InnerClasses:
org.jruby.RubyComplex$1
public final JavaClassKindOf = org.jruby.RubyModule$JavaClassKindOf of org.jruby.RubyModule
public CheckedSites = org.jruby.runtime.JavaSites$CheckedSites of org.jruby.runtime.JavaSites
public ComplexSites = org.jruby.runtime.JavaSites$ComplexSites of org.jruby.runtime.JavaSites
public final ComplexPatterns = org.jruby.util.Numeric$ComplexPatterns of org.jruby.util.Numeric
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Complex"}, parent = "Numeric")