class org.jruby.RubyIO$6 extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyIO$6
super_class: java.io.InputStream
{
final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0010) ACC_FINAL
final org.jruby.RubyIO this$0;
descriptor: Lorg/jruby/RubyIO;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.RubyIO);
descriptor: (Lorg/jruby/RubyIO;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.jruby.RubyIO$6.this$0:Lorg/jruby/RubyIO;
aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 1
invokevirtual org.jruby.RubyIO.getRuntime:()Lorg/jruby/Ruby;
putfield org.jruby.RubyIO$6.runtime:Lorg/jruby/Ruby;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyIO$6;
MethodParameters:
Name Flags
this$0 final
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyIO$6.this$0:Lorg/jruby/RubyIO;
aload 0
getfield org.jruby.RubyIO$6.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyIO.getByte:(Lorg/jruby/runtime/ThreadContext;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyIO$6;
Exceptions:
throws java.io.IOException
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual org.jruby.RubyIO$6.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyIO$6;
0 1 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.RubyIO$6.runtime:Lorg/jruby/Ruby;
aload 1
iload 2
iload 3
invokestatic org.jruby.RubyString.newStringNoCopy:(Lorg/jruby/Ruby;[BII)Lorg/jruby/RubyString;
astore 4
start local 4 1: aload 0
getfield org.jruby.RubyIO$6.this$0:Lorg/jruby/RubyIO;
aload 0
getfield org.jruby.RubyIO$6.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
iload 3
aload 4
invokevirtual org.jruby.RubyIO.doRead:(Lorg/jruby/runtime/ThreadContext;ILorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
astore 5
start local 5 2: aload 5
ifnull 3
aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 4
StackMap locals: org.jruby.RubyString org.jruby.runtime.builtin.IRubyObject
StackMap stack:
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.jruby.RubyString.size:()I
ireturn
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 5 0 this Lorg/jruby/RubyIO$6;
0 5 1 b [B
0 5 2 off I
0 5 3 len I
1 5 4 str Lorg/jruby/RubyString;
2 5 5 i Lorg/jruby/runtime/builtin/IRubyObject;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyIO$6.this$0:Lorg/jruby/RubyIO;
aload 0
getfield org.jruby.RubyIO$6.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
lload 1
iconst_1
invokevirtual org.jruby.RubyIO.doSeek:(Lorg/jruby/runtime/ThreadContext;JI)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyIO$6;
0 1 1 n J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyIO$6.this$0:Lorg/jruby/RubyIO;
instanceof org.jruby.RubyFile
ifeq 5
1: aload 0
getfield org.jruby.RubyIO$6.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 1
start local 1 2: aload 0
getfield org.jruby.RubyIO$6.this$0:Lorg/jruby/RubyIO;
checkcast org.jruby.RubyFile
aload 1
invokevirtual org.jruby.RubyFile.getSize:(Lorg/jruby/runtime/ThreadContext;)J
lstore 2
start local 2 3: lload 2
lconst_0
lcmp
ifne 4
iconst_0
ireturn
4: StackMap locals: org.jruby.runtime.ThreadContext long
StackMap stack:
lload 2
lconst_0
lcmp
iflt 5
lload 2
aload 0
getfield org.jruby.RubyIO$6.this$0:Lorg/jruby/RubyIO;
aload 1
invokevirtual org.jruby.RubyIO.pos:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.RubyFixnum.getLongValue:()J
lsub
l2i
ireturn
end local 2 end local 1 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/RubyIO$6;
2 5 1 context Lorg/jruby/runtime/ThreadContext;
3 5 2 size J
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyIO$6.this$0:Lorg/jruby/RubyIO;
invokevirtual org.jruby.RubyIO.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyIO$6;
Exceptions:
throws java.io.IOException
}
SourceFile: "RubyIO.java"
EnclosingMethod: org.jruby.RubyIO.getInStream:()Ljava/io/InputStream;
NestHost: org.jruby.RubyIO
InnerClasses:
org.jruby.RubyIO$6