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$JavaLang$Number$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.JavaLang$Number$INVOKER$s$1$0$coerce(cls, Visibility.PUBLIC, "coerce");
populateMethod(javaMethod, 1, "coerce", true, false, org.jruby.javasupport.ext.JavaLang.Number.class, "coerce", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
aliasedMethod = cls.putMethod(runtime, "coerce", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaLang$Number$INVOKER$s$0$0$zero_p(cls, Visibility.PUBLIC, "zero?");
populateMethod(javaMethod, 0, "zero_p", true, false, org.jruby.javasupport.ext.JavaLang.Number.class, "zero_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "zero?", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaLang$Number$INVOKER$s$0$0$to_i(cls, Visibility.PUBLIC, "to_i");
populateMethod(javaMethod, 0, "to_i", true, false, org.jruby.javasupport.ext.JavaLang.Number.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.JavaLang$Number$INVOKER$s$0$0$to_f(cls, Visibility.PUBLIC, "to_f");
populateMethod(javaMethod, 0, "to_f", true, false, org.jruby.javasupport.ext.JavaLang.Number.class, "to_f", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "to_f", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaLang$Number$INVOKER$s$0$0$real_p(cls, Visibility.PUBLIC, "real?");
populateMethod(javaMethod, 0, "real_p", true, false, org.jruby.javasupport.ext.JavaLang.Number.class, "real_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "real?", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaLang$Number$INVOKER$s$0$0$nonzero_p(cls, Visibility.PUBLIC, "nonzero?");
populateMethod(javaMethod, 0, "nonzero_p", true, false, org.jruby.javasupport.ext.JavaLang.Number.class, "nonzero_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "nonzero?", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaLang$Number$INVOKER$s$0$0$integer_p(cls, Visibility.PUBLIC, "integer?");
populateMethod(javaMethod, 0, "integer_p", true, false, org.jruby.javasupport.ext.JavaLang.Number.class, "integer_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "integer?", javaMethod);
runtime.addBoundMethods("org.jruby.javasupport.ext.JavaLang.Number", "coerce", "coerce", "zero_p", "zero?", "to_i", "to_i", "to_f", "to_f", "real_p", "real?", "nonzero_p", "nonzero?", "integer_p", "integer?");
}
static {
}
}