public class org.jruby.ext.stringio.StringIO$GenericWritable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.stringio.StringIO$GenericWritable
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/ext/stringio/StringIO$GenericWritable;
public static org.jruby.runtime.builtin.IRubyObject append(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
ldc "write"
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<<"}, required = 1)
MethodParameters:
Name Flags
context
self
arg
public static org.jruby.runtime.builtin.IRubyObject print(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.jruby.RubyIO.print:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"print"}, rest = true)
MethodParameters:
Name Flags
context
self
args
public static org.jruby.runtime.builtin.IRubyObject printf(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
ldc "write"
aload 0
aload 1
aload 2
invokestatic org.jruby.RubyKernel.sprintf:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"printf"}, required = 1, rest = true)
MethodParameters:
Name Flags
context
self
args
public static org.jruby.runtime.builtin.IRubyObject puts(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 2
arraylength
ifne 4
2: aload 0
aload 1
aload 3
getstatic org.jruby.ext.stringio.StringIO.NEWLINE:Lorg/jruby/util/ByteList;
invokestatic org.jruby.RubyString.newStringShared:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
invokestatic org.jruby.RubyIO.write:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
3: aload 3
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals: org.jruby.Ruby
StackMap stack:
iconst_0
istore 4
start local 4 5: goto 24
6: StackMap locals: int
StackMap stack:
aconst_null
astore 5
start local 5 7: aload 2
iload 4
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 20
8: aload 2
iload 4
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.checkArrayType:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 9: aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 16
10: aload 6
checkcast org.jruby.RubyArray
astore 7
start local 7 11: aload 3
aload 7
invokevirtual org.jruby.Ruby.isInspecting:(Ljava/lang/Object;)Z
ifeq 14
12: aload 3
ldc "[...]"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 5
13: goto 20
14: StackMap locals: org.jruby.RubyString org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray
StackMap stack:
aload 0
aload 1
aload 7
invokestatic org.jruby.ext.stringio.StringIO$GenericWritable.inspectPuts:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyArray;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
15: goto 23
end local 7 16: StackMap locals:
StackMap stack:
aload 2
iload 4
aaload
instanceof org.jruby.RubyString
ifeq 19
17: aload 2
iload 4
aaload
checkcast org.jruby.RubyString
astore 5
18: goto 20
19: StackMap locals:
StackMap stack:
aload 2
iload 4
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.asString:()Lorg/jruby/RubyString;
astore 5
end local 6 20: StackMap locals:
StackMap stack:
aload 5
ifnull 21
aload 0
aload 1
aload 5
invokestatic org.jruby.RubyIO.write:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
21: StackMap locals:
StackMap stack:
aload 5
ifnull 22
aload 5
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
getstatic org.jruby.ext.stringio.StringIO.NEWLINE:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.endsWith:(Lorg/jruby/util/ByteList;)Z
ifne 23
22: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
getstatic org.jruby.ext.stringio.StringIO.NEWLINE:Lorg/jruby/util/ByteList;
invokestatic org.jruby.RubyString.newStringShared:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
invokestatic org.jruby.RubyIO.write:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 5 23: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
24: iload 4
aload 2
arraylength
if_icmplt 6
end local 4 25: aload 3
invokevirtual org.jruby.Ruby.getNil:()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 26 0 context Lorg/jruby/runtime/ThreadContext;
0 26 1 maybeIO Lorg/jruby/runtime/builtin/IRubyObject;
0 26 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 26 3 runtime Lorg/jruby/Ruby;
5 25 4 i I
7 23 5 line Lorg/jruby/RubyString;
9 20 6 tmp Lorg/jruby/runtime/builtin/IRubyObject;
11 16 7 arr Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"puts"}, rest = true)
MethodParameters:
Name Flags
context
maybeIO
args
private static org.jruby.runtime.builtin.IRubyObject inspectPuts(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyArray);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyArray;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 3
aload 2
invokevirtual org.jruby.Ruby.registerInspecting:(Ljava/lang/Object;)V
2: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyArray.toJavaArray:()[Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.ext.stringio.StringIO$GenericWritable.puts:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
3: aload 3
aload 2
invokevirtual org.jruby.Ruby.unregisterInspecting:(Ljava/lang/Object;)V
4: aload 5
areturn
5: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray org.jruby.Ruby
StackMap stack: java.lang.Throwable
astore 4
6: aload 3
aload 2
invokevirtual org.jruby.Ruby.unregisterInspecting:(Ljava/lang/Object;)V
7: aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 context Lorg/jruby/runtime/ThreadContext;
0 8 1 maybeIO Lorg/jruby/runtime/builtin/IRubyObject;
0 8 2 array Lorg/jruby/RubyArray;
1 8 3 runtime Lorg/jruby/Ruby;
Exception table:
from to target type
1 3 5 any
MethodParameters:
Name Flags
context
maybeIO
array
public static org.jruby.runtime.builtin.IRubyObject syswrite(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.jruby.RubyIO.write:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"syswrite"}, required = 1)
MethodParameters:
Name Flags
context
self
arg
public static org.jruby.runtime.builtin.IRubyObject syswrite_nonblock(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 3
aload 2
invokestatic org.jruby.ast.util.ArgsUtil.getOptionsArg:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: aload 0
aload 1
aload 2
iconst_0
aaload
invokestatic org.jruby.ext.stringio.StringIO$GenericWritable.syswrite:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)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 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 3 3 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"write_nonblock"}, required = 1, optional = 1)
MethodParameters:
Name Flags
context
self
args
}
SourceFile: "StringIO.java"
NestHost: org.jruby.ext.stringio.StringIO
InnerClasses:
public GenericWritable = org.jruby.ext.stringio.StringIO$GenericWritable of org.jruby.ext.stringio.StringIO