class org.jruby.RubyConverter$2 implements org.jcodings.transcode.TranscoderDB$SearchPathCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyConverter$2
super_class: java.lang.Object
{
org.jruby.runtime.encoding.EncodingService es;
descriptor: Lorg/jruby/runtime/encoding/EncodingService;
flags: (0x0000)
private final org.jruby.runtime.builtin.IRubyObject[] val$convpath;
descriptor: [Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.jruby.runtime.builtin.IRubyObject val$nil;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.jruby.Ruby val$runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final byte[][] val$encNames;
descriptor: [[B
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.builtin.IRubyObject, byte[][]);
descriptor: (Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[[B)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield org.jruby.RubyConverter$2.val$runtime:Lorg/jruby/Ruby;
aload 0
aload 2
putfield org.jruby.RubyConverter$2.val$convpath:[Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
aload 3
putfield org.jruby.RubyConverter$2.val$nil:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
aload 4
putfield org.jruby.RubyConverter$2.val$encNames:[[B
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
putfield org.jruby.RubyConverter$2.es:Lorg/jruby/runtime/encoding/EncodingService;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyConverter$2;
MethodParameters:
Name Flags
val$runtime final
val$convpath final
val$nil final
val$encNames final
public void call(byte[], byte[], int);
descriptor: ([B[BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.RubyConverter$2.val$convpath:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aaload
aload 0
getfield org.jruby.RubyConverter$2.val$nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 2
1: aload 0
getfield org.jruby.RubyConverter$2.val$convpath:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aload 0
getfield org.jruby.RubyConverter$2.val$runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newArray:()Lorg/jruby/RubyArray;
aastore
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyConverter$2.val$encNames:[[B
iconst_0
aaload
aload 0
getfield org.jruby.RubyConverter$2.val$encNames:[[B
iconst_1
aaload
invokestatic org.jruby.util.io.EncodingUtils.DECORATOR_P:([B[B)Z
ifeq 5
3: aload 0
getfield org.jruby.RubyConverter$2.val$runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyConverter$2.val$encNames:[[B
iconst_2
aaload
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;[B)Lorg/jruby/RubyString;
astore 4
start local 4 4: goto 9
end local 4 5: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyConverter$2.val$runtime:Lorg/jruby/Ruby;
6: aload 0
getfield org.jruby.RubyConverter$2.es:Lorg/jruby/runtime/encoding/EncodingService;
aload 0
getfield org.jruby.RubyConverter$2.es:Lorg/jruby/runtime/encoding/EncodingService;
aload 1
invokevirtual org.jruby.runtime.encoding.EncodingService.findEncodingOrAliasEntry:([B)Lorg/jcodings/EncodingDB$Entry;
invokevirtual org.jcodings.EncodingDB$Entry.getEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jruby.runtime.encoding.EncodingService.convertEncodingToRubyEncoding:(Lorg/jcodings/Encoding;)Lorg/jruby/runtime/builtin/IRubyObject;
7: aload 0
getfield org.jruby.RubyConverter$2.es:Lorg/jruby/runtime/encoding/EncodingService;
aload 0
getfield org.jruby.RubyConverter$2.es:Lorg/jruby/runtime/encoding/EncodingService;
aload 2
invokevirtual org.jruby.runtime.encoding.EncodingService.findEncodingOrAliasEntry:([B)Lorg/jcodings/EncodingDB$Entry;
invokevirtual org.jcodings.EncodingDB$Entry.getEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jruby.runtime.encoding.EncodingService.convertEncodingToRubyEncoding:(Lorg/jcodings/Encoding;)Lorg/jruby/runtime/builtin/IRubyObject;
8: invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
astore 4
start local 4 9: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
getfield org.jruby.RubyConverter$2.val$convpath:[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aaload
checkcast org.jruby.RubyArray
iload 3
i2l
aload 4
invokevirtual org.jruby.RubyArray.store:(JLorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/RubyConverter$2;
0 11 1 source [B
0 11 2 destination [B
0 11 3 depth I
4 5 4 v Lorg/jruby/runtime/builtin/IRubyObject;
9 11 4 v Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
source
destination
depth
}
SourceFile: "RubyConverter.java"
EnclosingMethod: org.jruby.RubyConverter.search_convpath:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
NestHost: org.jruby.RubyConverter
InnerClasses:
public final Entry = org.jcodings.EncodingDB$Entry of org.jcodings.EncodingDB
public abstract SearchPathCallback = org.jcodings.transcode.TranscoderDB$SearchPathCallback of org.jcodings.transcode.TranscoderDB
org.jruby.RubyConverter$2