/* 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$RubyUNIXSocket$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.RubyUNIXSocket$INVOKER$s$0$2$socketpair(singletonClass, Visibility.PUBLIC, "socketpair");
        populateMethod(javaMethod, -1, "socketpair", true, false, org.jruby.ext.socket.RubyUNIXSocket.class, "socketpair", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "socketpair", javaMethod);
        singletonClass.putMethod(runtime, "pair", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyUNIXSocket$INVOKER$s$1$0$for_fd(singletonClass, Visibility.PUBLIC, "for_fd");
        populateMethod(javaMethod, 1, "for_fd", true, false, org.jruby.ext.socket.RubyUNIXSocket.class, "for_fd", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "for_fd", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyUNIXSocket$INVOKER$i$1$0$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, 1, "initialize", false, false, org.jruby.ext.socket.RubyUNIXSocket.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyUNIXSocket$INVOKER$i$1$0$send_io(cls, Visibility.PUBLIC, "send_io");
        populateMethod(javaMethod, 1, "send_io", false, false, org.jruby.ext.socket.RubyUNIXSocket.class, "send_io", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "send_io", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyUNIXSocket$INVOKER$i$0$2$recv_io(cls, Visibility.PUBLIC, "recv_io");
        populateMethod(javaMethod, -1, "recv_io", false, false, org.jruby.ext.socket.RubyUNIXSocket.class, "recv_io", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "recv_io", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyUNIXSocket$INVOKER$i$0$0$addr(cls, Visibility.PUBLIC, "addr");
        populateMethod(javaMethod, 0, "addr", false, false, org.jruby.ext.socket.RubyUNIXSocket.class, "addr", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "addr", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyUNIXSocket$INVOKER$i$0$0$peeraddr(cls, Visibility.PUBLIC, "peeraddr");
        populateMethod(javaMethod, 0, "peeraddr", false, false, org.jruby.ext.socket.RubyUNIXSocket.class, "peeraddr", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "peeraddr", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyUNIXSocket$INVOKER$i$0$1$recvfrom(cls, Visibility.PUBLIC, "recvfrom");
        populateMethod(javaMethod, -1, "recvfrom", false, false, org.jruby.ext.socket.RubyUNIXSocket.class, "recvfrom", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "recvfrom", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyUNIXSocket$INVOKER$i$0$0$path(cls, Visibility.PUBLIC, "path");
        populateMethod(javaMethod, 0, "path", false, false, org.jruby.ext.socket.RubyUNIXSocket.class, "path", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "path", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.socket.RubyUNIXSocket", "socketpair", "socketpair", "recvfrom", "recvfrom", "for_fd", "for_fd", "initialize", "initialize", "send_io", "send_io", "recv_io", "recv_io", "addr", "addr", "peeraddr", "peeraddr", "path", "path");
    }
    static {
    }
}