/* 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$JavaUtilRegex$Matcher$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.JavaUtilRegex$Matcher$INVOKER$s$aref(cls, Visibility.PUBLIC, "[]");
        populateMethod(javaMethod, -1, "aref", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "aref", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "[]", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtilRegex$Matcher$INVOKER$s$0$0$pre_match(cls, Visibility.PUBLIC, "pre_match");
        populateMethod(javaMethod, 0, "pre_match", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "pre_match", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "pre_match", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtilRegex$Matcher$INVOKER$s$0$0$values_at(cls, Visibility.PUBLIC, "values_at");
        populateMethod(javaMethod, -1, "values_at", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "values_at", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY);
        aliasedMethod = cls.putMethod(runtime, "values_at", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtilRegex$Matcher$INVOKER$s$0$0$captures(cls, Visibility.PUBLIC, "captures");
        populateMethod(javaMethod, 0, "captures", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "captures", org.jruby.RubyArray.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "captures", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtilRegex$Matcher$INVOKER$s$0$0$size(cls, Visibility.PUBLIC, "length");
        populateMethod(javaMethod, 0, "size", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "size", org.jruby.RubyFixnum.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "length", javaMethod);
        cls.putMethod(runtime, "size", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtilRegex$Matcher$INVOKER$s$0$0$post_match(cls, Visibility.PUBLIC, "post_match");
        populateMethod(javaMethod, 0, "post_match", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "post_match", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "post_match", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtilRegex$Matcher$INVOKER$s$0$0$string(cls, Visibility.PUBLIC, "string");
        populateMethod(javaMethod, 0, "string", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "string", org.jruby.RubyString.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "string", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtilRegex$Matcher$INVOKER$s$0$0$to_a(cls, Visibility.PUBLIC, "to_a");
        populateMethod(javaMethod, 0, "to_a", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "to_a", org.jruby.RubyArray.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "to_a", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtilRegex$Matcher$INVOKER$s$1$0$begin(cls, Visibility.PUBLIC, "begin");
        populateMethod(javaMethod, 1, "begin", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "begin", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "begin", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtilRegex$Matcher$INVOKER$s$1$0$end(cls, Visibility.PUBLIC, "end");
        populateMethod(javaMethod, 1, "end", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "end", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "end", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtilRegex$Matcher$INVOKER$s$0$0$regexp(cls, Visibility.PUBLIC, "regexp");
        populateMethod(javaMethod, 0, "regexp", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "regexp", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "regexp", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaUtilRegex$Matcher$INVOKER$s$1$0$offset(cls, Visibility.PUBLIC, "offset");
        populateMethod(javaMethod, 1, "offset", true, false, org.jruby.javasupport.ext.JavaUtilRegex.Matcher.class, "offset", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "offset", javaMethod);

        runtime.addBoundMethods("org.jruby.javasupport.ext.JavaUtilRegex.Matcher", "aref", "[]", "size", "length", "pre_match", "pre_match", "values_at", "values_at", "captures", "captures", "post_match", "post_match", "string", "string", "to_a", "to_a", "begin", "begin", "end", "end", "regexp", "regexp", "offset", "offset");
    }
    static {
    }
}