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$RubyUDPSocket$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.RubyUDPSocket$INVOKER$s$0$0$open(singletonClass, Visibility.PUBLIC, "open");
populateMethod(javaMethod, -1, "open", true, false, org.jruby.ext.socket.RubyUDPSocket.class, "open", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
aliasedMethod = singletonClass.putMethod(runtime, "open", javaMethod);
javaMethod = new org.jruby.ext.socket.RubyUDPSocket$INVOKER$i$initialize(cls, Visibility.PRIVATE, "initialize");
populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.ext.socket.RubyUDPSocket.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
javaMethod = new org.jruby.ext.socket.RubyUDPSocket$INVOKER$i$0$3$recvfrom_nonblock(cls, Visibility.PUBLIC, "recvfrom_nonblock");
populateMethod(javaMethod, -1, "recvfrom_nonblock", false, false, org.jruby.ext.socket.RubyUDPSocket.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.RubyUDPSocket$INVOKER$i$send(cls, Visibility.PUBLIC, "send");
populateMethod(javaMethod, -1, "send", false, false, org.jruby.ext.socket.RubyUDPSocket.class, "send", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
aliasedMethod = cls.putMethod(runtime, "send", javaMethod);
javaMethod = new org.jruby.ext.socket.RubyUDPSocket$INVOKER$i$2$0$connect(cls, Visibility.PUBLIC, "connect");
populateMethod(javaMethod, 2, "connect", false, false, org.jruby.ext.socket.RubyUDPSocket.class, "connect", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
aliasedMethod = cls.putMethod(runtime, "connect", javaMethod);
javaMethod = new org.jruby.ext.socket.RubyUDPSocket$INVOKER$i$2$0$bind(cls, Visibility.PUBLIC, "bind");
populateMethod(javaMethod, 2, "bind", false, false, org.jruby.ext.socket.RubyUDPSocket.class, "bind", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
aliasedMethod = cls.putMethod(runtime, "bind", javaMethod);
runtime.addBoundMethods("org.jruby.ext.socket.RubyUDPSocket", "open", "open", "initialize", "initialize", "recvfrom_nonblock", "recvfrom_nonblock", "send", "send", "connect", "connect", "bind", "bind");
}
static {
}
}