/* 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$RubyThreadGroup$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.RubyThreadGroup$INVOKER$i$1$0$add(cls, Visibility.PUBLIC, "add");
        populateMethod(javaMethod, 1, "add", false, false, org.jruby.RubyThreadGroup.class, "add", org.jruby.runtime.builtin.IRubyObject.class, ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "add", javaMethod);
        javaMethod = new org.jruby.RubyThreadGroup$INVOKER$i$0$0$enclose(cls, Visibility.PUBLIC, "enclose");
        populateMethod(javaMethod, 0, "enclose", false, false, org.jruby.RubyThreadGroup.class, "enclose", org.jruby.runtime.builtin.IRubyObject.class, ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "enclose", javaMethod);
        javaMethod = new org.jruby.RubyThreadGroup$INVOKER$i$0$0$enclosed_p(cls, Visibility.PUBLIC, "enclosed?");
        populateMethod(javaMethod, 0, "enclosed_p", false, false, org.jruby.RubyThreadGroup.class, "enclosed_p", org.jruby.runtime.builtin.IRubyObject.class, ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "enclosed?", javaMethod);
        javaMethod = new org.jruby.RubyThreadGroup$INVOKER$i$0$0$list(cls, Visibility.PUBLIC, "list");
        populateMethod(javaMethod, 0, "list", false, false, org.jruby.RubyThreadGroup.class, "list", org.jruby.runtime.builtin.IRubyObject.class, ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "list", javaMethod);

        runtime.addBoundMethods("org.jruby.RubyThreadGroup", "add", "add", "enclosed_p", "enclosed?", "enclose", "enclose", "list", "list");
    }
    static {
    }
}