public class org.jruby.util.io.Getline
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.util.io.Getline
super_class: java.lang.Object
{
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/io/Getline;
public static <Self, Return extends org.jruby.runtime.builtin.IRubyObject> Return getlineCall(org.jruby.runtime.ThreadContext, org.jruby.util.io.Getline$Callback<Self, Return>, Self, org.jcodings.Encoding);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, 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
iconst_0
aconst_null
aconst_null
aconst_null
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokestatic org.jruby.util.io.Getline.getlineCall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;ILorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)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 getline Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;
0 1 2 self TSelf;
0 1 3 enc_io Lorg/jcodings/Encoding;
Signature: <Self:Ljava/lang/Object;Return::Lorg/jruby/runtime/builtin/IRubyObject;>(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;TSelf;Lorg/jcodings/Encoding;)TReturn;
MethodParameters:
Name Flags
context
getline
self
enc_io
public static <Self, Return extends org.jruby.runtime.builtin.IRubyObject> Return getlineCall(org.jruby.runtime.ThreadContext, org.jruby.util.io.Getline$Callback<Self, Return>, Self, org.jcodings.Encoding, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, 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
iconst_1
aload 4
aconst_null
aconst_null
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokestatic org.jruby.util.io.Getline.getlineCall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;ILorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)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 getline Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;
0 1 2 self TSelf;
0 1 3 enc_io Lorg/jcodings/Encoding;
0 1 4 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
Signature: <Self:Ljava/lang/Object;Return::Lorg/jruby/runtime/builtin/IRubyObject;>(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;TSelf;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;)TReturn;
MethodParameters:
Name Flags
context
getline
self
enc_io
arg0
public static <Self, Return extends org.jruby.runtime.builtin.IRubyObject> Return getlineCall(org.jruby.runtime.ThreadContext, org.jruby.util.io.Getline$Callback<Self, Return>, Self, org.jcodings.Encoding, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
iconst_2
aload 4
aload 5
aconst_null
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokestatic org.jruby.util.io.Getline.getlineCall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;ILorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
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 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 getline Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;
0 1 2 self TSelf;
0 1 3 enc_io Lorg/jcodings/Encoding;
0 1 4 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 5 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
Signature: <Self:Ljava/lang/Object;Return::Lorg/jruby/runtime/builtin/IRubyObject;>(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;TSelf;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)TReturn;
MethodParameters:
Name Flags
context
getline
self
enc_io
arg0
arg1
public static <Self, Return extends org.jruby.runtime.builtin.IRubyObject> Return getlineCall(org.jruby.runtime.ThreadContext, org.jruby.util.io.Getline$Callback<Self, Return>, Self, org.jcodings.Encoding, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
iconst_3
aload 4
aload 5
aload 6
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokestatic org.jruby.util.io.Getline.getlineCall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;ILorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 getline Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;
0 1 2 self TSelf;
0 1 3 enc_io Lorg/jcodings/Encoding;
0 1 4 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 5 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 6 arg2 Lorg/jruby/runtime/builtin/IRubyObject;
Signature: <Self:Ljava/lang/Object;Return::Lorg/jruby/runtime/builtin/IRubyObject;>(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;TSelf;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)TReturn;
MethodParameters:
Name Flags
context
getline
self
enc_io
arg0
arg1
arg2
public static <Self, Return extends org.jruby.runtime.builtin.IRubyObject> Return getlineCall(org.jruby.runtime.ThreadContext, org.jruby.util.io.Getline$Callback<Self, Return>, Self, org.jcodings.Encoding, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, 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
iconst_0
aconst_null
aconst_null
aconst_null
aload 4
invokestatic org.jruby.util.io.Getline.getlineCall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;ILorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)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 getline Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;
0 1 2 self TSelf;
0 1 3 enc_io Lorg/jcodings/Encoding;
0 1 4 block Lorg/jruby/runtime/Block;
Signature: <Self:Ljava/lang/Object;Return::Lorg/jruby/runtime/builtin/IRubyObject;>(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;TSelf;Lorg/jcodings/Encoding;Lorg/jruby/runtime/Block;)TReturn;
MethodParameters:
Name Flags
context
getline
self
enc_io
block
public static <Self, Return extends org.jruby.runtime.builtin.IRubyObject> Return getlineCall(org.jruby.runtime.ThreadContext, org.jruby.util.io.Getline$Callback<Self, Return>, Self, org.jcodings.Encoding, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
iconst_1
aload 4
aconst_null
aconst_null
aload 5
invokestatic org.jruby.util.io.Getline.getlineCall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;ILorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
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 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 getline Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;
0 1 2 self TSelf;
0 1 3 enc_io Lorg/jcodings/Encoding;
0 1 4 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 5 block Lorg/jruby/runtime/Block;
Signature: <Self:Ljava/lang/Object;Return::Lorg/jruby/runtime/builtin/IRubyObject;>(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;TSelf;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)TReturn;
MethodParameters:
Name Flags
context
getline
self
enc_io
arg0
block
public static <Self, Return extends org.jruby.runtime.builtin.IRubyObject> Return getlineCall(org.jruby.runtime.ThreadContext, org.jruby.util.io.Getline$Callback<Self, Return>, Self, org.jcodings.Encoding, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
iconst_2
aload 4
aload 5
aconst_null
aload 6
invokestatic org.jruby.util.io.Getline.getlineCall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;ILorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 getline Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;
0 1 2 self TSelf;
0 1 3 enc_io Lorg/jcodings/Encoding;
0 1 4 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 5 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 6 block Lorg/jruby/runtime/Block;
Signature: <Self:Ljava/lang/Object;Return::Lorg/jruby/runtime/builtin/IRubyObject;>(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;TSelf;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)TReturn;
MethodParameters:
Name Flags
context
getline
self
enc_io
arg0
arg1
block
public static <Self, Return extends org.jruby.runtime.builtin.IRubyObject> Return getlineCall(org.jruby.runtime.ThreadContext, org.jruby.util.io.Getline$Callback<Self, Return>, Self, org.jcodings.Encoding, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
aload 3
iconst_3
aload 4
aload 5
aload 6
aload 7
invokestatic org.jruby.util.io.Getline.getlineCall:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;ILorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 getline Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;
0 1 2 self TSelf;
0 1 3 enc_io Lorg/jcodings/Encoding;
0 1 4 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 5 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 6 arg2 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 7 block Lorg/jruby/runtime/Block;
Signature: <Self:Ljava/lang/Object;Return::Lorg/jruby/runtime/builtin/IRubyObject;>(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;TSelf;Lorg/jcodings/Encoding;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)TReturn;
MethodParameters:
Name Flags
context
getline
self
enc_io
arg0
arg1
arg2
block
public static <Self, Return extends org.jruby.runtime.builtin.IRubyObject> Return getlineCall(org.jruby.runtime.ThreadContext, org.jruby.util.io.Getline$Callback<Self, Return>, Self, org.jcodings.Encoding, int, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback;Ljava/lang/Object;Lorg/jcodings/Encoding;ILorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=22, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 9
start local 9 1: iconst_0
istore 10
start local 10 2: aload 9
astore 14
start local 14 3: aconst_null
astore 15
start local 15 4: aconst_null
astore 16
start local 16 5: iload 4
tableswitch { // 1 - 3
1: 6
2: 8
3: 11
default: 14
}
6: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.util.io.Getline$Callback java.lang.Object org.jcodings.Encoding int org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.Block org.jruby.runtime.builtin.IRubyObject int top top top org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 5
astore 14
7: goto 14
8: StackMap locals:
StackMap stack:
aload 5
astore 15
9: aload 6
astore 14
10: goto 14
11: StackMap locals:
StackMap stack:
aload 5
astore 15
12: aload 6
astore 16
13: aload 7
astore 14
14: StackMap locals:
StackMap stack:
aload 0
15: getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 17
start local 17 16: aload 17
aload 14
invokestatic org.jruby.ast.util.ArgsUtil.getOptionsArg:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 13
start local 13 17: aload 13
aload 9
if_acmpne 24
18: iload 4
iconst_1
if_icmpne 21
19: aload 5
astore 15
20: goto 27
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.util.io.Getline$Callback java.lang.Object org.jcodings.Encoding int org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.Block org.jruby.runtime.builtin.IRubyObject int top top org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby
StackMap stack:
21: iload 4
iconst_2
if_icmpne 27
22: aload 6
astore 16
23: goto 27
24: StackMap locals:
StackMap stack:
aload 0
ldc "chomp"
aload 13
checkcast org.jruby.RubyHash
invokestatic org.jruby.ast.util.ArgsUtil.extractKeywordArg:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/RubyHash;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 18
start local 18 25: aload 18
ifnull 27
26: aload 18
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
istore 10
end local 18 27: StackMap locals:
StackMap stack:
aload 17
invokevirtual org.jruby.Ruby.getRecordSeparatorVar:()Lorg/jruby/runtime/GlobalVariable;
invokevirtual org.jruby.runtime.GlobalVariable.get:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 18
start local 18 28: aload 9
astore 19
start local 19 29: aload 15
ifnull 36
aload 16
ifnonnull 36
30: aload 9
astore 20
start local 20 31: aload 15
aload 9
if_acmpeq 32
aload 17
aload 15
invokestatic org.jruby.util.TypeConverter.checkStringType:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
dup
astore 20
aload 9
if_acmpeq 34
32: StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 20
astore 18
33: goto 41
34: StackMap locals:
StackMap stack:
aload 15
astore 19
end local 20 35: goto 41
StackMap locals:
StackMap stack:
36: aload 15
ifnull 41
aload 16
ifnull 41
37: aload 15
astore 18
38: aload 18
aload 9
if_acmpeq 40
39: aload 18
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
astore 18
40: StackMap locals:
StackMap stack:
aload 16
astore 19
41: StackMap locals:
StackMap stack:
aload 18
aload 9
if_acmpeq 51
42: aload 18
checkcast org.jruby.RubyString
astore 20
start local 20 43: aload 20
invokevirtual org.jruby.RubyString.getEncoding:()Lorg/jcodings/Encoding;
astore 21
start local 21 44: aload 3
aload 21
if_acmpeq 51
45: aload 20
invokevirtual org.jruby.RubyString.scanForCodeRange:()I
bipush 16
if_icmpne 47
46: aload 20
invokevirtual org.jruby.RubyString.size:()I
ifle 51
aload 3
invokevirtual org.jcodings.Encoding.isAsciiCompatible:()Z
ifne 51
47: StackMap locals: org.jruby.RubyString org.jcodings.Encoding
StackMap stack:
aload 18
aload 17
invokevirtual org.jruby.Ruby.getGlobalVariables:()Lorg/jruby/internal/runtime/GlobalVariables;
invokevirtual org.jruby.internal.runtime.GlobalVariables.getDefaultSeparator:()Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 50
48: aload 17
iconst_2
aload 3
invokestatic org.jruby.RubyString.newStringLight:(Lorg/jruby/Ruby;ILorg/jcodings/Encoding;)Lorg/jruby/RubyString;
bipush 10
aload 3
invokevirtual org.jruby.RubyString.cat:(ILorg/jcodings/Encoding;)Lorg/jruby/RubyString;
astore 18
49: goto 51
50: StackMap locals:
StackMap stack:
aload 17
new java.lang.StringBuilder
dup
ldc "encoding mismatch: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " IO with "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 21
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " RS"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 21 end local 20 51: StackMap locals:
StackMap stack:
aload 19
aload 9
if_acmpne 52
ldc -1
goto 53
StackMap locals:
StackMap stack:
52: aload 19
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyInteger.getLongValue:()J
StackMap locals:
StackMap stack: long
53: lstore 11
start local 11 54: aload 1
aload 0
aload 2
aload 18
lload 11
l2i
iload 10
aload 8
invokeinterface org.jruby.util.io.Getline$Callback.getline:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Lorg/jruby/runtime/builtin/IRubyObject;IZLorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 context Lorg/jruby/runtime/ThreadContext;
0 55 1 getline Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;
0 55 2 self TSelf;
0 55 3 enc_io Lorg/jcodings/Encoding;
0 55 4 argc I
0 55 5 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 55 6 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
0 55 7 arg2 Lorg/jruby/runtime/builtin/IRubyObject;
0 55 8 block Lorg/jruby/runtime/Block;
1 55 9 nil Lorg/jruby/runtime/builtin/IRubyObject;
2 55 10 chomp Z
54 55 11 limit J
17 55 13 opt Lorg/jruby/runtime/builtin/IRubyObject;
3 55 14 optArg Lorg/jruby/runtime/builtin/IRubyObject;
4 55 15 sepArg Lorg/jruby/runtime/builtin/IRubyObject;
5 55 16 limArg Lorg/jruby/runtime/builtin/IRubyObject;
16 55 17 runtime Lorg/jruby/Ruby;
25 27 18 chompKwarg Lorg/jruby/runtime/builtin/IRubyObject;
28 55 18 rs Lorg/jruby/runtime/builtin/IRubyObject;
29 55 19 lim Lorg/jruby/runtime/builtin/IRubyObject;
31 35 20 tmp Lorg/jruby/runtime/builtin/IRubyObject;
43 51 20 rs_s Lorg/jruby/RubyString;
44 51 21 enc_rs Lorg/jcodings/Encoding;
Signature: <Self:Ljava/lang/Object;Return::Lorg/jruby/runtime/builtin/IRubyObject;>(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/Getline$Callback<TSelf;TReturn;>;TSelf;Lorg/jcodings/Encoding;ILorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)TReturn;
MethodParameters:
Name Flags
context
getline
self
enc_io
argc
arg0
arg1
arg2
block
}
SourceFile: "Getline.java"
NestMembers:
org.jruby.util.io.Getline$Callback
InnerClasses:
public abstract Callback = org.jruby.util.io.Getline$Callback of org.jruby.util.io.Getline