/* 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$ext$securerandom$RubySecureRandom$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.ext.securerandom.RubySecureRandom$INVOKER$s$1$0$gen_random(singletonClass, Visibility.PUBLIC, "gen_random");
        populateMethod(javaMethod, 1, "gen_random", true, false, org.jruby.ext.securerandom.RubySecureRandom.class, "gen_random", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "gen_random", javaMethod);
        singletonClass.putMethod(runtime, "bytes", javaMethod);
        javaMethod = new org.jruby.ext.securerandom.RubySecureRandom$INVOKER$s$hex(singletonClass, Visibility.PUBLIC, "hex");
        populateMethod(javaMethod, -1, "hex", true, false, org.jruby.ext.securerandom.RubySecureRandom.class, "hex", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "hex", javaMethod);
        javaMethod = new org.jruby.ext.securerandom.RubySecureRandom$INVOKER$s$random_number(singletonClass, Visibility.PUBLIC, "random_number");
        populateMethod(javaMethod, -1, "random_number", true, false, org.jruby.ext.securerandom.RubySecureRandom.class, "random_number", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "random_number", javaMethod);
        singletonClass.putMethod(runtime, "rand", javaMethod);
        javaMethod = new org.jruby.ext.securerandom.RubySecureRandom$INVOKER$s$random_bytes(singletonClass, Visibility.PUBLIC, "random_bytes");
        populateMethod(javaMethod, -1, "random_bytes", true, false, org.jruby.ext.securerandom.RubySecureRandom.class, "random_bytes", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "random_bytes", javaMethod);
        javaMethod = new org.jruby.ext.securerandom.RubySecureRandom$INVOKER$s$0$0$uuid(singletonClass, Visibility.PUBLIC, "uuid");
        populateMethod(javaMethod, 0, "uuid", true, false, org.jruby.ext.securerandom.RubySecureRandom.class, "uuid", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "uuid", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.securerandom.RubySecureRandom", "gen_random", "gen_random", "random_number", "random_number", "random_bytes", "random_bytes", "hex", "hex", "uuid", "uuid");
    }
    static {
    }
}