org.jruby.gen.org$jruby$RubyEnumerator$POPULATOR Maven / Gradle / Ivy
/* 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.CompatVersion;
import org.jruby.anno.TypePopulator;
import org.jruby.internal.runtime.methods.CallConfiguration;
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.compiler.ASTInspector;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
@Generated("org.jruby.anno.AnnotationBinder")
public class org$jruby$RubyEnumerator$POPULATOR extends TypePopulator {
public void populate(RubyModule cls, Class clazz) {
JavaMethod javaMethod;
DynamicMethod moduleMethod;
CompatVersion compatVersion = cls.getRuntime().getInstanceConfig().getCompatVersion();
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");
}
if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) {
javaMethod = new org.jruby.RubyEnumerator$INVOKER$s$with_index19(cls, Visibility.PUBLIC);
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");
}
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);
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$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$rewind(cls, Visibility.PUBLIC);
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$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$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);
runtime.addBoundMethod("org.jruby.RubyEnumerator","each","each");
runtime.addBoundMethod("org.jruby.RubyEnumerator","dup","dup");
runtime.addBoundMethod("org.jruby.RubyEnumerator","each_slice19","each_slice");
runtime.addBoundMethod("org.jruby.RubyEnumerator","each_cons19","each_cons");
runtime.addBoundMethod("org.jruby.RubyEnumerator","rewind","rewind");
runtime.addBoundMethod("org.jruby.RubyEnumerator","next","next");
runtime.addBoundMethod("org.jruby.RubyEnumerator","peek","peek");
if (compatVersion == CompatVersion.RUBY1_8 || compatVersion == CompatVersion.BOTH) {
javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$enum_cons(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 1, "enum_cons", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "enum_cons", 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("enum_cons", javaMethod);
javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$enum_slice(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 1, "enum_slice", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "enum_slice", 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("enum_slice", javaMethod);
javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$initialize(cls, Visibility.PRIVATE);
populateMethod(javaMethod, -1, "initialize", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("initialize", javaMethod);
runtime.addBoundMethod("org.jruby.RubyEnumerator","enum_cons","enum_cons");
runtime.addBoundMethod("org.jruby.RubyEnumerator","enum_slice","enum_slice");
runtime.addBoundMethod("org.jruby.RubyEnumerator","initialize","initialize");
}
if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) {
javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$with_object(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 1, "with_object", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "with_object", 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_object", javaMethod);
javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$1$0$each_with_object(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 1, "each_with_object", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "each_with_object", 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_object", javaMethod);
javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$each_entry(cls, Visibility.PUBLIC);
populateMethod(javaMethod, -1, "each_entry", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "each_entry", 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_entry", javaMethod);
javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$inspect19(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "inspect19", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "inspect19", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("inspect", javaMethod);
javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$initialize19(cls, Visibility.PRIVATE);
populateMethod(javaMethod, -1, "initialize19", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "initialize19", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class});
cls.addMethodAtBootTimeOnly("initialize", javaMethod);
runtime.addBoundMethod("org.jruby.RubyEnumerator","with_object","with_object");
runtime.addBoundMethod("org.jruby.RubyEnumerator","each_with_object","each_with_object");
runtime.addBoundMethod("org.jruby.RubyEnumerator","each_entry","each_entry");
runtime.addBoundMethod("org.jruby.RubyEnumerator","inspect19","inspect");
runtime.addBoundMethod("org.jruby.RubyEnumerator","initialize19","initialize");
}
if (compatVersion.is2_0() || compatVersion == CompatVersion.BOTH) {
javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$0$0$size(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "size", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "size", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("size", javaMethod);
javaMethod = new org.jruby.RubyEnumerator$INVOKER$i$initialize20(cls, Visibility.PRIVATE);
populateMethod(javaMethod, -1, "initialize20", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEnumerator.class, "initialize20", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class});
cls.addMethodAtBootTimeOnly("initialize", javaMethod);
runtime.addBoundMethod("org.jruby.RubyEnumerator","size","size");
runtime.addBoundMethod("org.jruby.RubyEnumerator","initialize20","initialize");
}
}
static {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy