public class org.jruby.java.addons.IOJavaAddons
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.java.addons.IOJavaAddons
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/java/addons/IOJavaAddons;
public static org.jruby.runtime.builtin.IRubyObject to_inputstream(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.jruby.RubyIO
astore 2
start local 2 1: aload 2
invokevirtual org.jruby.RubyIO.getOpenFile:()Lorg/jruby/util/io/OpenFile;
aload 0
invokevirtual org.jruby.util.io.OpenFile.checkReadable:(Lorg/jruby/runtime/ThreadContext;)V
2: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokevirtual org.jruby.RubyIO.getInStream:()Ljava/io/InputStream;
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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;
1 3 2 io Lorg/jruby/RubyIO;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_input_stream", "to_inputstream"})
MethodParameters:
Name Flags
context
self
public static org.jruby.runtime.builtin.IRubyObject to_outputstream(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.jruby.RubyIO
astore 2
start local 2 1: aload 2
invokevirtual org.jruby.RubyIO.getOpenFile:()Lorg/jruby/util/io/OpenFile;
aload 0
invokevirtual org.jruby.util.io.OpenFile.checkWritable:(Lorg/jruby/runtime/ThreadContext;)V
2: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokevirtual org.jruby.RubyIO.getOutStream:()Ljava/io/OutputStream;
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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;
1 3 2 io Lorg/jruby/RubyIO;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_output_stream", "to_outputstream"})
MethodParameters:
Name Flags
context
self
public static org.jruby.runtime.builtin.IRubyObject to_channel(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.jruby.RubyIO
astore 2
start local 2 1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokevirtual org.jruby.RubyIO.getChannel:()Ljava/nio/channels/Channel;
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)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;
1 2 2 io Lorg/jruby/RubyIO;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
self
}
SourceFile: "IOJavaAddons.java"
NestMembers:
org.jruby.java.addons.IOJavaAddons$AnyIO
InnerClasses:
public AnyIO = org.jruby.java.addons.IOJavaAddons$AnyIO of org.jruby.java.addons.IOJavaAddons