/* 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.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$JavaUtil$Collection$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.JavaUtil$Collection$INVOKER$s$0$0$each(cls, Visibility.PUBLIC, "each");
        populateMethod(javaMethod, 0, "each", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "each", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$1$0$append(cls, Visibility.PUBLIC, "<<");
        populateMethod(javaMethod, 1, "append", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "append", org.jruby.runtime.builtin.IRubyObject.class, ARG2);
        aliasedMethod = cls.putMethod(runtime, "<<", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$0$0$clone(cls, Visibility.PUBLIC, "clone");
        populateMethod(javaMethod, 0, "clone", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "clone", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "clone", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$1$0$include_p(cls, Visibility.PUBLIC, "include?");
        populateMethod(javaMethod, 1, "include_p", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "include_p", org.jruby.RubyBoolean.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "include?", javaMethod);
        cls.putMethod(runtime, "member?", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$0$0$length(cls, Visibility.PUBLIC, "length");
        populateMethod(javaMethod, 0, "length", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "length", org.jruby.RubyNumeric.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "length", javaMethod);
        cls.putMethod(runtime, "size", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$0$0$to_a(cls, Visibility.PUBLIC, "to_a");
        populateMethod(javaMethod, 0, "to_a", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "to_a", org.jruby.RubyArray.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "to_a", javaMethod);
        cls.putMethod(runtime, "entries", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$1$0$op_plus(cls, Visibility.PUBLIC, "+");
        populateMethod(javaMethod, 1, "op_plus", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "op_plus", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "+", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$join(cls, Visibility.PUBLIC, "join");
        populateMethod(javaMethod, -1, "join", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "join", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "join", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$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.JavaUtil.Collection.class, "each_with_index", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each_with_index", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$1$0$op_minus(cls, Visibility.PUBLIC, "-");
        populateMethod(javaMethod, 1, "op_minus", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "op_minus", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "-", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$first(cls, Visibility.PUBLIC, "first");
        populateMethod(javaMethod, -1, "first", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "first", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "first", javaMethod);
        cls.putMethod(runtime, "ruby_first", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$0$0$dup(cls, Visibility.PUBLIC, "dup");
        populateMethod(javaMethod, 0, "dup", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "dup", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "dup", javaMethod);

        runtime.addBoundMethods("org.jruby.javasupport.ext.JavaUtil.Collection", "append", "<<", "include_p", "include?", "length", "length", "to_a", "to_a", "op_plus", "+", "op_minus", "-", "first", "first", "each", "each", "clone", "clone", "join", "join", "each_with_index", "each_with_index", "dup", "dup");
    }
    static {
    }
}