/* 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$RubyIPSocket$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.RubyIPSocket$INVOKER$s$1$0$getaddress(singletonClass, Visibility.PUBLIC, "getaddress");
        populateMethod(javaMethod, 1, "getaddress", true, false, org.jruby.ext.socket.RubyIPSocket.class, "getaddress", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "getaddress", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyIPSocket$INVOKER$i$0$0$getpeereid(cls, Visibility.PUBLIC, "getpeereid");
        populateMethod(javaMethod, 0, "getpeereid", false, true, org.jruby.ext.socket.RubyIPSocket.class, "getpeereid", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "getpeereid", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyIPSocket$INVOKER$i$peeraddr(cls, Visibility.PUBLIC, "peeraddr");
        populateMethod(javaMethod, -1, "peeraddr", false, false, org.jruby.ext.socket.RubyIPSocket.class, "peeraddr", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "peeraddr", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyIPSocket$INVOKER$i$addr(cls, Visibility.PUBLIC, "addr");
        populateMethod(javaMethod, -1, "addr", false, false, org.jruby.ext.socket.RubyIPSocket.class, "addr", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "addr", javaMethod);
        javaMethod = new org.jruby.ext.socket.RubyIPSocket$INVOKER$i$recvfrom(cls, Visibility.PUBLIC, "recvfrom");
        populateMethod(javaMethod, -1, "recvfrom", false, false, org.jruby.ext.socket.RubyIPSocket.class, "recvfrom", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "recvfrom", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.socket.RubyIPSocket", "getpeereid", "getpeereid", "peeraddr", "peeraddr", "addr", "addr", "getaddress", "getaddress", "recvfrom", "recvfrom");
    }
    static {
    }
}