/* 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$ext$zlib$JZlibRubyGzipReader$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.ext.zlib.JZlibRubyGzipReader$INVOKER$s$0$0$newInstance(singletonClass, Visibility.PUBLIC, "new");
        populateMethod(javaMethod, -1, "newInstance", true, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "newInstance", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "new", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$s$0$1$open19(singletonClass, Visibility.PUBLIC, "open");
        populateMethod(javaMethod, -1, "open19", true, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "open19", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "open", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$1$readlines(cls, Visibility.PUBLIC, "readlines");
        populateMethod(javaMethod, -1, "readlines", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "readlines", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "readlines", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$orig_name(cls, Visibility.PUBLIC, "orig_name");
        populateMethod(javaMethod, 0, "orig_name", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "orig_name", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "orig_name", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$each_byte(cls, Visibility.PUBLIC, "each_byte");
        populateMethod(javaMethod, 0, "each_byte", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "each_byte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_byte", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$readbyte(cls, Visibility.PUBLIC, "readbyte");
        populateMethod(javaMethod, 0, "readbyte", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "readbyte", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "readbyte", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$getc(cls, Visibility.PUBLIC, "getbyte");
        populateMethod(javaMethod, 0, "getc", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "getc", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "getbyte", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$1$each_line(cls, Visibility.PUBLIC, "each_line");
        populateMethod(javaMethod, -1, "each_line", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "each_line", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_line", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$rewind(cls, Visibility.PUBLIC, "rewind");
        populateMethod(javaMethod, 0, "rewind", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "rewind", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "rewind", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$pos(cls, Visibility.PUBLIC, "pos");
        populateMethod(javaMethod, 0, "pos", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "pos", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "pos", javaMethod);
        cls.putMethod(runtime, "tell", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$1$readpartial(cls, Visibility.PUBLIC, "readpartial");
        populateMethod(javaMethod, -1, "readpartial", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "readpartial", org.jruby.runtime.builtin.IRubyObject.class, ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "readpartial", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$1$0$ungetc(cls, Visibility.PUBLIC, "ungetc");
        populateMethod(javaMethod, 1, "ungetc", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "ungetc", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "ungetc", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$close(cls, Visibility.PUBLIC, "close");
        populateMethod(javaMethod, 0, "close", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "close", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "close", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$1$each(cls, Visibility.PUBLIC, "each");
        populateMethod(javaMethod, -1, "each", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "each", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$readline(cls, Visibility.PUBLIC, "readline");
        populateMethod(javaMethod, 0, "readline", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "readline", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "readline", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$1$read(cls, Visibility.PUBLIC, "read");
        populateMethod(javaMethod, -1, "read", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "read", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "read", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$1$0$set_lineno(cls, Visibility.PUBLIC, "lineno=");
        populateMethod(javaMethod, 1, "set_lineno", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "set_lineno", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "lineno=", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$comment(cls, Visibility.PUBLIC, "comment");
        populateMethod(javaMethod, 0, "comment", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "comment", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "comment", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$eof_p(cls, Visibility.PUBLIC, "eof?");
        populateMethod(javaMethod, 0, "eof_p", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "eof_p", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "eof?", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$2$gets(cls, Visibility.PUBLIC, "gets");
        populateMethod(javaMethod, -1, "gets", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "gets", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "gets", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$unused(cls, Visibility.PUBLIC, "unused");
        populateMethod(javaMethod, 0, "unused", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "unused", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "unused", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$lineno(cls, Visibility.PUBLIC, "lineno");
        populateMethod(javaMethod, 0, "lineno", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "lineno", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "lineno", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$crc(cls, Visibility.PUBLIC, "crc");
        populateMethod(javaMethod, 0, "crc", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "crc", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "crc", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$1$0$ungetbyte(cls, Visibility.PUBLIC, "ungetbyte");
        populateMethod(javaMethod, 1, "ungetbyte", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "ungetbyte", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "ungetbyte", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$1$initialize19(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, -1, "initialize19", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "initialize19", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$readchar(cls, Visibility.PUBLIC, "readchar");
        populateMethod(javaMethod, 0, "readchar", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "readchar", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "readchar", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$getc_19(cls, Visibility.PUBLIC, "getc");
        populateMethod(javaMethod, 0, "getc_19", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "getc_19", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "getc", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$eof(cls, Visibility.PUBLIC, "eof");
        populateMethod(javaMethod, 0, "eof", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "eof", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "eof", javaMethod);
        javaMethod = new org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$0$os_code(cls, Visibility.PUBLIC, "os_code");
        populateMethod(javaMethod, 0, "os_code", false, false, org.jruby.ext.zlib.JZlibRubyGzipReader.class, "os_code", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "os_code", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.zlib.JZlibRubyGzipReader", "newInstance", "new", "read", "read", "set_lineno", "lineno=", "eof_p", "eof?", "gets", "gets", "readbyte", "readbyte", "getc", "getbyte", "lineno", "lineno", "pos", "pos", "readpartial", "readpartial", "initialize19", "initialize", "close", "close", "readchar", "readchar", "getc_19", "getc", "eof", "eof", "open19", "open", "readline", "readline", "readlines", "readlines", "orig_name", "orig_name", "each_byte", "each_byte", "each_line", "each_line", "rewind", "rewind", "ungetc", "ungetc", "each", "each", "comment", "comment", "unused", "unused", "crc", "crc", "ungetbyte", "ungetbyte", "os_code", "os_code");
    }
    static {
        MethodIndex.addMethodWriteFieldsPacked(1, "readline;gets");
    }
}