/* 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$RubyTCPServer$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.socket.RubyTCPServer$INVOKER$s$0$0$open(singletonClass, Visibility.PUBLIC, "open");
        populateMethod(javaMethod, -1, "open", true, false, org.jruby.ext.socket.RubyTCPServer.class, "open", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "open", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyTCPServer$INVOKER$i$accept_nonblock(cls, Visibility.PUBLIC, "accept_nonblock");
        populateMethod(javaMethod, -1, "accept_nonblock", false, false, org.jruby.ext.socket.RubyTCPServer.class, "accept_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "accept_nonblock", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyTCPServer$INVOKER$i$0$0$sysaccept(cls, Visibility.PUBLIC, "sysaccept");
        populateMethod(javaMethod, 0, "sysaccept", false, false, org.jruby.ext.socket.RubyTCPServer.class, "sysaccept", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "sysaccept", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyTCPServer$INVOKER$i$0$0$peeraddr(cls, Visibility.PUBLIC, "peeraddr");
        populateMethod(javaMethod, -1, "peeraddr", false, false, org.jruby.ext.socket.RubyTCPServer.class, "peeraddr", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "peeraddr", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyTCPServer$INVOKER$i$0$1$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.ext.socket.RubyTCPServer.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyTCPServer$INVOKER$i$1$0$listen(cls, Visibility.PUBLIC, "listen");
        populateMethod(javaMethod, 1, "listen", false, false, org.jruby.ext.socket.RubyTCPServer.class, "listen", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "listen", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyTCPServer$INVOKER$i$0$0$accept(cls, Visibility.PUBLIC, "accept");
        populateMethod(javaMethod, 0, "accept", false, false, org.jruby.ext.socket.RubyTCPServer.class, "accept", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "accept", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyTCPServer$INVOKER$i$0$0$getpeername(cls, Visibility.PUBLIC, "getpeername");
        populateMethod(javaMethod, -1, "getpeername", false, false, org.jruby.ext.socket.RubyTCPServer.class, "getpeername", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "getpeername", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.socket.RubyTCPServer", "accept_nonblock", "accept_nonblock", "sysaccept", "sysaccept", "peeraddr", "peeraddr", "initialize", "initialize", "listen", "listen", "accept", "accept", "getpeername", "getpeername", "open", "open");
    }
    static {
    }
}