class org.jruby.ext.stringio.StringIO$4 implements org.jruby.util.io.Getline$Callback<org.jruby.ext.stringio.StringIO, org.jruby.RubyArray>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.ext.stringio.StringIO$4
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
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/ext/stringio/StringIO$4;
public org.jruby.RubyArray getline(org.jruby.runtime.ThreadContext, org.jruby.ext.stringio.StringIO, org.jruby.runtime.builtin.IRubyObject, int, boolean, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/stringio/StringIO;Lorg/jruby/runtime/builtin/IRubyObject;IZLorg/jruby/runtime/Block;)Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, 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 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newArray:()Lorg/jruby/RubyArray;
astore 7
start local 7 1: iload 4
ifne 4
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "invalid limit: 0 for readlines"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
start local 8 3: StackMap locals: org.jruby.RubyArray org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 7
aload 8
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
end local 8 4: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 3
iload 4
iload 5
invokevirtual org.jruby.ext.stringio.StringIO.getline:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;IZ)Lorg/jruby/runtime/builtin/IRubyObject;
dup
astore 8
start local 8 5: invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 3
6: aload 7
areturn
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 7 0 this Lorg/jruby/ext/stringio/StringIO$4;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 self Lorg/jruby/ext/stringio/StringIO;
0 7 3 rs Lorg/jruby/runtime/builtin/IRubyObject;
0 7 4 limit I
0 7 5 chomp Z
0 7 6 block Lorg/jruby/runtime/Block;
1 7 7 ary Lorg/jruby/RubyArray;
3 4 8 line Lorg/jruby/runtime/builtin/IRubyObject;
5 7 8 line Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
self
rs
limit
chomp
block
public org.jruby.runtime.builtin.IRubyObject getline(org.jruby.runtime.ThreadContext, java.lang.Object, org.jruby.runtime.builtin.IRubyObject, int, boolean, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Lorg/jruby/runtime/builtin/IRubyObject;IZLorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=7, locals=7, args_size=7
0: aload 0
aload 1
aload 2
checkcast org.jruby.ext.stringio.StringIO
aload 3
iload 4
iload 5
aload 6
invokevirtual org.jruby.ext.stringio.StringIO$4.getline:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/stringio/StringIO;Lorg/jruby/runtime/builtin/IRubyObject;IZLorg/jruby/runtime/Block;)Lorg/jruby/RubyArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/jruby/util/io/Getline$Callback<Lorg/jruby/ext/stringio/StringIO;Lorg/jruby/RubyArray;>;
SourceFile: "StringIO.java"
EnclosingMethod: org.jruby.ext.stringio.StringIO
NestHost: org.jruby.ext.stringio.StringIO
InnerClasses:
org.jruby.ext.stringio.StringIO$4
public abstract Callback = org.jruby.util.io.Getline$Callback of org.jruby.util.io.Getline