/* 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$stringio$StringIO$GenericReadable$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.ext.stringio.StringIO$GenericReadable$INVOKER$s$0$2$sysread(cls, Visibility.PUBLIC, "sysread");
        populateMethod(javaMethod, -1, "sysread", true, false, org.jruby.ext.stringio.StringIO.GenericReadable.class, "sysread", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "sysread", javaMethod);
        cls.putMethod(runtime, "readpartial", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$GenericReadable$INVOKER$s$0$2$read_nonblock(cls, Visibility.PUBLIC, "read_nonblock");
        populateMethod(javaMethod, -1, "read_nonblock", true, false, org.jruby.ext.stringio.StringIO.GenericReadable.class, "read_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "read_nonblock", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$GenericReadable$INVOKER$s$0$0$readchar(cls, Visibility.PUBLIC, "readchar");
        populateMethod(javaMethod, 0, "readchar", true, false, org.jruby.ext.stringio.StringIO.GenericReadable.class, "readchar", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "readchar", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$GenericReadable$INVOKER$s$0$0$readbyte(cls, Visibility.PUBLIC, "readbyte");
        populateMethod(javaMethod, 0, "readbyte", true, false, org.jruby.ext.stringio.StringIO.GenericReadable.class, "readbyte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "readbyte", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$GenericReadable$INVOKER$s$0$1$readline(cls, Visibility.PUBLIC, "readline");
        populateMethod(javaMethod, -1, "readline", true, false, org.jruby.ext.stringio.StringIO.GenericReadable.class, "readline", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "readline", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.stringio.StringIO.GenericReadable", "sysread", "sysread", "read_nonblock", "read_nonblock", "readchar", "readchar", "readbyte", "readbyte", "readline", "readline");
    }
    static {
        MethodIndex.addMethodWriteFieldsPacked(1, "readline");
    }
}