/* 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$jruby$JRubyUtilLibrary$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.jruby.JRubyUtilLibrary$INVOKER$s$2$0$set_meta_class(singletonClass, Visibility.PUBLIC, "set_meta_class");
        populateMethod(javaMethod, 2, "set_meta_class", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "set_meta_class", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG3);
        aliasedMethod = singletonClass.putMethod(runtime, "set_meta_class", javaMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$0$0$extra_gem_paths(singletonClass, Visibility.PUBLIC, "extra_gem_paths");
        populateMethod(javaMethod, 0, "extra_gem_paths", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "extra_gem_paths", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "extra_gem_paths", javaMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$0$0$internal_libraries(cls, Visibility.PUBLIC, "internal_libraries");
        populateMethod(javaMethod, 0, "internal_libraries", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "internal_libraries", org.jruby.RubyArray.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "internal_libraries", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "internal_libraries", moduleMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$0$1$class_loader_resources(cls, Visibility.PUBLIC, "class_loader_resources");
        populateMethod(javaMethod, -1, "class_loader_resources", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "class_loader_resources", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "class_loader_resources", javaMethod);
        cls.putAlias("classloader_resources", aliasedMethod, "class_loader_resources");
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "class_loader_resources", moduleMethod);
        singletonClass.putAlias("classloader_resources", aliasedMethod, "class_loader_resources");
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$1$0$setObjectSpaceEnabled(cls, Visibility.PUBLIC, "objectspace=");
        populateMethod(javaMethod, 1, "setObjectSpaceEnabled", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "setObjectSpaceEnabled", org.jruby.runtime.builtin.IRubyObject.class, ARG2);
        aliasedMethod = cls.putMethod(runtime, "objectspace=", javaMethod);
        cls.putMethod(runtime, "object_space=", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "objectspace=", moduleMethod);
        singletonClass.putMethod(runtime, "object_space=", moduleMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$1$0$load_ext(cls, Visibility.PUBLIC, "load_ext");
        populateMethod(javaMethod, 1, "load_ext", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "load_ext", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "load_ext", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "load_ext", moduleMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$2$0$set_last_exit_status(singletonClass, Visibility.PUBLIC, "set_last_exit_status");
        populateMethod(javaMethod, 2, "set_last_exit_status", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "set_last_exit_status", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG3);
        aliasedMethod = singletonClass.putMethod(runtime, "set_last_exit_status", javaMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$0$0$getObjectSpaceEnabled(cls, Visibility.PUBLIC, "objectspace");
        populateMethod(javaMethod, 0, "getObjectSpaceEnabled", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "getObjectSpaceEnabled", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "objectspace", javaMethod);
        cls.putMethod(runtime, "object_space?", javaMethod);
        cls.putAlias("objectspace?", aliasedMethod, "objectspace");
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "objectspace", moduleMethod);
        singletonClass.putMethod(runtime, "object_space?", moduleMethod);
        singletonClass.putAlias("objectspace?", aliasedMethod, "objectspace");
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$0$0$cache_stats(cls, Visibility.PUBLIC, "cache_stats");
        populateMethod(javaMethod, 0, "cache_stats", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "cache_stats", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "cache_stats", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "cache_stats", moduleMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$0$0$classpath_launcher(singletonClass, Visibility.PUBLIC, "classpath_launcher");
        populateMethod(javaMethod, 0, "classpath_launcher", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "classpath_launcher", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "classpath_launcher", javaMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$0$0$current_directory(singletonClass, Visibility.PUBLIC, "current_directory");
        populateMethod(javaMethod, 0, "current_directory", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "current_directory", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "current_directory", javaMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$0$0$gc(cls, Visibility.PUBLIC, "gc");
        populateMethod(javaMethod, 0, "gc", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "gc", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "gc", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "gc", moduleMethod);
        javaMethod = new org.jruby.ext.jruby.JRubyUtilLibrary$INVOKER$s$0$0$native_posix_p(singletonClass, Visibility.PUBLIC, "native_posix?");
        populateMethod(javaMethod, 0, "native_posix_p", true, false, org.jruby.ext.jruby.JRubyUtilLibrary.class, "native_posix_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "native_posix?", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.jruby.JRubyUtilLibrary", "getObjectSpaceEnabled", "objectspace", "cache_stats", "cache_stats", "set_meta_class", "set_meta_class", "extra_gem_paths", "extra_gem_paths", "current_directory", "current_directory", "native_posix_p", "native_posix?", "class_loader_resources", "class_loader_resources", "setObjectSpaceEnabled", "objectspace=", "load_ext", "load_ext", "set_last_exit_status", "set_last_exit_status", "internal_libraries", "internal_libraries", "classpath_launcher", "classpath_launcher", "gc", "gc");
    }
    static {
    }
}