/* 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$RubyRational$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        RubyClass singletonClass = cls.getSingletonClass();
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.RubyRational$INVOKER$s$convert(singletonClass, Visibility.PRIVATE, "convert");
        populateMethod(javaMethod, -1, "convert", true, false, org.jruby.RubyRational.class, "convert", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "convert", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$op_expt(cls, Visibility.PUBLIC, "**");
        populateMethod(javaMethod, 1, "op_expt", false, false, org.jruby.RubyRational.class, "op_expt", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "**", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$op_coerce(cls, Visibility.PUBLIC, "coerce");
        populateMethod(javaMethod, 1, "op_coerce", false, false, org.jruby.RubyRational.class, "op_coerce", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "coerce", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$fdiv(cls, Visibility.PUBLIC, "fdiv");
        populateMethod(javaMethod, 1, "fdiv", false, false, org.jruby.RubyRational.class, "fdiv", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "fdiv", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$marshal_load(cls, Visibility.PUBLIC, "marshal_load");
        populateMethod(javaMethod, 1, "marshal_load", false, false, org.jruby.RubyRational.class, "marshal_load", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "marshal_load", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$0$0$to_i(cls, Visibility.PUBLIC, "to_i");
        populateMethod(javaMethod, 0, "to_i", false, false, org.jruby.RubyRational.class, "to_i", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_i", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$truncate(cls, Visibility.PUBLIC, "truncate");
        populateMethod(javaMethod, -1, "truncate", false, false, org.jruby.RubyRational.class, "truncate", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "truncate", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$0$0$to_f(cls, Visibility.PUBLIC, "to_f");
        populateMethod(javaMethod, 0, "to_f", false, false, org.jruby.RubyRational.class, "to_f", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_f", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$0$0$to_r(cls, Visibility.PUBLIC, "to_r");
        populateMethod(javaMethod, 0, "to_r", false, false, org.jruby.RubyRational.class, "to_r", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_r", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC, "to_s");
        populateMethod(javaMethod, 0, "to_s", false, false, org.jruby.RubyRational.class, "to_s", org.jruby.RubyString.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_s", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$floor(cls, Visibility.PUBLIC, "floor");
        populateMethod(javaMethod, -1, "floor", false, false, org.jruby.RubyRational.class, "floor", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "floor", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$0$0$marshal_dump(cls, Visibility.PUBLIC, "marshal_dump");
        populateMethod(javaMethod, 0, "marshal_dump", false, false, org.jruby.RubyRational.class, "marshal_dump", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "marshal_dump", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$op_cmp(cls, Visibility.PUBLIC, "<=>");
        populateMethod(javaMethod, 1, "op_cmp", false, false, org.jruby.RubyRational.class, "op_cmp", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "<=>", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$op_equal(cls, Visibility.PUBLIC, "==");
        populateMethod(javaMethod, 1, "op_equal", false, false, org.jruby.RubyRational.class, "op_equal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "==", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$op_mul(cls, Visibility.PUBLIC, "*");
        populateMethod(javaMethod, 1, "op_mul", false, false, org.jruby.RubyRational.class, "op_mul", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "*", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$op_plus(cls, Visibility.PUBLIC, "+");
        populateMethod(javaMethod, 1, "op_plus", false, false, org.jruby.RubyRational.class, "op_plus", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "+", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$ceil(cls, Visibility.PUBLIC, "ceil");
        populateMethod(javaMethod, -1, "ceil", false, false, org.jruby.RubyRational.class, "ceil", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "ceil", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$op_minus(cls, Visibility.PUBLIC, "-");
        populateMethod(javaMethod, 1, "op_minus", false, false, org.jruby.RubyRational.class, "op_minus", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "-", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$0$0$numerator(cls, Visibility.PUBLIC, "numerator");
        populateMethod(javaMethod, 0, "numerator", false, false, org.jruby.RubyRational.class, "numerator", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "numerator", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$0$0$denominator(cls, Visibility.PUBLIC, "denominator");
        populateMethod(javaMethod, 0, "denominator", false, false, org.jruby.RubyRational.class, "denominator", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "denominator", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$op_div(cls, Visibility.PUBLIC, "/");
        populateMethod(javaMethod, 1, "op_div", false, false, org.jruby.RubyRational.class, "op_div", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "/", javaMethod);
        cls.putMethod(runtime, "quo", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$op_divmod(cls, Visibility.PUBLIC, "divmod");
        populateMethod(javaMethod, 1, "op_divmod", false, false, org.jruby.RubyRational.class, "op_divmod", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "divmod", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$0$0$op_abs(cls, Visibility.PUBLIC, "abs");
        populateMethod(javaMethod, 0, "op_abs", false, false, org.jruby.RubyRational.class, "op_abs", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "abs", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$round(cls, Visibility.PUBLIC, "round");
        populateMethod(javaMethod, -1, "round", false, false, org.jruby.RubyRational.class, "round", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "round", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect");
        populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.RubyRational.class, "inspect", org.jruby.RubyString.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$1$0$op_rem(cls, Visibility.PUBLIC, "remainder");
        populateMethod(javaMethod, 1, "op_rem", false, false, org.jruby.RubyRational.class, "op_rem", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "remainder", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$0$1$rationalize(cls, Visibility.PUBLIC, "rationalize");
        populateMethod(javaMethod, -1, "rationalize", false, false, org.jruby.RubyRational.class, "rationalize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "rationalize", javaMethod);
        javaMethod = new org.jruby.RubyRational$INVOKER$i$0$0$hash(cls, Visibility.PUBLIC, "hash");
        populateMethod(javaMethod, 0, "hash", false, false, org.jruby.RubyRational.class, "hash", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "hash", javaMethod);

        runtime.addBoundMethods("org.jruby.RubyRational", "op_expt", "**", "op_coerce", "coerce", "fdiv", "fdiv", "convert", "convert", "marshal_load", "marshal_load", "to_i", "to_i", "truncate", "truncate", "to_f", "to_f", "to_r", "to_r", "to_s", "to_s", "floor", "floor", "marshal_dump", "marshal_dump", "op_cmp", "<=>", "op_equal", "==", "op_mul", "*", "op_plus", "+", "ceil", "ceil", "op_minus", "-", "numerator", "numerator", "denominator", "denominator", "op_div", "/", "op_divmod", "divmod", "op_abs", "abs", "round", "round", "inspect", "inspect", "op_rem", "remainder", "rationalize", "rationalize", "hash", "hash");
    }
    static {
    }
}