/* 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$RubyDir$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.RubyDir$INVOKER$s$0$0$aref(singletonClass, Visibility.PUBLIC, "[]");
        populateMethod(javaMethod, -1, "aref", true, false, org.jruby.RubyDir.class, "aref", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "[]", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$0$2$glob(singletonClass, Visibility.PUBLIC, "glob");
        populateMethod(javaMethod, -1, "glob", true, false, org.jruby.RubyDir.class, "glob", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "glob", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$rmdir19(singletonClass, Visibility.PUBLIC, "rmdir");
        populateMethod(javaMethod, 1, "rmdir19", true, false, org.jruby.RubyDir.class, "rmdir19", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "rmdir", javaMethod);
        singletonClass.putMethod(runtime, "unlink", javaMethod);
        singletonClass.putMethod(runtime, "delete", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$exist(singletonClass, Visibility.PUBLIC, "exist?");
        populateMethod(javaMethod, 1, "exist", true, false, org.jruby.RubyDir.class, "exist", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "exist?", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$0$1$home(singletonClass, Visibility.PUBLIC, "home");
        populateMethod(javaMethod, -1, "home", true, false, org.jruby.RubyDir.class, "home", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "home", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$foreach(singletonClass, Visibility.PUBLIC, "foreach");
        populateMethod(javaMethod, -1, "foreach", true, false, org.jruby.RubyDir.class, "foreach", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "foreach", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$entries(singletonClass, Visibility.PUBLIC, "entries");
        populateMethod(javaMethod, -1, "entries", true, false, org.jruby.RubyDir.class, "entries", org.jruby.RubyArray.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "entries", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$children(singletonClass, Visibility.PUBLIC, "children");
        populateMethod(javaMethod, -1, "children", true, false, org.jruby.RubyDir.class, "children", org.jruby.RubyArray.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "children", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$0$0$getwd(singletonClass, Visibility.PUBLIC, "getwd");
        populateMethod(javaMethod, 0, "getwd", true, false, org.jruby.RubyDir.class, "getwd", org.jruby.RubyString.class, ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "getwd", javaMethod);
        singletonClass.putMethod(runtime, "pwd", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$chroot(singletonClass, Visibility.PUBLIC, "chroot");
        populateMethod(javaMethod, 1, "chroot", true, false, org.jruby.RubyDir.class, "chroot", org.jruby.runtime.builtin.IRubyObject.class, ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "chroot", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$0$1$chdir(singletonClass, Visibility.PUBLIC, "chdir");
        populateMethod(javaMethod, -1, "chdir", true, false, org.jruby.RubyDir.class, "chdir", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "chdir", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$each_child(singletonClass, Visibility.PUBLIC, "each_child");
        populateMethod(javaMethod, -1, "each_child", true, false, org.jruby.RubyDir.class, "each_child", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "each_child", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$exists_p(singletonClass, Visibility.PUBLIC, "exists?");
        populateMethod(javaMethod, 1, "exists_p", true, false, org.jruby.RubyDir.class, "exists_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "exists?", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$empty_p(singletonClass, Visibility.PUBLIC, "empty?");
        populateMethod(javaMethod, 1, "empty_p", true, false, org.jruby.RubyDir.class, "empty_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "empty?", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$0$1$mkdir(singletonClass, Visibility.PUBLIC, "mkdir");
        populateMethod(javaMethod, -1, "mkdir", true, false, org.jruby.RubyDir.class, "mkdir", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = singletonClass.putMethod(runtime, "mkdir", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$s$open(singletonClass, Visibility.PUBLIC, "open");
        populateMethod(javaMethod, -1, "open", true, false, org.jruby.RubyDir.class, "open", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "open", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$0$0$read(cls, Visibility.PUBLIC, "read");
        populateMethod(javaMethod, 0, "read", false, false, org.jruby.RubyDir.class, "read", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "read", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$0$0$tell(cls, Visibility.PUBLIC, "tell");
        populateMethod(javaMethod, 0, "tell", false, false, org.jruby.RubyDir.class, "tell", org.jruby.RubyInteger.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "tell", javaMethod);
        cls.putMethod(runtime, "pos", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$0$0$to_path(cls, Visibility.PUBLIC, "to_path");
        populateMethod(javaMethod, 0, "to_path", false, false, org.jruby.RubyDir.class, "to_path", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_path", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$1$0$seek(cls, Visibility.PUBLIC, "seek");
        populateMethod(javaMethod, 1, "seek", false, false, org.jruby.RubyDir.class, "seek", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "seek", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$each(cls, Visibility.PUBLIC, "each");
        populateMethod(javaMethod, -1, "each", false, false, org.jruby.RubyDir.class, "each", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$0$0$path(cls, Visibility.PUBLIC, "path");
        populateMethod(javaMethod, 0, "path", false, false, org.jruby.RubyDir.class, "path", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "path", javaMethod);
        cls.putMethod(runtime, "to_path", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$0$0$entries(cls, Visibility.PUBLIC, "entries");
        populateMethod(javaMethod, 0, "entries", false, false, org.jruby.RubyDir.class, "entries", org.jruby.RubyArray.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "entries", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$0$0$rewind(cls, Visibility.PUBLIC, "rewind");
        populateMethod(javaMethod, 0, "rewind", false, false, org.jruby.RubyDir.class, "rewind", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "rewind", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$0$0$fileno(cls, Visibility.PUBLIC, "fileno");
        populateMethod(javaMethod, 0, "fileno", false, true, org.jruby.RubyDir.class, "fileno", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "fileno", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$initialize(cls, Visibility.PUBLIC, "initialize");
        populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.RubyDir.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$0$0$close(cls, Visibility.PUBLIC, "close");
        populateMethod(javaMethod, 0, "close", false, false, org.jruby.RubyDir.class, "close", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "close", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$1$0$set_pos(cls, Visibility.PUBLIC, "pos=");
        populateMethod(javaMethod, 1, "set_pos", false, false, org.jruby.RubyDir.class, "set_pos", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
        aliasedMethod = cls.putMethod(runtime, "pos=", javaMethod);
        javaMethod = new org.jruby.RubyDir$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect");
        populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.RubyDir.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod);

        runtime.addBoundMethods("org.jruby.RubyDir", "aref", "[]", "read", "read", "tell", "tell", "rmdir19", "rmdir", "exist", "exist?", "seek", "seek", "each", "each", "home", "home", "foreach", "foreach", "path", "path", "entries", "entries", "entries", "entries", "rewind", "rewind", "children", "children", "fileno", "fileno", "getwd", "getwd", "chroot", "chroot", "each_child", "each_child", "exists_p", "exists?", "initialize", "initialize", "empty_p", "empty?", "mkdir", "mkdir", "close", "close", "set_pos", "pos=", "open", "open", "glob", "glob", "chdir", "chdir", "to_path", "to_path", "inspect", "inspect");
    }
    static {
    }
}