public class org.jruby.util.TypeConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.util.TypeConverter
super_class: java.lang.Object
{
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=1, locals=0, args_size=0
0: ldc Lorg/jruby/util/TypeConverter;
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.util.TypeConverter.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/TypeConverter;
public static org.jruby.runtime.builtin.IRubyObject convertToType(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, java.lang.String, boolean);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.jruby.RubyClass.getClassRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
aload 1
aload 2
iload 3
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 target Lorg/jruby/RubyClass;
0 1 2 convertMethod Ljava/lang/String;
0 1 3 raise Z
MethodParameters:
Name Flags
obj
target
convertMethod
raise
public static org.jruby.runtime.builtin.IRubyObject convertToType(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, java.lang.String, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 0
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.checkCallMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 1: aload 5
ifnonnull 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 2
iload 4
invokestatic org.jruby.util.TypeConverter.handleUncoercibleObject:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Z)Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
2: aload 5
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 4 2 target Lorg/jruby/RubyClass;
0 4 3 convertMethod Ljava/lang/String;
0 4 4 raise Z
1 4 5 r Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
obj
target
convertMethod
raise
public static org.jruby.runtime.builtin.IRubyObject convertToType(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, org.jruby.runtime.JavaSites$CheckedSites, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 0
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.checkCallMethod:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 1: aload 5
ifnonnull 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 2
iload 4
invokestatic org.jruby.util.TypeConverter.handleUncoercibleObject:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Z)Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
2: aload 5
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 4 2 target Lorg/jruby/RubyClass;
0 4 3 sites Lorg/jruby/runtime/JavaSites$CheckedSites;
0 4 4 raise Z
1 4 5 r Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
obj
target
sites
raise
public static org.jruby.runtime.builtin.IRubyObject convertToType(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
aload 0
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_1
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 2: aload 1
aload 3
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 3
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
aload 1
aload 2
aload 3
invokestatic org.jruby.util.TypeConverter.newTypeError:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 4 1 target Lorg/jruby/RubyClass;
0 4 2 convertMethod Ljava/lang/String;
2 4 3 val Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
obj
target
convertMethod
public static org.jruby.runtime.builtin.IRubyObject convertToType(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, org.jruby.runtime.JavaSites$CheckedSites);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 1
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
iconst_1
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 2: aload 2
aload 4
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 3
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 2
aload 3
getfield org.jruby.runtime.JavaSites$CheckedSites.methodName:Ljava/lang/String;
aload 4
invokestatic org.jruby.util.TypeConverter.newTypeError:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 4 2 target Lorg/jruby/RubyClass;
0 4 3 sites Lorg/jruby/runtime/JavaSites$CheckedSites;
2 4 4 val Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
obj
target
sites
public static org.jruby.runtime.builtin.IRubyObject convertToType19(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, java.lang.String, boolean);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)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
iload 3
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 target Lorg/jruby/RubyClass;
0 1 2 convertMethod Ljava/lang/String;
0 1 3 raise Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj
target
convertMethod
raise
public static org.jruby.runtime.builtin.IRubyObject convertToType19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, org.jruby.runtime.JavaSites$CheckedSites, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
iload 4
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;Z)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 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 target Lorg/jruby/RubyClass;
0 1 3 sites Lorg/jruby/runtime/JavaSites$CheckedSites;
0 1 4 raise Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
obj
target
sites
raise
public static org.jruby.runtime.builtin.IRubyObject convertToType19(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)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.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 target Lorg/jruby/RubyClass;
0 1 2 convertMethod Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj
target
convertMethod
public static org.jruby.runtime.builtin.IRubyObject convertToType19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, org.jruby.runtime.JavaSites$CheckedSites);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)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.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
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 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 target Lorg/jruby/RubyClass;
0 1 3 sites Lorg/jruby/runtime/JavaSites$CheckedSites;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
obj
target
sites
public static org.jruby.RubyFloat toFloat(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFloat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyNumeric
ifeq 2
1: aload 1
checkcast org.jruby.RubyNumeric
invokevirtual org.jruby.RubyNumeric.convertToFloat:()Lorg/jruby/RubyFloat;
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyString
ifne 3
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc "Float"
invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
4: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.Ruby.getFloat:()Lorg/jruby/RubyClass;
ldc "to_f"
iconst_1
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyFloat
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 runtime Lorg/jruby/Ruby;
0 5 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
obj
public static org.jruby.runtime.builtin.IRubyObject checkData(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
instanceof org.jruby.runtime.marshal.DataType
ifeq 1
aload 0
areturn
1: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 1
start local 1 2: aload 1
aload 1
ldc "wrong argument type "
aload 0
invokestatic org.jruby.util.TypeConverter.typeAsString:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
ldc " (expected Data)"
invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
2 3 1 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
obj
public static org.jruby.RubyString typeAsString(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 1
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
ldc "nil"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
1: StackMap locals:
StackMap stack:
aload 0
instanceof org.jruby.RubyBoolean
ifeq 4
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 2
ldc "true"
goto 3
StackMap locals:
StackMap stack: org.jruby.Ruby
2: ldc "false"
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.Ruby java.lang.String
3: invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.rubyName:()Lorg/jruby/RubyString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
obj
public static org.jruby.RubySymbol checkID(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubySymbol;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 1
start local 1 1: aload 0
instanceof org.jruby.RubySymbol
ifne 2
aload 0
instanceof org.jruby.RubyString
ifeq 3
2: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 1
aload 0
invokestatic org.jruby.RubySymbol.newHardSymbol:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubySymbol;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.Ruby.getString:()Lorg/jruby/RubyClass;
ldc "to_str"
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 4: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 6
5: aload 1
aload 2
invokestatic org.jruby.RubySymbol.newHardSymbol:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubySymbol;
areturn
6: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 1
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 3
start local 3 7: aload 1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
aload 3
ldc "inspect"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is not a symbol nor a string"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()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 8 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 8 1 runtime Lorg/jruby/Ruby;
4 8 2 str Lorg/jruby/runtime/builtin/IRubyObject;
7 8 3 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
obj
public static org.jruby.RubySymbol checkID(org.jruby.Ruby, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubySymbol;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.String.intern:()Ljava/lang/String;
invokestatic org.jruby.RubySymbol.newHardSymbol:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubySymbol;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
runtime
name
public static org.jruby.runtime.builtin.IRubyObject convertToTypeWithCheck(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
aload 0
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 2: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 3
aload 3
areturn
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 1
aload 3
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 5
4: aload 0
aload 1
aload 2
aload 3
invokestatic org.jruby.util.TypeConverter.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/exceptions/RaiseException;
athrow
5: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 6 1 target Lorg/jruby/RubyClass;
0 6 2 convertMethod Ljava/lang/String;
2 6 3 val Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
obj
target
convertMethod
public static org.jruby.runtime.builtin.IRubyObject convertToTypeWithCheck(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, org.jruby.runtime.JavaSites$CheckedSites);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 1
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
iconst_0
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 2: aload 4
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 3
aload 4
areturn
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
aload 4
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 5
4: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 2
aload 3
getfield org.jruby.runtime.JavaSites$CheckedSites.methodName:Ljava/lang/String;
aload 4
invokestatic org.jruby.util.TypeConverter.newTypeError:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/exceptions/RaiseException;
athrow
5: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 context Lorg/jruby/runtime/ThreadContext;
0 6 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 6 2 target Lorg/jruby/RubyClass;
0 6 3 sites Lorg/jruby/runtime/JavaSites$CheckedSites;
2 6 4 val Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
obj
target
sites
public static org.jruby.runtime.builtin.IRubyObject convertToTypeWithCheck19(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)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.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 target Lorg/jruby/RubyClass;
0 1 2 convertMethod Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj
target
convertMethod
public static org.jruby.runtime.builtin.IRubyObject convertToTypeWithCheck19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, org.jruby.runtime.JavaSites$CheckedSites);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)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.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)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 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 target Lorg/jruby/RubyClass;
0 1 3 sites Lorg/jruby/runtime/JavaSites$CheckedSites;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
obj
target
sites
public static org.jruby.exceptions.RaiseException newTypeError(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/exceptions/RaiseException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
aload 1
aload 2
aload 3
invokestatic org.jruby.util.TypeConverter.newTypeError:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/exceptions/RaiseException;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 target Lorg/jruby/RubyClass;
0 1 2 convertMethod Ljava/lang/String;
0 1 3 val Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
obj
target
convertMethod
val
public static org.jruby.exceptions.RaiseException newTypeError(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/exceptions/RaiseException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=11, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
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;
astore 5
start local 5 1: aload 0
aload 0
ldc "can't convert "
aload 5
ldc " to "
aload 0
aload 2
invokestatic org.jruby.util.RubyStringBuilder.types:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyString;
ldc " ("
2: aload 5
new java.lang.StringBuilder
dup
bipush 35
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " gives "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
aload 4
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 ")"
3: invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/RubyString;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/RubyString;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
0 4 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 4 2 target Lorg/jruby/RubyClass;
0 4 3 methodName Ljava/lang/String;
0 4 4 val Lorg/jruby/runtime/builtin/IRubyObject;
1 4 5 className Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
obj
target
methodName
val
public static org.jruby.runtime.builtin.IRubyObject checkIntegerType(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=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyFixnum
ifeq 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.util.TypeConverter.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$TypeConverterSites;
astore 2
start local 2 2: aload 0
aload 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getInteger:()Lorg/jruby/RubyClass;
aload 2
getfield org.jruby.runtime.JavaSites$TypeConverterSites.to_int_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 3: aload 3
instanceof org.jruby.RubyInteger
ifeq 4
aload 3
goto 5
StackMap locals: org.jruby.runtime.JavaSites$TypeConverterSites org.jruby.runtime.builtin.IRubyObject
StackMap stack:
4: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
5: 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 obj Lorg/jruby/runtime/builtin/IRubyObject;
2 6 2 sites Lorg/jruby/runtime/JavaSites$TypeConverterSites;
3 6 3 conv Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
obj
public static org.jruby.runtime.builtin.IRubyObject checkIntegerType(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "to_int"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
aload 0
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokestatic org.jruby.util.TypeConverter.checkIntegerType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyFixnum
ifeq 2
aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 2
ldc "to_i"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
3: aload 0
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 3
start local 3 4: aload 3
invokestatic org.jruby.util.TypeConverter.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$TypeConverterSites;
astore 4
start local 4 5: aload 3
aload 1
aload 0
invokevirtual org.jruby.Ruby.getInteger:()Lorg/jruby/RubyClass;
aload 4
getfield org.jruby.runtime.JavaSites$TypeConverterSites.to_i_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 6: aload 5
instanceof org.jruby.RubyInteger
ifeq 7
aload 5
goto 8
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.JavaSites$TypeConverterSites org.jruby.runtime.builtin.IRubyObject
StackMap stack:
7: aload 0
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
8: areturn
end local 5 end local 4 end local 3 9: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.Ruby.getInteger:()Lorg/jruby/RubyClass;
aload 2
iconst_0
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 10: aload 3
instanceof org.jruby.RubyInteger
ifeq 11
aload 3
goto 12
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
11: aload 0
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
12: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 runtime Lorg/jruby/Ruby;
0 13 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 13 2 method Ljava/lang/String;
4 9 3 context Lorg/jruby/runtime/ThreadContext;
5 9 4 sites Lorg/jruby/runtime/JavaSites$TypeConverterSites;
6 9 5 conv Lorg/jruby/runtime/builtin/IRubyObject;
10 13 3 conv Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
obj
method
public static org.jruby.runtime.builtin.IRubyObject checkFloatType(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyFloat
ifeq 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyNumeric
ifne 2
aload 0
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 2
start local 2 3: aload 2
invokestatic org.jruby.util.TypeConverter.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$TypeConverterSites;
astore 3
start local 3 4: aload 2
aload 1
aload 0
invokevirtual org.jruby.Ruby.getFloat:()Lorg/jruby/RubyClass;
aload 3
getfield org.jruby.runtime.JavaSites$TypeConverterSites.to_f_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 runtime Lorg/jruby/Ruby;
0 5 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
3 5 2 context Lorg/jruby/runtime/ThreadContext;
4 5 3 sites Lorg/jruby/runtime/JavaSites$TypeConverterSites;
MethodParameters:
Name Flags
runtime
obj
public static org.jruby.runtime.builtin.IRubyObject checkHashType(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;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 1
instanceof org.jruby.RubyHash
ifeq 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.Ruby.getHash:()Lorg/jruby/RubyClass;
ldc "to_hash"
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
obj
public static org.jruby.runtime.builtin.IRubyObject checkHashType(org.jruby.runtime.ThreadContext, org.jruby.runtime.JavaSites$CheckedSites, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/JavaSites$CheckedSites;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyHash
ifeq 1
aload 2
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getHash:()Lorg/jruby/RubyClass;
aload 1
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
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 sites Lorg/jruby/runtime/JavaSites$CheckedSites;
0 2 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
sites
obj
public static org.jruby.runtime.builtin.IRubyObject checkStringType(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;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 1
instanceof org.jruby.RubyString
ifeq 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.Ruby.getString:()Lorg/jruby/RubyClass;
ldc "to_str"
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
obj
public static org.jruby.runtime.builtin.IRubyObject checkStringType(org.jruby.runtime.ThreadContext, org.jruby.runtime.JavaSites$CheckedSites, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/JavaSites$CheckedSites;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyString
ifeq 1
aload 2
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getString:()Lorg/jruby/RubyClass;
aload 1
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
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 sites Lorg/jruby/runtime/JavaSites$CheckedSites;
0 2 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
sites
obj
public static org.jruby.runtime.builtin.IRubyObject checkStringType(org.jruby.runtime.ThreadContext, org.jruby.runtime.JavaSites$CheckedSites, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/JavaSites$CheckedSites;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)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 2
instanceof org.jruby.RubyString
ifeq 1
aload 2
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
aload 1
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)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 context Lorg/jruby/runtime/ThreadContext;
0 2 1 sites Lorg/jruby/runtime/JavaSites$CheckedSites;
0 2 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 target Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
context
sites
obj
target
public static org.jruby.runtime.builtin.IRubyObject checkArrayType(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;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 1
instanceof org.jruby.RubyArray
ifeq 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.Ruby.getArray:()Lorg/jruby/RubyClass;
ldc "to_ary"
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
obj
public static org.jruby.runtime.builtin.IRubyObject checkArrayType(org.jruby.runtime.ThreadContext, org.jruby.runtime.JavaSites$CheckedSites, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/JavaSites$CheckedSites;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyArray
ifeq 1
aload 2
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getArray:()Lorg/jruby/RubyClass;
aload 1
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
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 sites Lorg/jruby/runtime/JavaSites$CheckedSites;
0 2 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
sites
obj
public static org.jruby.runtime.builtin.IRubyObject ioCheckIO(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;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 1
instanceof org.jruby.RubyIO
ifeq 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.Ruby.getIO:()Lorg/jruby/RubyClass;
ldc "to_io"
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
obj
public static org.jruby.RubyIO ioGetIO(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyIO;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.Ruby.getIO:()Lorg/jruby/RubyClass;
ldc "to_io"
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyIO
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
obj
public static org.jruby.runtime.builtin.IRubyObject checkArrayType(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=4, 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;
invokevirtual org.jruby.Ruby.getArray:()Lorg/jruby/RubyClass;
aload 0
invokestatic org.jruby.util.TypeConverter.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$TypeConverterSites;
getfield org.jruby.runtime.JavaSites$TypeConverterSites.to_ary_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
obj
public static org.jruby.runtime.builtin.IRubyObject checkArrayType(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
invokestatic org.jruby.util.TypeConverter.checkArrayType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj
public static org.jruby.runtime.builtin.IRubyObject handleUncoercibleObject(boolean, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass);
descriptor: (ZLorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)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 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 1
aload 2
iload 0
invokestatic org.jruby.util.TypeConverter.handleUncoercibleObject:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 raise Z
0 1 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 target Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
raise
obj
target
public static org.jruby.runtime.builtin.IRubyObject handleUncoercibleObject(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Z)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: iload 3
ifeq 1
aload 0
aload 0
ldc "no implicit conversion of "
aload 1
invokestatic org.jruby.util.TypeConverter.typeAsString:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
ldc " into "
aload 2
invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.Ruby.getNil:()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 runtime Lorg/jruby/Ruby;
0 2 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 target Lorg/jruby/RubyClass;
0 2 3 raise Z
MethodParameters:
Name Flags
runtime
obj
target
raise
public static org.jruby.runtime.builtin.IRubyObject handleImplicitlyUncoercibleObject(boolean, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass);
descriptor: (ZLorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)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 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 1
aload 2
iload 0
invokestatic org.jruby.util.TypeConverter.handleUncoercibleObject:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 raise Z
0 1 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 target Lorg/jruby/RubyClass;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
raise
obj
target
public static void checkType(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyModule);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jruby.util.TypeConverter.$assertionsDisabled:Z
ifne 1
aload 1
getstatic org.jruby.RubyBasicObject.UNDEF:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getClassIndex:()Lorg/jruby/runtime/ClassIndex;
astore 3
start local 3 2: aload 3
aload 2
invokevirtual org.jruby.RubyModule.getClassIndex:()Lorg/jruby/runtime/ClassIndex;
if_acmpeq 5
aload 2
aload 1
invokevirtual org.jruby.RubyModule.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 5
3: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 4: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 4
ldc "wrong argument type "
aload 4
aload 1
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 " (expected "
aload 4
aload 2
invokestatic org.jruby.util.RubyStringBuilder.types:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyString;
ldc ")"
invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 4 5: StackMap locals: org.jruby.runtime.ClassIndex
StackMap stack:
return
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 x Lorg/jruby/runtime/builtin/IRubyObject;
0 6 2 type Lorg/jruby/RubyModule;
2 6 3 xt Lorg/jruby/runtime/ClassIndex;
4 5 4 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
context
x
type final
public static org.jruby.runtime.builtin.IRubyObject convertToInteger(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;I)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: StackMap locals: org.jruby.Ruby
StackMap stack:
invokestatic org.jruby.util.TypeConverter.$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 { // 4
5: 6
6: 7
12: 2
17: 4
default: 9
}
2: StackMap locals:
StackMap stack:
iload 2
ifeq 3
aload 0
invokestatic org.jruby.util.TypeConverter.raiseIntegerBaseError:(Lorg/jruby/runtime/ThreadContext;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
checkcast org.jruby.RubyFloat
invokevirtual org.jruby.RubyFloat.getValue:()D
invokestatic org.jruby.RubyNumeric.dbl2ival:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyInteger;
areturn
4: StackMap locals:
StackMap stack:
iload 2
ifeq 5
aload 0
invokestatic org.jruby.util.TypeConverter.raiseIntegerBaseError:(Lorg/jruby/runtime/ThreadContext;)V
5: StackMap locals:
StackMap stack:
aload 1
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
checkcast org.jruby.RubyString
iload 2
iconst_1
invokestatic org.jruby.RubyNumeric.str2inum:(Lorg/jruby/Ruby;Lorg/jruby/RubyString;IZ)Lorg/jruby/RubyInteger;
areturn
7: StackMap locals:
StackMap stack:
iload 2
ifeq 8
aload 0
invokestatic org.jruby.util.TypeConverter.raiseIntegerBaseError:(Lorg/jruby/runtime/ThreadContext;)V
8: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "can't convert nil into Integer"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
9: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyString
ifeq 11
10: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
checkcast org.jruby.RubyString
iload 2
iconst_1
invokestatic org.jruby.RubyNumeric.str2inum:(Lorg/jruby/Ruby;Lorg/jruby/RubyString;IZ)Lorg/jruby/RubyInteger;
areturn
11: StackMap locals:
StackMap stack:
iload 2
ifeq 15
12: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.util.TypeConverter.checkStringType:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 13: aload 4
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 14
goto 1
14: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
invokestatic org.jruby.util.TypeConverter.raiseIntegerBaseError:(Lorg/jruby/runtime/ThreadContext;)V
end local 4 15: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual org.jruby.Ruby.getInteger:()Lorg/jruby/RubyClass;
aload 0
invokestatic org.jruby.util.TypeConverter.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$TypeConverterSites;
getfield org.jruby.runtime.JavaSites$TypeConverterSites.to_int_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
iconst_0
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 16: aload 4
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 17
aload 4
goto 18
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
17: aload 0
aload 1
aload 3
invokevirtual org.jruby.Ruby.getInteger:()Lorg/jruby/RubyClass;
aload 0
invokestatic org.jruby.util.TypeConverter.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$TypeConverterSites;
getfield org.jruby.runtime.JavaSites$TypeConverterSites.to_i_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;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
18: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 context Lorg/jruby/runtime/ThreadContext;
0 19 1 val Lorg/jruby/runtime/builtin/IRubyObject;
0 19 2 base I
1 19 3 runtime Lorg/jruby/Ruby;
13 15 4 tmp Lorg/jruby/runtime/builtin/IRubyObject;
16 19 4 tmp Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
val
base
public static org.jruby.RubyArray rb_Array(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.util.TypeConverter.checkArrayType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 6
2: aload 0
invokestatic org.jruby.util.TypeConverter.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$TypeConverterSites;
astore 3
start local 3 3: aload 0
aload 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getArray:()Lorg/jruby/RubyClass;
aload 3
getfield org.jruby.runtime.JavaSites$TypeConverterSites.to_a_checked:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokestatic org.jruby.util.TypeConverter.convertToTypeWithCheck:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
4: aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 6
5: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 3 6: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
checkcast org.jruby.RubyArray
areturn
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 val Lorg/jruby/runtime/builtin/IRubyObject;
1 7 2 tmp Lorg/jruby/runtime/builtin/IRubyObject;
3 6 3 sites Lorg/jruby/runtime/JavaSites$TypeConverterSites;
MethodParameters:
Name Flags
context
val
public static org.jruby.RubyArray to_ary(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, 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;
invokevirtual org.jruby.Ruby.getArray:()Lorg/jruby/RubyClass;
aload 0
invokestatic org.jruby.util.TypeConverter.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$TypeConverterSites;
getfield org.jruby.runtime.JavaSites$TypeConverterSites.to_ary_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;
checkcast org.jruby.RubyArray
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 ary Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
ary
private static void raiseIntegerBaseError(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "base specified for non string value"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
private static org.jruby.runtime.JavaSites$TypeConverterSites sites(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$TypeConverterSites;
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.TypeConverter:Lorg/jruby/runtime/JavaSites$TypeConverterSites;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public static org.jruby.runtime.builtin.IRubyObject convertToType(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, int, java.lang.String, boolean);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;ILjava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
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 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifne 1
iload 4
aload 0
aload 1
invokestatic org.jruby.util.TypeConverter.handleUncoercibleObject:(ZLorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 2 1 target Lorg/jruby/RubyClass;
0 2 2 convertMethodIndex I
0 2 3 convertMethod Ljava/lang/String;
0 2 4 raise Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj
target
convertMethodIndex
convertMethod
raise
public static org.jruby.runtime.builtin.IRubyObject convertToType(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, int, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;ILjava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
aload 0
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
iconst_1
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 2: aload 1
aload 4
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 5
3: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 5
start local 5 4: aload 5
aload 5
aload 5
aload 0
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;
new java.lang.StringBuilder
dup
ldc "#"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " should return "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
aload 1
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 5 5: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 6 1 target Lorg/jruby/RubyClass;
0 6 2 convertMethodIndex I
0 6 3 convertMethod Ljava/lang/String;
2 6 4 val Lorg/jruby/runtime/builtin/IRubyObject;
4 5 5 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj
target
convertMethodIndex
convertMethod
public static org.jruby.runtime.builtin.IRubyObject convertToTypeWithCheck(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, int, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;ILjava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
aload 0
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
iconst_0
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 2: aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 3
aload 4
areturn
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 1
aload 4
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 6
4: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 5
start local 5 5: aload 5
aload 5
aload 5
aload 0
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;
new java.lang.StringBuilder
dup
ldc "#"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " should return "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
aload 1
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 5 6: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 7 1 target Lorg/jruby/RubyClass;
0 7 2 convertMethodIndex I
0 7 3 convertMethod Ljava/lang/String;
2 7 4 val Lorg/jruby/runtime/builtin/IRubyObject;
5 6 5 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj
target
convertMethodIndex
convertMethod
public static java.lang.String convertToIdentifier(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.jruby.RubyString
ifeq 2
1: aload 0
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokestatic org.jruby.RubyEncoding.decodeISO:(Lorg/jruby/util/ByteList;)Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj
public static org.jruby.runtime.builtin.IRubyObject convertToTypeOrRaise(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 1
aload 0
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_1
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 2: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 3
aload 3
areturn
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 1
aload 3
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 6
4: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 4
start local 4 5: aload 4
aload 4
aload 4
aload 0
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;
new java.lang.StringBuilder
dup
ldc "#"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " should return "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
aload 1
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 4 6: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 7 1 target Lorg/jruby/RubyClass;
0 7 2 convertMethod Ljava/lang/String;
2 7 3 val Lorg/jruby/runtime/builtin/IRubyObject;
5 6 4 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj
target
convertMethod
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.util.TypeConverter.$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.util.TypeConverter.$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: "TypeConverter.java"
InnerClasses:
public CheckedSites = org.jruby.runtime.JavaSites$CheckedSites of org.jruby.runtime.JavaSites
public TypeConverterSites = org.jruby.runtime.JavaSites$TypeConverterSites of org.jruby.runtime.JavaSites