public class org.jruby.javasupport.JavaUtil$StringConverter extends org.jruby.javasupport.JavaUtil$JavaConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.javasupport.JavaUtil$StringConverter
super_class: org.jruby.javasupport.JavaUtil$JavaConverter
{
private org.jcodings.Encoding encoding;
descriptor: Lorg/jcodings/Encoding;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial org.jruby.javasupport.JavaUtil$StringConverter.<init>:(Lorg/jcodings/Encoding;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaUtil$StringConverter;
public void <init>(org.jcodings.Encoding);
descriptor: (Lorg/jcodings/Encoding;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljava/lang/String;
invokespecial org.jruby.javasupport.JavaUtil$JavaConverter.<init>:(Ljava/lang/Class;)V
1: aload 0
aload 1
putfield org.jruby.javasupport.JavaUtil$StringConverter.encoding:Lorg/jcodings/Encoding;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaUtil$StringConverter;
0 3 1 encoding Lorg/jcodings/Encoding;
MethodParameters:
Name Flags
encoding
public org.jruby.runtime.builtin.IRubyObject convert(org.jruby.Ruby, java.lang.Object);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 1
aload 1
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.javasupport.JavaUtil$StringConverter.encoding:Lorg/jcodings/Encoding;
ifnonnull 3
2: aload 1
aload 2
checkcast java.lang.String
invokestatic org.jruby.RubyString.newUnicodeString:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
3: StackMap locals:
StackMap stack:
aload 1
aload 2
checkcast java.lang.String
aload 0
getfield org.jruby.javasupport.JavaUtil$StringConverter.encoding:Lorg/jcodings/Encoding;
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jcodings/Encoding;)Lorg/jruby/RubyString;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaUtil$StringConverter;
0 4 1 runtime Lorg/jruby/Ruby;
0 4 2 object Ljava/lang/Object;
MethodParameters:
Name Flags
runtime
object
public org.jruby.runtime.builtin.IRubyObject get(org.jruby.Ruby, java.lang.Object, int);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Object;I)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
checkcast java.lang.String[]
iload 3
aaload
invokevirtual org.jruby.javasupport.JavaUtil$StringConverter.convert:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaUtil$StringConverter;
0 1 1 runtime Lorg/jruby/Ruby;
0 1 2 array Ljava/lang/Object;
0 1 3 i I
MethodParameters:
Name Flags
runtime
array
i
public void set(org.jruby.Ruby, java.lang.Object, int, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Object;ILorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
checkcast java.lang.String[]
iload 3
aload 4
ldc Ljava/lang/String;
invokeinterface org.jruby.runtime.builtin.IRubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.String
aastore
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaUtil$StringConverter;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 array Ljava/lang/Object;
0 2 3 i I
0 2 4 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
array
i
value
}
SourceFile: "JavaUtil.java"
NestHost: org.jruby.javasupport.JavaUtil
InnerClasses:
public abstract JavaConverter = org.jruby.javasupport.JavaUtil$JavaConverter of org.jruby.javasupport.JavaUtil
public StringConverter = org.jruby.javasupport.JavaUtil$StringConverter of org.jruby.javasupport.JavaUtil