/* 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$StructMethods$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.RubyStruct$StructMethods$INVOKER$s$newStruct(cls, Visibility.PUBLIC, "new");
        populateMethod(javaMethod, -1, "newStruct", true, false, org.jruby.RubyStruct.StructMethods.class, "newStruct", org.jruby.runtime.builtin.IRubyObject.class, ARG1_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "new", javaMethod);
        cls.putMethod(runtime, "[]", javaMethod);
        javaMethod = new org.jruby.RubyStruct$StructMethods$INVOKER$s$0$0$members(cls, Visibility.PUBLIC, "members");
        populateMethod(javaMethod, 0, "members", true, false, org.jruby.RubyStruct.StructMethods.class, "members", org.jruby.runtime.builtin.IRubyObject.class, ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "members", javaMethod);
        javaMethod = new org.jruby.RubyStruct$StructMethods$INVOKER$s$0$0$inspect(cls, Visibility.PUBLIC, "inspect");
        populateMethod(javaMethod, 0, "inspect", true, false, org.jruby.RubyStruct.StructMethods.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod);

        runtime.addBoundMethods("org.jruby.RubyStruct.StructMethods", "newStruct", "new", "members", "members", "inspect", "inspect");
    }
    static {
    }
}