package org.jruby.gen;
import org.jruby.Ruby;
import org.jruby.RubyModule;
import org.jruby.RubyClass;
import org.jruby.anno.TypePopulator;
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.runtime.MethodIndex;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
@Generated("org.jruby.anno.AnnotationBinder")
@SuppressWarnings("deprecation")
public class org$jruby$javasupport$ext$JavaLang$Iterable$POPULATOR extends TypePopulator {
public void populate(RubyModule cls, Class clazz) {
JavaMethod javaMethod;
DynamicMethod moduleMethod, aliasedMethod;
Ruby runtime = cls.getRuntime();
javaMethod = new org.jruby.javasupport.ext.JavaLang$Iterable$INVOKER$s$0$0$each(cls, Visibility.PUBLIC, "each");
populateMethod(javaMethod, 0, "each", true, false, org.jruby.javasupport.ext.JavaLang.Iterable.class, "each", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
aliasedMethod = cls.putMethod(runtime, "each", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaLang$Iterable$INVOKER$s$count(cls, Visibility.PUBLIC, "count");
populateMethod(javaMethod, -1, "count", true, false, org.jruby.javasupport.ext.JavaLang.Iterable.class, "count", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
aliasedMethod = cls.putMethod(runtime, "count", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaLang$Iterable$INVOKER$s$0$0$to_a(cls, Visibility.PUBLIC, "to_a");
populateMethod(javaMethod, 0, "to_a", true, false, org.jruby.javasupport.ext.JavaLang.Iterable.class, "to_a", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
aliasedMethod = cls.putMethod(runtime, "to_a", javaMethod);
cls.putMethod(runtime, "entries", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaLang$Iterable$INVOKER$s$0$0$each_with_index(cls, Visibility.PUBLIC, "each_with_index");
populateMethod(javaMethod, 0, "each_with_index", true, false, org.jruby.javasupport.ext.JavaLang.Iterable.class, "each_with_index", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
aliasedMethod = cls.putMethod(runtime, "each_with_index", javaMethod);
runtime.addBoundMethods("org.jruby.javasupport.ext.JavaLang.Iterable", "count", "count", "to_a", "to_a", "each", "each", "each_with_index", "each_with_index");
}
static {
}
}