/* THIS FILE IS GENERATED. DO NOT EDIT */
package org.jruby.gen;

import org.jruby.Ruby;
import org.jruby.RubyModule;
import org.jruby.RubyClass;
import org.jruby.anno.TypePopulator;
import org.jruby.internal.runtime.methods.JavaMethod;
import org.jruby.internal.runtime.methods.DynamicMethod;
import org.jruby.runtime.Arity;
import org.jruby.runtime.Visibility;
import org.jruby.runtime.MethodIndex;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;

@Generated("org.jruby.anno.AnnotationBinder")
@SuppressWarnings("deprecation")
public class org$jruby$RubyIO$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        RubyClass singletonClass = cls.getSingletonClass();
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$0$newInstance(singletonClass, Visibility.PUBLIC, "new");
        populateMethod(javaMethod, -1, "newInstance", true, false, org.jruby.RubyIO.class, "newInstance", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "new", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$3$select(singletonClass, Visibility.PUBLIC, "select");
        populateMethod(javaMethod, -1, "select", true, false, org.jruby.RubyIO.class, "select", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "select", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$3$read(singletonClass, Visibility.PUBLIC, "read");
        populateMethod(javaMethod, -1, "read", true, false, org.jruby.RubyIO.class, "read", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "read", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$2$popen(singletonClass, Visibility.PUBLIC, "popen");
        populateMethod(javaMethod, -1, "popen", true, false, org.jruby.RubyIO.class, "popen", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "popen", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$2$copy_stream(singletonClass, Visibility.PUBLIC, "copy_stream");
        populateMethod(javaMethod, -1, "copy_stream", true, false, org.jruby.RubyIO.class, "copy_stream", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "copy_stream", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$2$binwrite(singletonClass, Visibility.PUBLIC, "binwrite");
        populateMethod(javaMethod, -1, "binwrite", true, false, org.jruby.RubyIO.class, "binwrite", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "binwrite", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$0$open(singletonClass, Visibility.PUBLIC, "open");
        populateMethod(javaMethod, -1, "open", true, false, org.jruby.RubyIO.class, "open", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "open", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$3$foreach(singletonClass, Visibility.PUBLIC, "foreach");
        populateMethod(javaMethod, -1, "foreach", true, false, org.jruby.RubyIO.class, "foreach", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "foreach", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$0$popen3(singletonClass, Visibility.PUBLIC, "popen3");
        populateMethod(javaMethod, -1, "popen3", true, false, org.jruby.RubyIO.class, "popen3", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "popen3", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$2$sysopen(singletonClass, Visibility.PUBLIC, "sysopen");
        populateMethod(javaMethod, -1, "sysopen", true, false, org.jruby.RubyIO.class, "sysopen", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "sysopen", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$2$binread(singletonClass, Visibility.PUBLIC, "binread");
        populateMethod(javaMethod, -1, "binread", true, false, org.jruby.RubyIO.class, "binread", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "binread", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$0$for_fd(singletonClass, Visibility.PUBLIC, "for_fd");
        populateMethod(javaMethod, -1, "for_fd", true, false, org.jruby.RubyIO.class, "for_fd", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "for_fd", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$3$pipe(singletonClass, Visibility.PUBLIC, "pipe");
        populateMethod(javaMethod, -1, "pipe", true, false, org.jruby.RubyIO.class, "pipe", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "pipe", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$1$0$tryConvert(singletonClass, Visibility.PUBLIC, "try_convert");
        populateMethod(javaMethod, 1, "tryConvert", true, false, org.jruby.RubyIO.class, "tryConvert", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "try_convert", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$2$write(singletonClass, Visibility.PUBLIC, "write");
        populateMethod(javaMethod, -1, "write", true, false, org.jruby.RubyIO.class, "write", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "write", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$s$0$3$readlines(singletonClass, Visibility.PUBLIC, "readlines");
        populateMethod(javaMethod, -1, "readlines", true, false, org.jruby.RubyIO.class, "readlines", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "readlines", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$1$0$op_append(cls, Visibility.PUBLIC, "<<");
        populateMethod(javaMethod, 1, "op_append", false, false, org.jruby.RubyIO.class, "op_append", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "<<", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$readchar(cls, Visibility.PUBLIC, "readchar");
        populateMethod(javaMethod, 0, "readchar", false, false, org.jruby.RubyIO.class, "readchar", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "readchar", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$print(cls, Visibility.PUBLIC, "print");
        populateMethod(javaMethod, -1, "print", false, false, org.jruby.RubyIO.class, "print", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "print", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$getbyte(cls, Visibility.PUBLIC, "getbyte");
        populateMethod(javaMethod, 0, "getbyte", false, false, org.jruby.RubyIO.class, "getbyte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "getbyte", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$fsync(cls, Visibility.PUBLIC, "fsync");
        populateMethod(javaMethod, 0, "fsync", false, false, org.jruby.RubyIO.class, "fsync", org.jruby.RubyFixnum.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "fsync", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$2$0$pwrite(cls, Visibility.PUBLIC, "pwrite");
        populateMethod(javaMethod, 2, "pwrite", false, false, org.jruby.RubyIO.class, "pwrite", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "pwrite", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$pid(cls, Visibility.PUBLIC, "pid");
        populateMethod(javaMethod, 0, "pid", false, false, org.jruby.RubyIO.class, "pid", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "pid", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$1$0$sync_set(cls, Visibility.PUBLIC, "sync=");
        populateMethod(javaMethod, 1, "sync_set", false, false, org.jruby.RubyIO.class, "sync_set", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "sync=", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$readbyte(cls, Visibility.PUBLIC, "readbyte");
        populateMethod(javaMethod, 0, "readbyte", false, false, org.jruby.RubyIO.class, "readbyte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "readbyte", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$1$sysread(cls, Visibility.PUBLIC, "sysread");
        populateMethod(javaMethod, -1, "sysread", false, false, org.jruby.RubyIO.class, "sysread", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "sysread", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$write(cls, Visibility.PUBLIC, "write");
        populateMethod(javaMethod, -1, "write", false, false, org.jruby.RubyIO.class, "write", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "write", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$each(cls, Visibility.PUBLIC, "each");
        populateMethod(javaMethod, -1, "each", false, false, org.jruby.RubyIO.class, "each", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$stat(cls, Visibility.PUBLIC, "stat");
        populateMethod(javaMethod, 0, "stat", false, false, org.jruby.RubyIO.class, "stat", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "stat", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$each_line(cls, Visibility.PUBLIC, "each_line");
        populateMethod(javaMethod, -1, "each_line", false, false, org.jruby.RubyIO.class, "each_line", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_line", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$1$0$lineno_set(cls, Visibility.PUBLIC, "lineno=");
        populateMethod(javaMethod, 1, "lineno_set", false, false, org.jruby.RubyIO.class, "lineno_set", org.jruby.RubyFixnum.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "lineno=", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$flush(cls, Visibility.PUBLIC, "flush");
        populateMethod(javaMethod, 0, "flush", false, false, org.jruby.RubyIO.class, "flush", org.jruby.RubyIO.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "flush", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$read(cls, Visibility.PUBLIC, "read");
        populateMethod(javaMethod, -1, "read", false, false, org.jruby.RubyIO.class, "read", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "read", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$set_encoding(cls, Visibility.PUBLIC, "set_encoding");
        populateMethod(javaMethod, -1, "set_encoding", false, false, org.jruby.RubyIO.class, "set_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "set_encoding", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$1$0$ungetc(cls, Visibility.PUBLIC, "ungetc");
        populateMethod(javaMethod, 1, "ungetc", false, false, org.jruby.RubyIO.class, "ungetc", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "ungetc", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$1$0$initialize_copy(cls, Visibility.PRIVATE, "initialize_copy");
        populateMethod(javaMethod, 1, "initialize_copy", false, false, org.jruby.RubyIO.class, "initialize_copy", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "initialize_copy", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$close_read(cls, Visibility.PUBLIC, "close_read");
        populateMethod(javaMethod, 0, "close_read", false, false, org.jruby.RubyIO.class, "close_read", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "close_read", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$fileno(cls, Visibility.PUBLIC, "fileno");
        populateMethod(javaMethod, 0, "fileno", false, false, org.jruby.RubyIO.class, "fileno", org.jruby.RubyFixnum.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "fileno", javaMethod);
        cls.putAlias("to_i", aliasedMethod, "fileno");
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$1$reopen(cls, Visibility.PUBLIC, "reopen");
        populateMethod(javaMethod, -1, "reopen", false, false, org.jruby.RubyIO.class, "reopen", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "reopen", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$1$0$autoclose_set(cls, Visibility.PUBLIC, "autoclose=");
        populateMethod(javaMethod, 1, "autoclose_set", false, false, org.jruby.RubyIO.class, "autoclose_set", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "autoclose=", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$autoclose(cls, Visibility.PUBLIC, "autoclose?");
        populateMethod(javaMethod, 0, "autoclose", false, false, org.jruby.RubyIO.class, "autoclose", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "autoclose?", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$binmode(cls, Visibility.PUBLIC, "binmode");
        populateMethod(javaMethod, 0, "binmode", false, false, org.jruby.RubyIO.class, "binmode", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "binmode", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$rewind(cls, Visibility.PUBLIC, "rewind");
        populateMethod(javaMethod, 0, "rewind", false, false, org.jruby.RubyIO.class, "rewind", org.jruby.RubyFixnum.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "rewind", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$fcntl(cls, Visibility.PUBLIC, "fcntl");
        populateMethod(javaMethod, -1, "fcntl", false, false, org.jruby.RubyIO.class, "fcntl", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "fcntl", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$1$sysseek(cls, Visibility.PUBLIC, "sysseek");
        populateMethod(javaMethod, -1, "sysseek", false, false, org.jruby.RubyIO.class, "sysseek", org.jruby.RubyFixnum.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "sysseek", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$close(cls, Visibility.PUBLIC, "close");
        populateMethod(javaMethod, 0, "close", false, false, org.jruby.RubyIO.class, "close", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "close", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$close_write(cls, Visibility.PUBLIC, "close_write");
        populateMethod(javaMethod, 0, "close_write", false, false, org.jruby.RubyIO.class, "close_write", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "close_write", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$1$0$ungetbyte(cls, Visibility.PUBLIC, "ungetbyte");
        populateMethod(javaMethod, 1, "ungetbyte", false, false, org.jruby.RubyIO.class, "ungetbyte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "ungetbyte", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$1$0$syswrite(cls, Visibility.PUBLIC, "syswrite");
        populateMethod(javaMethod, 1, "syswrite", false, false, org.jruby.RubyIO.class, "syswrite", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "syswrite", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$1$ioctl(cls, Visibility.PUBLIC, "ioctl");
        populateMethod(javaMethod, -1, "ioctl", false, false, org.jruby.RubyIO.class, "ioctl", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "ioctl", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$tty_p(cls, Visibility.PUBLIC, "tty?");
        populateMethod(javaMethod, 0, "tty_p", false, false, org.jruby.RubyIO.class, "tty_p", org.jruby.RubyBoolean.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "tty?", javaMethod);
        cls.putMethod(runtime, "isatty", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$2$advise(cls, Visibility.PUBLIC, "advise");
        populateMethod(javaMethod, -1, "advise", false, false, org.jruby.RubyIO.class, "advise", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "advise", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$sync(cls, Visibility.PUBLIC, "sync");
        populateMethod(javaMethod, 0, "sync", false, false, org.jruby.RubyIO.class, "sync", org.jruby.RubyBoolean.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "sync", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$pos(cls, Visibility.PUBLIC, "pos");
        populateMethod(javaMethod, 0, "pos", false, false, org.jruby.RubyIO.class, "pos", org.jruby.RubyFixnum.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "pos", javaMethod);
        cls.putMethod(runtime, "tell", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$each_codepoint(cls, Visibility.PUBLIC, "each_codepoint");
        populateMethod(javaMethod, 0, "each_codepoint", false, false, org.jruby.RubyIO.class, "each_codepoint", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_codepoint", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$pread(cls, Visibility.PUBLIC, "pread");
        populateMethod(javaMethod, -1, "pread", false, false, org.jruby.RubyIO.class, "pread", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "pread", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$1$readpartial(cls, Visibility.PUBLIC, "readpartial");
        populateMethod(javaMethod, -1, "readpartial", false, false, org.jruby.RubyIO.class, "readpartial", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "readpartial", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$each_byte(cls, Visibility.PUBLIC, "each_byte");
        populateMethod(javaMethod, 0, "each_byte", false, false, org.jruby.RubyIO.class, "each_byte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_byte", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$lines(cls, Visibility.PUBLIC, "lines");
        populateMethod(javaMethod, 0, "lines", false, false, org.jruby.RubyIO.class, "lines", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "lines", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$1$0$pos_set(cls, Visibility.PUBLIC, "pos=");
        populateMethod(javaMethod, 1, "pos_set", false, false, org.jruby.RubyIO.class, "pos_set", org.jruby.RubyFixnum.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "pos=", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$op_binmode(cls, Visibility.PUBLIC, "binmode?");
        populateMethod(javaMethod, 0, "op_binmode", false, false, org.jruby.RubyIO.class, "op_binmode", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "binmode?", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$readline(cls, Visibility.PUBLIC, "readline");
        populateMethod(javaMethod, -1, "readline", false, false, org.jruby.RubyIO.class, "readline", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "readline", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$external_encoding(cls, Visibility.PUBLIC, "external_encoding");
        populateMethod(javaMethod, 0, "external_encoding", false, false, org.jruby.RubyIO.class, "external_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "external_encoding", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$2$read_nonblock(cls, Visibility.PUBLIC, "read_nonblock");
        populateMethod(javaMethod, -1, "read_nonblock", false, false, org.jruby.RubyIO.class, "read_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "read_nonblock", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$each_char(cls, Visibility.PUBLIC, "each_char");
        populateMethod(javaMethod, 0, "each_char", false, false, org.jruby.RubyIO.class, "each_char", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_char", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$eof_p(cls, Visibility.PUBLIC, "eof?");
        populateMethod(javaMethod, 0, "eof_p", false, false, org.jruby.RubyIO.class, "eof_p", org.jruby.RubyBoolean.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "eof?", javaMethod);
        cls.putMethod(runtime, "eof", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$gets(cls, Visibility.PUBLIC, "gets");
        populateMethod(javaMethod, -1, "gets", false, false, org.jruby.RubyIO.class, "gets", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "gets", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$1$write_nonblock(cls, Visibility.PUBLIC, "write_nonblock");
        populateMethod(javaMethod, -1, "write_nonblock", false, false, org.jruby.RubyIO.class, "write_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "write_nonblock", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$puts(cls, Visibility.PUBLIC, "puts");
        populateMethod(javaMethod, -1, "puts", false, false, org.jruby.RubyIO.class, "puts", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "puts", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect");
        populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.RubyIO.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$printf(cls, Visibility.PUBLIC, "printf");
        populateMethod(javaMethod, -1, "printf", false, false, org.jruby.RubyIO.class, "printf", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "printf", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$1$0$close_on_exec_set(cls, Visibility.PUBLIC, "close_on_exec=");
        populateMethod(javaMethod, 1, "close_on_exec_set", false, false, org.jruby.RubyIO.class, "close_on_exec_set", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "close_on_exec=", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$lineno(cls, Visibility.PUBLIC, "lineno");
        populateMethod(javaMethod, 0, "lineno", false, false, org.jruby.RubyIO.class, "lineno", org.jruby.RubyFixnum.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "lineno", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$close_on_exec_p(cls, Visibility.PUBLIC, "close_on_exec?");
        populateMethod(javaMethod, 0, "close_on_exec_p", false, false, org.jruby.RubyIO.class, "close_on_exec_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "close_on_exec?", javaMethod);
        cls.putMethod(runtime, "close_on_exec", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$closed_p(cls, Visibility.PUBLIC, "closed?");
        populateMethod(javaMethod, 0, "closed_p", false, false, org.jruby.RubyIO.class, "closed_p", org.jruby.RubyBoolean.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "closed?", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$bytes(cls, Visibility.PUBLIC, "bytes");
        populateMethod(javaMethod, 0, "bytes", false, false, org.jruby.RubyIO.class, "bytes", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "bytes", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$internal_encoding(cls, Visibility.PUBLIC, "internal_encoding");
        populateMethod(javaMethod, 0, "internal_encoding", false, false, org.jruby.RubyIO.class, "internal_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "internal_encoding", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$codepoints(cls, Visibility.PUBLIC, "codepoints");
        populateMethod(javaMethod, 0, "codepoints", false, false, org.jruby.RubyIO.class, "codepoints", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "codepoints", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.RubyIO.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$1$0$putc(cls, Visibility.PUBLIC, "putc");
        populateMethod(javaMethod, 1, "putc", false, false, org.jruby.RubyIO.class, "putc", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "putc", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$to_io(cls, Visibility.PUBLIC, "to_io");
        populateMethod(javaMethod, 0, "to_io", false, false, org.jruby.RubyIO.class, "to_io", org.jruby.RubyIO.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_io", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$getc(cls, Visibility.PUBLIC, "getc");
        populateMethod(javaMethod, 0, "getc", false, false, org.jruby.RubyIO.class, "getc", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "getc", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$readlines(cls, Visibility.PUBLIC, "readlines");
        populateMethod(javaMethod, -1, "readlines", false, false, org.jruby.RubyIO.class, "readlines", org.jruby.RubyArray.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "readlines", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$0$0$chars(cls, Visibility.PUBLIC, "chars");
        populateMethod(javaMethod, 0, "chars", false, false, org.jruby.RubyIO.class, "chars", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "chars", javaMethod);
        javaMethod = new org.jruby.RubyIO$INVOKER$i$seek(cls, Visibility.PUBLIC, "seek");
        populateMethod(javaMethod, -1, "seek", false, false, org.jruby.RubyIO.class, "seek", org.jruby.RubyFixnum.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "seek", javaMethod);

        runtime.addBoundMethods("org.jruby.RubyIO", "op_append", "<<", "select", "select", "fcntl", "fcntl", "syswrite", "syswrite", "pwrite", "pwrite", "ioctl", "ioctl", "sync_set", "sync=", "tty_p", "tty?", "foreach", "foreach", "sysread", "sysread", "pos", "pos", "popen3", "popen3", "pread", "pread", "pipe", "pipe", "tryConvert", "try_convert", "readpartial", "readpartial", "lines", "lines", "write", "write", "write", "write", "pos_set", "pos=", "op_binmode", "binmode?", "readline", "readline", "newInstance", "new", "read", "read", "read", "read", "lineno_set", "lineno=", "popen", "popen", "copy_stream", "copy_stream", "read_nonblock", "read_nonblock", "each_char", "each_char", "eof_p", "eof?", "gets", "gets", "write_nonblock", "write_nonblock", "puts", "puts", "close_on_exec_set", "close_on_exec=", "lineno", "lineno", "close_on_exec_p", "close_on_exec?", "fileno", "fileno", "closed_p", "closed?", "reopen", "reopen", "bytes", "bytes", "sysopen", "sysopen", "autoclose_set", "autoclose=", "autoclose", "autoclose?", "binmode", "binmode", "initialize", "initialize", "to_io", "to_io", "readlines", "readlines", "readlines", "readlines", "getc", "getc", "chars", "chars", "binwrite", "binwrite", "open", "open", "binread", "binread", "for_fd", "for_fd", "readchar", "readchar", "print", "print", "getbyte", "getbyte", "fsync", "fsync", "pid", "pid", "readbyte", "readbyte", "each", "each", "stat", "stat", "each_line", "each_line", "flush", "flush", "set_encoding", "set_encoding", "ungetc", "ungetc", "initialize_copy", "initialize_copy", "close_read", "close_read", "rewind", "rewind", "sysseek", "sysseek", "close", "close", "close_write", "close_write", "ungetbyte", "ungetbyte", "advise", "advise", "sync", "sync", "each_codepoint", "each_codepoint", "each_byte", "each_byte", "external_encoding", "external_encoding", "inspect", "inspect", "printf", "printf", "internal_encoding", "internal_encoding", "codepoints", "codepoints", "putc", "putc", "seek", "seek");
    }
    static {
        MethodIndex.addMethodReadFieldsPacked(1, "print");
        MethodIndex.addMethodWriteFieldsPacked(1, "gets;readline");
    }
}