/* 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$RubySocket$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.RubySocket$INVOKER$s$2$0$pack_sockaddr_in(singletonClass, Visibility.PUBLIC, "pack_sockaddr_in");
        populateMethod(javaMethod, 2, "pack_sockaddr_in", true, false, org.jruby.ext.socket.RubySocket.class, "pack_sockaddr_in", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG3);
        aliasedMethod = singletonClass.putMethod(runtime, "pack_sockaddr_in", javaMethod);
        singletonClass.putMethod(runtime, "sockaddr_in", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$1$0$unpack_sockaddr_in(singletonClass, Visibility.PUBLIC, "unpack_sockaddr_in");
        populateMethod(javaMethod, 1, "unpack_sockaddr_in", true, false, org.jruby.ext.socket.RubySocket.class, "unpack_sockaddr_in", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "unpack_sockaddr_in", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$1$0$gethostbyname(singletonClass, Visibility.PUBLIC, "gethostbyname");
        populateMethod(javaMethod, 1, "gethostbyname", true, false, org.jruby.ext.socket.RubySocket.class, "gethostbyname", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "gethostbyname", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$0$1$getnameinfo(singletonClass, Visibility.PUBLIC, "getnameinfo");
        populateMethod(javaMethod, -1, "getnameinfo", true, false, org.jruby.ext.socket.RubySocket.class, "getnameinfo", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "getnameinfo", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$socketpair(singletonClass, Visibility.PUBLIC, "socketpair");
        populateMethod(javaMethod, -1, "socketpair", true, false, org.jruby.ext.socket.RubySocket.class, "socketpair", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG4);
        aliasedMethod = singletonClass.putMethod(runtime, "socketpair", javaMethod);
        singletonClass.putMethod(runtime, "pair", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$0$0$getifaddrs(singletonClass, Visibility.PUBLIC, "getifaddrs");
        populateMethod(javaMethod, 0, "getifaddrs", true, false, org.jruby.ext.socket.RubySocket.class, "getifaddrs", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "getifaddrs", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$0$0$gethostbyaddr(singletonClass, Visibility.PUBLIC, "gethostbyaddr");
        populateMethod(javaMethod, -1, "gethostbyaddr", true, false, org.jruby.ext.socket.RubySocket.class, "gethostbyaddr", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "gethostbyaddr", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$0$0$ip_address_list(singletonClass, Visibility.PUBLIC, "ip_address_list");
        populateMethod(javaMethod, 0, "ip_address_list", true, false, org.jruby.ext.socket.RubySocket.class, "ip_address_list", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "ip_address_list", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$1$0$pack_sockaddr_un(singletonClass, Visibility.PUBLIC, "pack_sockaddr_un");
        populateMethod(javaMethod, 1, "pack_sockaddr_un", true, false, org.jruby.ext.socket.RubySocket.class, "pack_sockaddr_un", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "pack_sockaddr_un", javaMethod);
        singletonClass.putMethod(runtime, "sockaddr_un", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$0$0$gethostname(singletonClass, Visibility.PUBLIC, "gethostname");
        populateMethod(javaMethod, 0, "gethostname", true, false, org.jruby.ext.socket.RubySocket.class, "gethostname", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "gethostname", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$0$1$getservbyname(singletonClass, Visibility.PUBLIC, "getservbyname");
        populateMethod(javaMethod, -1, "getservbyname", true, false, org.jruby.ext.socket.RubySocket.class, "getservbyname", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "getservbyname", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$1$0$for_fd(singletonClass, Visibility.PUBLIC, "for_fd");
        populateMethod(javaMethod, 1, "for_fd", true, false, org.jruby.ext.socket.RubySocket.class, "for_fd", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "for_fd", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$1$0$unpack_sockaddr_un(singletonClass, Visibility.PUBLIC, "unpack_sockaddr_un");
        populateMethod(javaMethod, 1, "unpack_sockaddr_un", true, false, org.jruby.ext.socket.RubySocket.class, "unpack_sockaddr_un", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "unpack_sockaddr_un", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$s$0$5$getaddrinfo(singletonClass, Visibility.PUBLIC, "getaddrinfo");
        populateMethod(javaMethod, -1, "getaddrinfo", true, false, org.jruby.ext.socket.RubySocket.class, "getaddrinfo", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "getaddrinfo", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$i$0$0$accept(cls, Visibility.PUBLIC, "accept");
        populateMethod(javaMethod, 0, "accept", false, true, org.jruby.ext.socket.RubySocket.class, "accept", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "accept", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$i$0$1$accept_nonblock(cls, Visibility.PUBLIC, "accept_nonblock");
        populateMethod(javaMethod, -1, "accept_nonblock", false, true, org.jruby.ext.socket.RubySocket.class, "accept_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "accept_nonblock", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$i$0$3$recvfrom_nonblock(cls, Visibility.PUBLIC, "recvfrom_nonblock");
        populateMethod(javaMethod, -1, "recvfrom_nonblock", false, false, org.jruby.ext.socket.RubySocket.class, "recvfrom_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "recvfrom_nonblock", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$i$connect_nonblock(cls, Visibility.PUBLIC, "connect_nonblock");
        populateMethod(javaMethod, -1, "connect_nonblock", false, false, org.jruby.ext.socket.RubySocket.class, "connect_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "connect_nonblock", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$i$1$0$connect(cls, Visibility.PUBLIC, "connect");
        populateMethod(javaMethod, 1, "connect", false, false, org.jruby.ext.socket.RubySocket.class, "connect", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "connect", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$i$1$0$bind(cls, Visibility.PUBLIC, "bind");
        populateMethod(javaMethod, 1, "bind", false, false, org.jruby.ext.socket.RubySocket.class, "bind", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "bind", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$i$0$0$close(cls, Visibility.PUBLIC, "close");
        populateMethod(javaMethod, 0, "close", false, false, org.jruby.ext.socket.RubySocket.class, "close", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "close", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$i$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.ext.socket.RubySocket.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$i$recvfrom(cls, Visibility.PUBLIC, "recvfrom");
        populateMethod(javaMethod, -1, "recvfrom", false, false, org.jruby.ext.socket.RubySocket.class, "recvfrom", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "recvfrom", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubySocket$INVOKER$i$1$0$listen(cls, Visibility.PUBLIC, "listen");
        populateMethod(javaMethod, 1, "listen", false, true, org.jruby.ext.socket.RubySocket.class, "listen", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "listen", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.socket.RubySocket", "pack_sockaddr_in", "pack_sockaddr_in", "socketpair", "socketpair", "pack_sockaddr_un", "pack_sockaddr_un", "initialize", "initialize", "unpack_sockaddr_in", "unpack_sockaddr_in", "gethostbyname", "gethostbyname", "getnameinfo", "getnameinfo", "getifaddrs", "getifaddrs", "gethostbyaddr", "gethostbyaddr", "ip_address_list", "ip_address_list", "gethostname", "gethostname", "getservbyname", "getservbyname", "for_fd", "for_fd", "unpack_sockaddr_un", "unpack_sockaddr_un", "getaddrinfo", "getaddrinfo", "accept", "accept", "accept_nonblock", "accept_nonblock", "recvfrom_nonblock", "recvfrom_nonblock", "connect_nonblock", "connect_nonblock", "connect", "connect", "bind", "bind", "close", "close", "recvfrom", "recvfrom", "listen", "listen");
    }
    static {
    }
}