/* 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$List$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$List$INVOKER$s$aref(cls, Visibility.PUBLIC, "[]");
        populateMethod(javaMethod, -1, "aref", true, false, org.jruby.javasupport.ext.JavaUtil.List.class, "aref", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "[]", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$List$INVOKER$s$rindex(cls, Visibility.PUBLIC, "rindex");
        populateMethod(javaMethod, -1, "rindex", true, false, org.jruby.javasupport.ext.JavaUtil.List.class, "rindex", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "rindex", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$List$INVOKER$s$last(cls, Visibility.PUBLIC, "last");
        populateMethod(javaMethod, -1, "last", true, false, org.jruby.javasupport.ext.JavaUtil.List.class, "last", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "last", javaMethod);
        cls.putMethod(runtime, "ruby_last", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$List$INVOKER$s$index(cls, Visibility.PUBLIC, "index");
        populateMethod(javaMethod, -1, "index", true, false, org.jruby.javasupport.ext.JavaUtil.List.class, "index", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "index", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$List$INVOKER$s$2$0$aset(cls, Visibility.PUBLIC, "[]=");
        populateMethod(javaMethod, 2, "aset", true, false, org.jruby.javasupport.ext.JavaUtil.List.class, "aset", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG3);
        aliasedMethod = cls.putMethod(runtime, "[]=", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$List$INVOKER$s$0$0$to_a(cls, Visibility.PUBLIC, "to_a");
        populateMethod(javaMethod, 0, "to_a", true, false, org.jruby.javasupport.ext.JavaUtil.List.class, "to_a", org.jruby.RubyArray.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "to_a", javaMethod);
        cls.putMethod(runtime, "to_ary", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$List$INVOKER$s$0$0$sort(cls, Visibility.PUBLIC, "sort");
        populateMethod(javaMethod, 0, "sort", true, false, org.jruby.javasupport.ext.JavaUtil.List.class, "sort", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "sort", javaMethod);
        cls.putMethod(runtime, "ruby_sort", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$List$INVOKER$s$0$0$sort_bang(cls, Visibility.PUBLIC, "sort!");
        populateMethod(javaMethod, 0, "sort_bang", true, false, org.jruby.javasupport.ext.JavaUtil.List.class, "sort_bang", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "sort!", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtil$List$INVOKER$s$first(cls, Visibility.PUBLIC, "first");
        populateMethod(javaMethod, -1, "first", true, false, org.jruby.javasupport.ext.JavaUtil.List.class, "first", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "first", javaMethod);
        cls.putMethod(runtime, "ruby_first", javaMethod);

        runtime.addBoundMethods("org.jruby.javasupport.ext.JavaUtil.List", "aref", "[]", "rindex", "rindex", "last", "last", "index", "index", "aset", "[]=", "to_a", "to_a", "sort", "sort", "sort_bang", "sort!", "first", "first");
    }
    static {
    }
}