/* 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$Option$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.Option$INVOKER$s$1$0$bool(singletonClass, Visibility.PUBLIC, "bool");
        populateMethod(javaMethod, 1, "bool", true, false, org.jruby.ext.socket.Option.class, "bool", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "bool", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$s$1$0$rb_int(singletonClass, Visibility.PUBLIC, "int");
        populateMethod(javaMethod, 1, "rb_int", true, false, org.jruby.ext.socket.Option.class, "rb_int", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "int", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$s$2$0$linger(singletonClass, Visibility.PUBLIC, "linger");
        populateMethod(javaMethod, 2, "linger", true, false, org.jruby.ext.socket.Option.class, "linger", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG3);
        aliasedMethod = singletonClass.putMethod(runtime, "linger", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$i$1$0$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, 1, "initialize", false, false, org.jruby.ext.socket.Option.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC, "to_s");
        populateMethod(javaMethod, 0, "to_s", false, false, org.jruby.ext.socket.Option.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_s", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$i$0$0$optname(cls, Visibility.PUBLIC, "optname");
        populateMethod(javaMethod, 0, "optname", false, false, org.jruby.ext.socket.Option.class, "optname", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "optname", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$i$0$0$level(cls, Visibility.PUBLIC, "level");
        populateMethod(javaMethod, 0, "level", false, false, org.jruby.ext.socket.Option.class, "level", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "level", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$i$0$0$data(cls, Visibility.PUBLIC, "data");
        populateMethod(javaMethod, 0, "data", false, false, org.jruby.ext.socket.Option.class, "data", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "data", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$i$0$0$bool(cls, Visibility.PUBLIC, "bool");
        populateMethod(javaMethod, 0, "bool", false, false, org.jruby.ext.socket.Option.class, "bool", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "bool", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$i$0$0$family(cls, Visibility.PUBLIC, "family");
        populateMethod(javaMethod, 0, "family", false, false, org.jruby.ext.socket.Option.class, "family", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "family", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$i$1$0$unpack(cls, Visibility.PUBLIC, "unpack");
        populateMethod(javaMethod, 1, "unpack", false, false, org.jruby.ext.socket.Option.class, "unpack", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "unpack", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$i$0$0$asInt(cls, Visibility.PUBLIC, "int");
        populateMethod(javaMethod, 0, "asInt", false, false, org.jruby.ext.socket.Option.class, "asInt", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "int", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$i$0$0$linger(cls, Visibility.PUBLIC, "linger");
        populateMethod(javaMethod, 0, "linger", false, false, org.jruby.ext.socket.Option.class, "linger", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "linger", javaMethod);
        javaMethod = new org.jruby.ext.socket.Option$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect");
        populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.ext.socket.Option.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.socket.Option", "rb_int", "int", "asInt", "int", "bool", "bool", "linger", "linger", "initialize", "initialize", "to_s", "to_s", "optname", "optname", "level", "level", "data", "data", "bool", "bool", "family", "family", "unpack", "unpack", "linger", "linger", "inspect", "inspect");
    }
    static {
    }
}