Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyEnumerator$INVOKER$s$0$0$each_with_index(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "each_with_index", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "each_with_index", 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("each_with_index", javaMethod); runtime.addBoundMethod("org.jruby.RubyEnumerator","each_with_index","each_with_index"); if (compatVersion == CompatVersion.RUBY1_8 || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyEnumerator$INVOKER$s$0$0$with_index(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "with_index", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "with_index", 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("with_index", javaMethod); runtime.addBoundMethod("org.jruby.RubyEnumerator","with_index","with_index"); populateMethod(javaMethod, -1, "with_index19", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "with_index19", 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("with_index", javaMethod); runtime.addBoundMethod("org.jruby.RubyEnumerator","with_index19","with_index"); populateMethod(javaMethod, 0, "dup", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "dup", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {}); cls.addMethodAtBootTimeOnly("dup", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$each_slice19(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "each_slice19", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "each_slice19", 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("each_slice", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$each_cons19(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "each_cons19", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "each_cons19", 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("each_cons", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$next(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "next", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "next", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("next", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$each(cls, Visibility.PUBLIC); populateMethod(javaMethod, -1, "each", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "each", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class}); cls.addMethodAtBootTimeOnly("each", javaMethod);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyEnumerator$INVOKER$s$0$0$each_with_index(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "each_with_index", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "each_with_index", 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("each_with_index", javaMethod); runtime.addBoundMethod("org.jruby.RubyEnumerator","each_with_index","each_with_index"); if (compatVersion == CompatVersion.RUBY1_8 || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyEnumerator$INVOKER$s$0$0$with_index(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "with_index", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "with_index", 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("with_index", javaMethod); runtime.addBoundMethod("org.jruby.RubyEnumerator","with_index","with_index"); populateMethod(javaMethod, -1, "with_index19", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "with_index19", 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("with_index", javaMethod); runtime.addBoundMethod("org.jruby.RubyEnumerator","with_index19","with_index"); populateMethod(javaMethod, 0, "rewind", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "rewind", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("rewind", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$dup(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "dup", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "dup", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {}); cls.addMethodAtBootTimeOnly("dup", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$peek(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "peek", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "peek", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("peek", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$each_slice19(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "each_slice19", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "each_slice19", 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("each_slice", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$each_cons19(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "each_cons19", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "each_cons19", 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("each_cons", javaMethod);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$with_index(cls, Visibility.PUBLIC, "with_index"); populateMethod(javaMethod, -1, "with_index", false, false, org.jruby.RubyEnumerator.class, "with_index", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK); aliasedMethod = cls.putMethod(runtime, "with_index", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$size(cls, Visibility.PUBLIC, "size"); populateMethod(javaMethod, 0, "size", false, false, org.jruby.RubyEnumerator.class, "size", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "size", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$each_with_index(cls, Visibility.PUBLIC, "each_with_index"); populateMethod(javaMethod, 0, "each_with_index", false, false, org.jruby.RubyEnumerator.class, "each_with_index", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK); aliasedMethod = cls.putMethod(runtime, "each_with_index", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$each_with_object(cls, Visibility.PUBLIC, "each_with_object"); populateMethod(javaMethod, 1, "each_with_object", false, false, org.jruby.RubyEnumerator.class, "each_with_object", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK); aliasedMethod = cls.putMethod(runtime, "each_with_object", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$next(cls, Visibility.PUBLIC, "next"); populateMethod(javaMethod, 0, "next", false, false, org.jruby.RubyEnumerator.class, "next", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "next", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$feed(cls, Visibility.PUBLIC, "feed"); populateMethod(javaMethod, 1, "feed", false, false, org.jruby.RubyEnumerator.class, "feed", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "feed", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$peek(cls, Visibility.PUBLIC, "peek"); populateMethod(javaMethod, 0, "peek", false, false, org.jruby.RubyEnumerator.class, "peek", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "peek", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$with_object(cls, Visibility.PUBLIC, "with_object"); populateMethod(javaMethod, 1, "with_object", false, false, org.jruby.RubyEnumerator.class, "with_object", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK); aliasedMethod = cls.putMethod(runtime, "with_object", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$rewind(cls, Visibility.PUBLIC, "rewind"); populateMethod(javaMethod, 0, "rewind", false, false, org.jruby.RubyEnumerator.class, "rewind", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "rewind", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$each_slice(cls, Visibility.PUBLIC, "each_slice");
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$with_index(cls, Visibility.PUBLIC, "with_index"); populateMethod(javaMethod, -1, "with_index", false, false, org.jruby.RubyEnumerator.class, "with_index", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK); aliasedMethod = cls.putMethod(runtime, "with_index", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$size(cls, Visibility.PUBLIC, "size"); populateMethod(javaMethod, 0, "size", false, false, org.jruby.RubyEnumerator.class, "size", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "size", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$each_with_index(cls, Visibility.PUBLIC, "each_with_index"); populateMethod(javaMethod, 0, "each_with_index", false, false, org.jruby.RubyEnumerator.class, "each_with_index", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK); aliasedMethod = cls.putMethod(runtime, "each_with_index", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$each_with_object(cls, Visibility.PUBLIC, "each_with_object"); populateMethod(javaMethod, 1, "each_with_object", false, false, org.jruby.RubyEnumerator.class, "each_with_object", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK); aliasedMethod = cls.putMethod(runtime, "each_with_object", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$next(cls, Visibility.PUBLIC, "next"); populateMethod(javaMethod, 0, "next", false, false, org.jruby.RubyEnumerator.class, "next", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "next", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$feed(cls, Visibility.PUBLIC, "feed"); populateMethod(javaMethod, 1, "feed", false, false, org.jruby.RubyEnumerator.class, "feed", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "feed", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$peek(cls, Visibility.PUBLIC, "peek"); populateMethod(javaMethod, 0, "peek", false, false, org.jruby.RubyEnumerator.class, "peek", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "peek", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$with_object(cls, Visibility.PUBLIC, "with_object"); populateMethod(javaMethod, 1, "with_object", false, false, org.jruby.RubyEnumerator.class, "with_object", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK); aliasedMethod = cls.putMethod(runtime, "with_object", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$rewind(cls, Visibility.PUBLIC, "rewind"); populateMethod(javaMethod, 0, "rewind", false, false, org.jruby.RubyEnumerator.class, "rewind", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "rewind", javaMethod); javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$each_slice(cls, Visibility.PUBLIC, "each_slice");