cls.addMethodAtBootTimeOnly("writable?", javaMethod); cls.addMethodAtBootTimeOnly("writable_real?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("writable?", moduleMethod); singletonClass.addMethodAtBootTimeOnly("writable_real?", moduleMethod); populateMethod(javaMethod, 1, "chardev_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyFileTest.class, "chardev_p", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("chardev?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("chardev?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$size_p(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "size_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyFileTest.class, "size_p", 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}); cls.addMethodAtBootTimeOnly("size?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("size?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$grpowned_p(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "grpowned_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyFileTest.class, "grpowned_p", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("grpowned?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("grpowned?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$symlink_p(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "symlink_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyFileTest.class, "symlink_p", org.jruby.RubyBoolean.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("symlink?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("symlink?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$owned_p(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "owned_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyFileTest.class, "owned_p", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("owned?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod);
populateMethod(javaMethod, 1, "symlink_p", true, false, org.jruby.RubyFileTest.class, "symlink_p", org.jruby.RubyBoolean.class, ARG2); aliasedMethod = cls.putMethod(runtime, "symlink?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "symlink?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$worldReadable(cls, Visibility.PUBLIC, "world_readable?"); populateMethod(javaMethod, 1, "worldReadable", true, false, org.jruby.RubyFileTest.class, "worldReadable", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = cls.putMethod(runtime, "world_readable?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "world_readable?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$sticky_p(cls, Visibility.PUBLIC, "sticky?"); populateMethod(javaMethod, 1, "sticky_p", true, false, org.jruby.RubyFileTest.class, "sticky_p", org.jruby.runtime.builtin.IRubyObject.class, ARG2); aliasedMethod = cls.putMethod(runtime, "sticky?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "sticky?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$writable_p(cls, Visibility.PUBLIC, "writable?"); aliasedMethod = cls.putMethod(runtime, "writable?", javaMethod); cls.putMethod(runtime, "writable_real?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "writable?", moduleMethod); singletonClass.putMethod(runtime, "writable_real?", moduleMethod); populateMethod(javaMethod, 1, "setgid_p", true, false, org.jruby.RubyFileTest.class, "setgid_p", org.jruby.runtime.builtin.IRubyObject.class, ARG2); aliasedMethod = cls.putMethod(runtime, "setgid?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "setgid?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$pipe_p(cls, Visibility.PUBLIC, "pipe?"); populateMethod(javaMethod, 1, "pipe_p", true, false, org.jruby.RubyFileTest.class, "pipe_p", org.jruby.runtime.builtin.IRubyObject.class, ARG2); aliasedMethod = cls.putMethod(runtime, "pipe?", javaMethod);
populateMethod(javaMethod, 1, "symlink_p", true, false, org.jruby.RubyFileTest.class, "symlink_p", org.jruby.RubyBoolean.class, ARG2); aliasedMethod = cls.putMethod(runtime, "symlink?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "symlink?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$worldReadable(cls, Visibility.PUBLIC, "world_readable?"); populateMethod(javaMethod, 1, "worldReadable", true, false, org.jruby.RubyFileTest.class, "worldReadable", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = cls.putMethod(runtime, "world_readable?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "world_readable?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$sticky_p(cls, Visibility.PUBLIC, "sticky?"); populateMethod(javaMethod, 1, "sticky_p", true, false, org.jruby.RubyFileTest.class, "sticky_p", org.jruby.runtime.builtin.IRubyObject.class, ARG2); aliasedMethod = cls.putMethod(runtime, "sticky?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "sticky?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$writable_p(cls, Visibility.PUBLIC, "writable?"); aliasedMethod = cls.putMethod(runtime, "writable?", javaMethod); cls.putMethod(runtime, "writable_real?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "writable?", moduleMethod); singletonClass.putMethod(runtime, "writable_real?", moduleMethod); populateMethod(javaMethod, 1, "setgid_p", true, false, org.jruby.RubyFileTest.class, "setgid_p", org.jruby.runtime.builtin.IRubyObject.class, ARG2); aliasedMethod = cls.putMethod(runtime, "setgid?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "setgid?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$pipe_p(cls, Visibility.PUBLIC, "pipe?"); populateMethod(javaMethod, 1, "pipe_p", true, false, org.jruby.RubyFileTest.class, "pipe_p", org.jruby.runtime.builtin.IRubyObject.class, ARG2); aliasedMethod = cls.putMethod(runtime, "pipe?", javaMethod);
cls.addMethodAtBootTimeOnly("writable?", javaMethod); cls.addMethodAtBootTimeOnly("writable_real?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("writable?", moduleMethod); singletonClass.addMethodAtBootTimeOnly("writable_real?", moduleMethod); populateMethod(javaMethod, 1, "chardev_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyFileTest.class, "chardev_p", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("chardev?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("chardev?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$size_p(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "size_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyFileTest.class, "size_p", 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}); cls.addMethodAtBootTimeOnly("size?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("size?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$grpowned_p(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "grpowned_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyFileTest.class, "grpowned_p", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("grpowned?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("grpowned?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$symlink_p(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "symlink_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyFileTest.class, "symlink_p", org.jruby.RubyBoolean.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("symlink?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("symlink?", moduleMethod); javaMethod = new org.jruby.RubyFileTest$INVOKER$s$1$0$owned_p(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "owned_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyFileTest.class, "owned_p", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("owned?", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod);