/* 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$RubyStruct$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.RubyStruct$INVOKER$s$0$0$newInstance(singletonClass, Visibility.PUBLIC, "new");
        populateMethod(javaMethod, -1, "newInstance", true, false, org.jruby.RubyStruct.class, "newInstance", org.jruby.RubyClass.class, ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "new", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.RubyStruct.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$1$0$op_equal(cls, Visibility.PUBLIC, "==");
        populateMethod(javaMethod, 1, "op_equal", false, false, org.jruby.RubyStruct.class, "op_equal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "==", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$1$0$aref(cls, Visibility.PUBLIC, "[]");
        populateMethod(javaMethod, 1, "aref", false, false, org.jruby.RubyStruct.class, "aref", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "[]", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$0$0$dig(cls, Visibility.PUBLIC, "dig");
        populateMethod(javaMethod, -1, "dig", false, false, org.jruby.RubyStruct.class, "dig", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "dig", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$0$0$to_a(cls, Visibility.PUBLIC, "to_a");
        populateMethod(javaMethod, 0, "to_a", false, false, org.jruby.RubyStruct.class, "to_a", org.jruby.RubyArray.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_a", javaMethod);
        cls.putMethod(runtime, "values", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$0$0$each_pair(cls, Visibility.PUBLIC, "each_pair");
        populateMethod(javaMethod, 0, "each_pair", false, false, org.jruby.RubyStruct.class, "each_pair", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_pair", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$0$0$select(cls, Visibility.PUBLIC, "select");
        populateMethod(javaMethod, 0, "select", false, false, org.jruby.RubyStruct.class, "select", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "select", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$1$0$eql_p(cls, Visibility.PUBLIC, "eql?");
        populateMethod(javaMethod, 1, "eql_p", false, false, org.jruby.RubyStruct.class, "eql_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "eql?", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$0$0$size(cls, Visibility.PUBLIC, "size");
        populateMethod(javaMethod, 0, "size", false, false, org.jruby.RubyStruct.class, "size", org.jruby.RubyFixnum.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "size", javaMethod);
        cls.putMethod(runtime, "length", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$0$0$values_at(cls, Visibility.PUBLIC, "values_at");
        populateMethod(javaMethod, -1, "values_at", false, false, org.jruby.RubyStruct.class, "values_at", org.jruby.runtime.builtin.IRubyObject.class, ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "values_at", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$0$0$members(cls, Visibility.PUBLIC, "members");
        populateMethod(javaMethod, 0, "members", false, false, org.jruby.RubyStruct.class, "members", org.jruby.RubyArray.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "members", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect");
        populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.RubyStruct.class, "inspect", org.jruby.RubyString.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod);
        cls.putMethod(runtime, "to_s", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$2$0$aset(cls, Visibility.PUBLIC, "[]=");
        populateMethod(javaMethod, 2, "aset", false, false, org.jruby.RubyStruct.class, "aset", org.jruby.runtime.builtin.IRubyObject.class, ARG2);
        aliasedMethod = cls.putMethod(runtime, "[]=", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$0$0$hash(cls, Visibility.PUBLIC, "hash");
        populateMethod(javaMethod, 0, "hash", false, false, org.jruby.RubyStruct.class, "hash", org.jruby.RubyFixnum.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "hash", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$0$0$each(cls, Visibility.PUBLIC, "each");
        populateMethod(javaMethod, 0, "each", false, false, org.jruby.RubyStruct.class, "each", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$1$0$initialize_copy(cls, Visibility.PRIVATE, "initialize_copy");
        populateMethod(javaMethod, 1, "initialize_copy", false, false, org.jruby.RubyStruct.class, "initialize_copy", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "initialize_copy", javaMethod);
        javaMethod = new org.jruby.RubyStruct$INVOKER$i$0$0$to_h(cls, Visibility.PUBLIC, "to_h");
        populateMethod(javaMethod, 0, "to_h", false, false, org.jruby.RubyStruct.class, "to_h", org.jruby.RubyHash.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_h", javaMethod);

        runtime.addBoundMethods("org.jruby.RubyStruct", "op_equal", "==", "eql_p", "eql?", "newInstance", "new", "aref", "[]", "dig", "dig", "size", "size", "members", "members", "inspect", "inspect", "aset", "[]=", "to_a", "to_a", "initialize", "initialize", "each_pair", "each_pair", "select", "select", "values_at", "values_at", "hash", "hash", "each", "each", "initialize_copy", "initialize_copy", "to_h", "to_h");
    }
    static {
    }
}