if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_undefined19(cls, Visibility.PRIVATE); populateMethod(javaMethod, 1, "singleton_method_undefined19", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "singleton_method_undefined19", 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}); cls.addMethodAtBootTimeOnly("singleton_method_undefined", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("singleton_method_undefined", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_removed19(cls, Visibility.PRIVATE); populateMethod(javaMethod, 1, "singleton_method_removed19", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "singleton_method_removed19", 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}); cls.addMethodAtBootTimeOnly("singleton_method_removed", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("singleton_method_removed", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$0$0$method_missing19(cls, Visibility.PRIVATE); populateMethod(javaMethod, -1, "method_missing19", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "method_missing19", 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}); cls.addMethodAtBootTimeOnly("method_missing", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("method_missing", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_added19(cls, Visibility.PRIVATE); populateMethod(javaMethod, 1, "singleton_method_added19", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "singleton_method_added19", 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}); cls.addMethodAtBootTimeOnly("singleton_method_added", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("singleton_method_added", moduleMethod); runtime.addBoundMethod("org.jruby.RubyBasicObject","singleton_method_undefined19","singleton_method_undefined"); populateMethod(javaMethod, -1, "instance_exec19", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "instance_exec19", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class}); cls.addMethodAtBootTimeOnly("instance_exec", javaMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$i$1$0$equal_p19(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "equal_p19", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "equal_p19", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("equal?", javaMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$i$0$0$op_not(cls, Visibility.PUBLIC);
if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_undefined19(cls, Visibility.PRIVATE); populateMethod(javaMethod, 1, "singleton_method_undefined19", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "singleton_method_undefined19", 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}); cls.addMethodAtBootTimeOnly("singleton_method_undefined", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("singleton_method_undefined", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_removed19(cls, Visibility.PRIVATE); populateMethod(javaMethod, 1, "singleton_method_removed19", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "singleton_method_removed19", 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}); cls.addMethodAtBootTimeOnly("singleton_method_removed", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("singleton_method_removed", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$0$0$method_missing19(cls, Visibility.PRIVATE); populateMethod(javaMethod, -1, "method_missing19", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "method_missing19", 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}); cls.addMethodAtBootTimeOnly("method_missing", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("method_missing", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_added19(cls, Visibility.PRIVATE); populateMethod(javaMethod, 1, "singleton_method_added19", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "singleton_method_added19", 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}); cls.addMethodAtBootTimeOnly("singleton_method_added", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); singletonClass.addMethodAtBootTimeOnly("singleton_method_added", moduleMethod); runtime.addBoundMethod("org.jruby.RubyBasicObject","singleton_method_undefined19","singleton_method_undefined"); populateMethod(javaMethod, -1, "instance_exec19", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "instance_exec19", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class}); cls.addMethodAtBootTimeOnly("instance_exec", javaMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$i$1$0$equal_p19(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "equal_p19", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyBasicObject.class, "equal_p19", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("equal?", javaMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$i$0$0$op_not(cls, Visibility.PUBLIC);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$0$0$method_missing(cls, Visibility.PRIVATE, "method_missing"); populateMethod(javaMethod, -1, "method_missing", true, false, org.jruby.RubyBasicObject.class, "method_missing", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK); aliasedMethod = cls.putMethod(runtime, "method_missing", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "method_missing", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_added(cls, Visibility.PRIVATE, "singleton_method_added"); populateMethod(javaMethod, 1, "singleton_method_added", true, false, org.jruby.RubyBasicObject.class, "singleton_method_added", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2_BLOCK); aliasedMethod = cls.putMethod(runtime, "singleton_method_added", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "singleton_method_added", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_undefined(cls, Visibility.PRIVATE, "singleton_method_undefined"); populateMethod(javaMethod, 1, "singleton_method_undefined", true, false, org.jruby.RubyBasicObject.class, "singleton_method_undefined", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2_BLOCK); aliasedMethod = cls.putMethod(runtime, "singleton_method_undefined", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "singleton_method_undefined", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_removed(cls, Visibility.PRIVATE, "singleton_method_removed"); populateMethod(javaMethod, 1, "singleton_method_removed", true, false, org.jruby.RubyBasicObject.class, "singleton_method_removed", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2_BLOCK); aliasedMethod = cls.putMethod(runtime, "singleton_method_removed", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "singleton_method_removed", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$i$1$0$op_equal(cls, Visibility.PUBLIC, "=="); populateMethod(javaMethod, 1, "op_equal", false, false, org.jruby.RubyBasicObject.class, "op_equal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "==", javaMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$i$0$0$op_not(cls, Visibility.PUBLIC, "!"); populateMethod(javaMethod, 0, "op_not", false, false, org.jruby.RubyBasicObject.class, "op_not", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "!", javaMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$i$0$0$id(cls, Visibility.PUBLIC, "__id__"); populateMethod(javaMethod, 0, "id", false, false, org.jruby.RubyBasicObject.class, "id", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$0$0$method_missing(cls, Visibility.PRIVATE, "method_missing"); populateMethod(javaMethod, -1, "method_missing", true, false, org.jruby.RubyBasicObject.class, "method_missing", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK); aliasedMethod = cls.putMethod(runtime, "method_missing", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "method_missing", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_added(cls, Visibility.PRIVATE, "singleton_method_added"); populateMethod(javaMethod, 1, "singleton_method_added", true, false, org.jruby.RubyBasicObject.class, "singleton_method_added", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2_BLOCK); aliasedMethod = cls.putMethod(runtime, "singleton_method_added", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "singleton_method_added", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_undefined(cls, Visibility.PRIVATE, "singleton_method_undefined"); populateMethod(javaMethod, 1, "singleton_method_undefined", true, false, org.jruby.RubyBasicObject.class, "singleton_method_undefined", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2_BLOCK); aliasedMethod = cls.putMethod(runtime, "singleton_method_undefined", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "singleton_method_undefined", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$s$1$0$singleton_method_removed(cls, Visibility.PRIVATE, "singleton_method_removed"); populateMethod(javaMethod, 1, "singleton_method_removed", true, false, org.jruby.RubyBasicObject.class, "singleton_method_removed", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2_BLOCK); aliasedMethod = cls.putMethod(runtime, "singleton_method_removed", javaMethod); moduleMethod = populateModuleMethod(cls, javaMethod); aliasedMethod = singletonClass.putMethod(runtime, "singleton_method_removed", moduleMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$i$1$0$op_equal(cls, Visibility.PUBLIC, "=="); populateMethod(javaMethod, 1, "op_equal", false, false, org.jruby.RubyBasicObject.class, "op_equal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "==", javaMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$i$0$0$op_not(cls, Visibility.PUBLIC, "!"); populateMethod(javaMethod, 0, "op_not", false, false, org.jruby.RubyBasicObject.class, "op_not", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "!", javaMethod); javaMethod = new org.jruby.RubyBasicObject$INVOKER$i$0$0$id(cls, Visibility.PUBLIC, "__id__"); populateMethod(javaMethod, 0, "id", false, false, org.jruby.RubyBasicObject.class, "id", org.jruby.runtime.builtin.IRubyObject.class, ARG0);