/* 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$RubyArgsFile$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$readlines(cls, Visibility.PUBLIC, "readlines");
        populateMethod(javaMethod, -1, "readlines", true, false, org.jruby.RubyArgsFile.class, "readlines", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "readlines", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$readbyte(cls, Visibility.PUBLIC, "readbyte");
        populateMethod(javaMethod, 0, "readbyte", true, false, org.jruby.RubyArgsFile.class, "readbyte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "readbyte", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$tell(cls, Visibility.PUBLIC, "tell");
        populateMethod(javaMethod, 0, "tell", true, false, org.jruby.RubyArgsFile.class, "tell", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "tell", javaMethod);
        cls.putAlias("pos", aliasedMethod, "tell");
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$skip(cls, Visibility.PUBLIC, "skip");
        populateMethod(javaMethod, 0, "skip", true, false, org.jruby.RubyArgsFile.class, "skip", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "skip", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$each_byte(cls, Visibility.PUBLIC, "each_byte");
        populateMethod(javaMethod, -1, "each_byte", true, false, org.jruby.RubyArgsFile.class, "each_byte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_byte", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$2$read_nonblock(cls, Visibility.PUBLIC, "read_nonblock");
        populateMethod(javaMethod, -1, "read_nonblock", true, false, org.jruby.RubyArgsFile.class, "read_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "read_nonblock", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$argv(cls, Visibility.PUBLIC, "argv");
        populateMethod(javaMethod, 0, "argv", true, false, org.jruby.RubyArgsFile.class, "argv", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "argv", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$seek(cls, Visibility.PUBLIC, "seek");
        populateMethod(javaMethod, -1, "seek", true, false, org.jruby.RubyArgsFile.class, "seek", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "seek", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$codepoints(cls, Visibility.PUBLIC, "codepoints");
        populateMethod(javaMethod, 0, "codepoints", true, false, org.jruby.RubyArgsFile.class, "codepoints", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "codepoints", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$file(cls, Visibility.PUBLIC, "file");
        populateMethod(javaMethod, 0, "file", true, false, org.jruby.RubyArgsFile.class, "file", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "file", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$to_s(cls, Visibility.PUBLIC, "to_s");
        populateMethod(javaMethod, 0, "to_s", true, false, org.jruby.RubyArgsFile.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "to_s", javaMethod);
        cls.putAlias("inspect", aliasedMethod, "to_s");
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$to_a(cls, Visibility.PUBLIC, "to_a");
        populateMethod(javaMethod, -1, "to_a", true, false, org.jruby.RubyArgsFile.class, "to_a", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "to_a", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$close(cls, Visibility.PUBLIC, "close");
        populateMethod(javaMethod, 0, "close", true, false, org.jruby.RubyArgsFile.class, "close", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "close", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$1$0$set_pos(cls, Visibility.PUBLIC, "pos=");
        populateMethod(javaMethod, 1, "set_pos", true, false, org.jruby.RubyArgsFile.class, "set_pos", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "pos=", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$readline(cls, Visibility.PUBLIC, "readline");
        populateMethod(javaMethod, -1, "readline", true, false, org.jruby.RubyArgsFile.class, "readline", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "readline", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$op_binmode(cls, Visibility.PUBLIC, "binmode?");
        populateMethod(javaMethod, 0, "op_binmode", true, false, org.jruby.RubyArgsFile.class, "op_binmode", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "binmode?", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$lines(cls, Visibility.PUBLIC, "lines");
        populateMethod(javaMethod, -1, "lines", true, false, org.jruby.RubyArgsFile.class, "lines", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "lines", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$1$0$lineno_set(cls, Visibility.PUBLIC, "lineno=");
        populateMethod(javaMethod, 1, "lineno_set", true, false, org.jruby.RubyArgsFile.class, "lineno_set", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "lineno=", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$2$read(cls, Visibility.PUBLIC, "read");
        populateMethod(javaMethod, -1, "read", true, false, org.jruby.RubyArgsFile.class, "read", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "read", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$bytes(cls, Visibility.PUBLIC, "bytes");
        populateMethod(javaMethod, -1, "bytes", true, false, org.jruby.RubyArgsFile.class, "bytes", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "bytes", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$eof_p(cls, Visibility.PUBLIC, "eof?");
        populateMethod(javaMethod, 0, "eof_p", true, false, org.jruby.RubyArgsFile.class, "eof_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "eof?", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$gets(cls, Visibility.PUBLIC, "gets");
        populateMethod(javaMethod, -1, "gets", true, false, org.jruby.RubyArgsFile.class, "gets", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "gets", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$external_encoding(cls, Visibility.PUBLIC, "external_encoding");
        populateMethod(javaMethod, 0, "external_encoding", true, false, org.jruby.RubyArgsFile.class, "external_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "external_encoding", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$each(cls, Visibility.PUBLIC, "each");
        populateMethod(javaMethod, -1, "each", true, false, org.jruby.RubyArgsFile.class, "each", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$set_encoding(cls, Visibility.PUBLIC, "set_encoding");
        populateMethod(javaMethod, -1, "set_encoding", true, false, org.jruby.RubyArgsFile.class, "set_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "set_encoding", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$chars(cls, Visibility.PUBLIC, "chars");
        populateMethod(javaMethod, 0, "chars", true, false, org.jruby.RubyArgsFile.class, "chars", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "chars", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$each_codepoint(cls, Visibility.PUBLIC, "each_codepoint");
        populateMethod(javaMethod, 0, "each_codepoint", true, false, org.jruby.RubyArgsFile.class, "each_codepoint", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_codepoint", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$each_line(cls, Visibility.PUBLIC, "each_line");
        populateMethod(javaMethod, -1, "each_line", true, false, org.jruby.RubyArgsFile.class, "each_line", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_line", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$lineno(cls, Visibility.PUBLIC, "lineno");
        populateMethod(javaMethod, 0, "lineno", true, false, org.jruby.RubyArgsFile.class, "lineno", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "lineno", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$readpartial(cls, Visibility.PUBLIC, "readpartial");
        populateMethod(javaMethod, -1, "readpartial", true, false, org.jruby.RubyArgsFile.class, "readpartial", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "readpartial", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$filename(cls, Visibility.PUBLIC, "filename");
        populateMethod(javaMethod, 0, "filename", true, false, org.jruby.RubyArgsFile.class, "filename", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "filename", javaMethod);
        cls.putAlias("path", aliasedMethod, "filename");
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$rewind(cls, Visibility.PUBLIC, "rewind");
        populateMethod(javaMethod, 0, "rewind", true, false, org.jruby.RubyArgsFile.class, "rewind", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "rewind", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$fileno(cls, Visibility.PUBLIC, "fileno");
        populateMethod(javaMethod, 0, "fileno", true, false, org.jruby.RubyArgsFile.class, "fileno", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "fileno", javaMethod);
        cls.putMethod(runtime, "to_i", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$closed_p(cls, Visibility.PUBLIC, "closed?");
        populateMethod(javaMethod, 0, "closed_p", true, false, org.jruby.RubyArgsFile.class, "closed_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "closed?", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$each_char(cls, Visibility.PUBLIC, "each_char");
        populateMethod(javaMethod, 0, "each_char", true, false, org.jruby.RubyArgsFile.class, "each_char", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_char", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$binmode(cls, Visibility.PUBLIC, "binmode");
        populateMethod(javaMethod, 0, "binmode", true, false, org.jruby.RubyArgsFile.class, "binmode", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "binmode", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$to_io(cls, Visibility.PUBLIC, "to_io");
        populateMethod(javaMethod, 0, "to_io", true, false, org.jruby.RubyArgsFile.class, "to_io", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "to_io", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$internal_encoding(cls, Visibility.PUBLIC, "internal_encoding");
        populateMethod(javaMethod, 0, "internal_encoding", true, false, org.jruby.RubyArgsFile.class, "internal_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "internal_encoding", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$eof(cls, Visibility.PUBLIC, "eof");
        populateMethod(javaMethod, 0, "eof", true, false, org.jruby.RubyArgsFile.class, "eof", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "eof", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$readchar(cls, Visibility.PUBLIC, "readchar");
        populateMethod(javaMethod, 0, "readchar", true, false, org.jruby.RubyArgsFile.class, "readchar", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "readchar", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$getbyte(cls, Visibility.PUBLIC, "getbyte");
        populateMethod(javaMethod, 0, "getbyte", true, false, org.jruby.RubyArgsFile.class, "getbyte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "getbyte", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$getc(cls, Visibility.PUBLIC, "getc");
        populateMethod(javaMethod, 0, "getc", true, false, org.jruby.RubyArgsFile.class, "getc", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "getc", javaMethod);
        javaMethod = new org.jruby.RubyArgsFile$INVOKER$i$0$0$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.RubyArgsFile.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);

        runtime.addBoundMethods("org.jruby.RubyArgsFile", "tell", "tell", "skip", "skip", "argv", "argv", "seek", "seek", "file", "file", "to_s", "to_s", "close", "close", "set_pos", "pos=", "readline", "readline", "op_binmode", "binmode?", "lineno_set", "lineno=", "read", "read", "eof_p", "eof?", "gets", "gets", "each", "each", "each_line", "each_line", "lineno", "lineno", "filename", "filename", "rewind", "rewind", "fileno", "fileno", "closed_p", "closed?", "binmode", "binmode", "initialize", "initialize", "to_io", "to_io", "eof", "eof", "readchar", "readchar", "getc", "getc", "readlines", "readlines", "readbyte", "readbyte", "each_byte", "each_byte", "read_nonblock", "read_nonblock", "codepoints", "codepoints", "to_a", "to_a", "lines", "lines", "bytes", "bytes", "external_encoding", "external_encoding", "set_encoding", "set_encoding", "chars", "chars", "each_codepoint", "each_codepoint", "readpartial", "readpartial", "each_char", "each_char", "internal_encoding", "internal_encoding", "getbyte", "getbyte");
    }
    static {
        MethodIndex.addMethodWriteFieldsPacked(1, "gets");
    }
}