/* 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$RubyObjectSpace$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.RubyObjectSpace$INVOKER$s$1$0$undefine_finalizer(cls, Visibility.PRIVATE, "undefine_finalizer");
        populateMethod(javaMethod, 1, "undefine_finalizer", true, false, org.jruby.RubyObjectSpace.class, "undefine_finalizer", org.jruby.runtime.builtin.IRubyObject.class, ARG2_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "undefine_finalizer", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "undefine_finalizer", moduleMethod);
        javaMethod = new org.jruby.RubyObjectSpace$INVOKER$s$0$0$garbage_collect(cls, Visibility.PRIVATE, "garbage_collect");
        populateMethod(javaMethod, 0, "garbage_collect", true, false, org.jruby.RubyObjectSpace.class, "garbage_collect", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "garbage_collect", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "garbage_collect", moduleMethod);
        javaMethod = new org.jruby.RubyObjectSpace$INVOKER$s$1$0$id2ref(cls, Visibility.PRIVATE, "_id2ref");
        populateMethod(javaMethod, 1, "id2ref", true, false, org.jruby.RubyObjectSpace.class, "id2ref", org.jruby.runtime.builtin.IRubyObject.class, ARG2);
        aliasedMethod = cls.putMethod(runtime, "_id2ref", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "_id2ref", moduleMethod);
        javaMethod = new org.jruby.RubyObjectSpace$INVOKER$s$0$1$each_object(cls, Visibility.PRIVATE, "each_object");
        populateMethod(javaMethod, -1, "each_object", true, false, org.jruby.RubyObjectSpace.class, "each_object", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_object", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "each_object", moduleMethod);
        javaMethod = new org.jruby.RubyObjectSpace$INVOKER$s$0$1$define_finalizer(cls, Visibility.PRIVATE, "define_finalizer");
        populateMethod(javaMethod, -1, "define_finalizer", true, false, org.jruby.RubyObjectSpace.class, "define_finalizer", org.jruby.runtime.builtin.IRubyObject.class, ARG1_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "define_finalizer", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "define_finalizer", moduleMethod);

        runtime.addBoundMethods("org.jruby.RubyObjectSpace", "garbage_collect", "garbage_collect", "id2ref", "_id2ref", "each_object", "each_object", "undefine_finalizer", "undefine_finalizer", "define_finalizer", "define_finalizer");
    }
    static {
    }
}