/* 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$jruby$JRubyObjectInputStream$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.jruby.JRubyObjectInputStream$INVOKER$s$0$0$newInstance(singletonClass, Visibility.PUBLIC, "new");
        populateMethod(javaMethod, -1, "newInstance", true, false, org.jruby.ext.jruby.JRubyObjectInputStream.class, "newInstance", org.jruby.runtime.builtin.IRubyObject.class, ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "new", javaMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyObjectInputStream$INVOKER$i$1$0$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, 1, "initialize", false, false, org.jruby.ext.jruby.JRubyObjectInputStream.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyObjectInputStream$INVOKER$i$0$0$readObject(cls, Visibility.PUBLIC, "read_object");
        populateMethod(javaMethod, 0, "readObject", false, false, org.jruby.ext.jruby.JRubyObjectInputStream.class, "readObject", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "read_object", javaMethod);
        cls.putAlias("readObject", aliasedMethod, "read_object");
        javaMethod = new org.jruby.ext.jruby.JRubyObjectInputStream$INVOKER$i$0$0$close(cls, Visibility.PUBLIC, "close");
        populateMethod(javaMethod, 0, "close", false, false, org.jruby.ext.jruby.JRubyObjectInputStream.class, "close", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "close", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.jruby.JRubyObjectInputStream", "newInstance", "new", "initialize", "initialize", "readObject", "read_object", "close", "close");
    }
    static {
    }
}