/* 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$JavaMath$BigDecimal$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.JavaMath$BigDecimal$INVOKER$s$1$0$coerce(cls, Visibility.PUBLIC, "coerce");
        populateMethod(javaMethod, 1, "coerce", true, false, org.jruby.javasupport.ext.JavaMath.BigDecimal.class, "coerce", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "coerce", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaMath$BigDecimal$INVOKER$s$0$0$to_i(cls, Visibility.PUBLIC, "to_i");
        populateMethod(javaMethod, 0, "to_i", true, false, org.jruby.javasupport.ext.JavaMath.BigDecimal.class, "to_i", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "to_i", javaMethod);
        cls.putMethod(runtime, "to_int", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaMath$BigDecimal$INVOKER$s$0$0$to_f(cls, Visibility.PUBLIC, "to_f");
        populateMethod(javaMethod, 0, "to_f", true, false, org.jruby.javasupport.ext.JavaMath.BigDecimal.class, "to_f", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "to_f", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaMath$BigDecimal$INVOKER$s$0$0$to_d(cls, Visibility.PUBLIC, "to_d");
        populateMethod(javaMethod, 0, "to_d", true, false, org.jruby.javasupport.ext.JavaMath.BigDecimal.class, "to_d", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "to_d", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaMath$BigDecimal$INVOKER$s$0$0$to_r(cls, Visibility.PUBLIC, "to_r");
        populateMethod(javaMethod, 0, "to_r", true, false, org.jruby.javasupport.ext.JavaMath.BigDecimal.class, "to_r", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "to_r", javaMethod);

        runtime.addBoundMethods("org.jruby.javasupport.ext.JavaMath.BigDecimal", "coerce", "coerce", "to_i", "to_i", "to_f", "to_f", "to_d", "to_d", "to_r", "to_r");
    }
    static {
    }
}