/* 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$socket$RubyServerSocket$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.ext.socket.RubyServerSocket$INVOKER$i$0$0$accept(cls, Visibility.PUBLIC, "accept");
        populateMethod(javaMethod, 0, "accept", false, false, org.jruby.ext.socket.RubyServerSocket.class, "accept", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "accept", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyServerSocket$INVOKER$i$accept_nonblock(cls, Visibility.PUBLIC, "accept_nonblock");
        populateMethod(javaMethod, -1, "accept_nonblock", false, false, org.jruby.ext.socket.RubyServerSocket.class, "accept_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "accept_nonblock", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyServerSocket$INVOKER$i$1$0$connect_nonblock(cls, Visibility.PUBLIC, "connect_nonblock");
        populateMethod(javaMethod, 1, "connect_nonblock", false, true, org.jruby.ext.socket.RubyServerSocket.class, "connect_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "connect_nonblock", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyServerSocket$INVOKER$i$1$0$connect(cls, Visibility.PUBLIC, "connect");
        populateMethod(javaMethod, 1, "connect", false, true, org.jruby.ext.socket.RubyServerSocket.class, "connect", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "connect", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyServerSocket$INVOKER$i$bind(cls, Visibility.PUBLIC, "bind");
        populateMethod(javaMethod, -1, "bind", false, false, org.jruby.ext.socket.RubyServerSocket.class, "bind", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "bind", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyServerSocket$INVOKER$i$1$0$listen(cls, Visibility.PUBLIC, "listen");
        populateMethod(javaMethod, 1, "listen", false, false, org.jruby.ext.socket.RubyServerSocket.class, "listen", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "listen", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.socket.RubyServerSocket", "listen", "listen", "accept", "accept", "accept_nonblock", "accept_nonblock", "connect_nonblock", "connect_nonblock", "connect", "connect", "bind", "bind");
    }
    static {
    }
}