Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$chroot(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "chroot", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "chroot", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("chroot", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$0$0$getwd(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 0, "getwd", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "getwd", org.jruby.RubyString.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("getwd", javaMethod); singletonClass.addMethodAtBootTimeOnly("pwd", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$0$1$glob(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, -1, "glob", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "glob", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class}); singletonClass.addMethodAtBootTimeOnly("glob", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$0$0$aref(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, -1, "aref", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "aref", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject[].class}); singletonClass.addMethodAtBootTimeOnly("[]", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$0$1$chdir(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, -1, "chdir", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "chdir", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class}); singletonClass.addMethodAtBootTimeOnly("chdir", javaMethod); runtime.addBoundMethod("org.jruby.RubyDir","chroot","chroot"); if (compatVersion == CompatVersion.RUBY1_8 || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$open(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "open", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "open", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.Block.class}); singletonClass.addMethodAtBootTimeOnly("open", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$foreach(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "foreach", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "foreach", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.Block.class}); singletonClass.addMethodAtBootTimeOnly("foreach", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$entries(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "entries", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "entries", org.jruby.RubyArray.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("entries", javaMethod);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$chroot(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "chroot", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "chroot", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("chroot", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$0$0$getwd(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 0, "getwd", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "getwd", org.jruby.RubyString.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("getwd", javaMethod); singletonClass.addMethodAtBootTimeOnly("pwd", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$0$0$aref(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, -1, "aref", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "aref", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject[].class}); singletonClass.addMethodAtBootTimeOnly("[]", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$0$1$chdir(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, -1, "chdir", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "chdir", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class}); singletonClass.addMethodAtBootTimeOnly("chdir", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$0$1$glob(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, -1, "glob", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "glob", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class}); singletonClass.addMethodAtBootTimeOnly("glob", javaMethod); runtime.addBoundMethod("org.jruby.RubyDir","chroot","chroot"); if (compatVersion == CompatVersion.RUBY1_8 || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$entries(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "entries", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "entries", org.jruby.RubyArray.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("entries", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$0$1$mkdir(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, -1, "mkdir", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "mkdir", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject[].class}); singletonClass.addMethodAtBootTimeOnly("mkdir", javaMethod); javaMethod = new org.jruby.RubyDir$INVOKER$s$1$0$rmdir(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "rmdir", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyDir.class, "rmdir", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("rmdir", javaMethod);
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$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);
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$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);