/* 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$RubyProc$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.RubyProc$INVOKER$s$0$0$newInstance(singletonClass, Visibility.PUBLIC, "new");
        populateMethod(javaMethod, -1, "newInstance", true, false, org.jruby.RubyProc.class, "newInstance", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "new", javaMethod);
        javaMethod = new org.jruby.RubyProc$INVOKER$i$0$0$call(cls, Visibility.PUBLIC, "call");
        populateMethod(javaMethod, -1, "call", false, false, org.jruby.RubyProc.class, "call", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "call", javaMethod);
        cls.putMethod(runtime, "[]", javaMethod);
        cls.putMethod(runtime, "yield", javaMethod);
        cls.putMethod(runtime, "===", javaMethod);
        javaMethod = new org.jruby.RubyProc$INVOKER$i$0$0$arity(cls, Visibility.PUBLIC, "arity");
        populateMethod(javaMethod, 0, "arity", false, false, org.jruby.RubyProc.class, "arity", org.jruby.RubyFixnum.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "arity", javaMethod);
        javaMethod = new org.jruby.RubyProc$INVOKER$i$0$0$source_location(cls, Visibility.PUBLIC, "source_location");
        populateMethod(javaMethod, 0, "source_location", false, false, org.jruby.RubyProc.class, "source_location", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "source_location", javaMethod);
        javaMethod = new org.jruby.RubyProc$INVOKER$i$0$0$to_proc(cls, Visibility.PUBLIC, "to_proc");
        populateMethod(javaMethod, 0, "to_proc", false, false, org.jruby.RubyProc.class, "to_proc", org.jruby.RubyProc.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_proc", javaMethod);
        javaMethod = new org.jruby.RubyProc$INVOKER$i$0$0$rbClone(cls, Visibility.PUBLIC, "clone");
        populateMethod(javaMethod, 0, "rbClone", false, false, org.jruby.RubyProc.class, "rbClone", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "clone", javaMethod);
        javaMethod = new org.jruby.RubyProc$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC, "to_s");
        populateMethod(javaMethod, 0, "to_s", false, false, org.jruby.RubyProc.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_s", javaMethod);
        cls.putAlias("inspect", aliasedMethod, "to_s");
        javaMethod = new org.jruby.RubyProc$INVOKER$i$0$0$binding(cls, Visibility.PUBLIC, "binding");
        populateMethod(javaMethod, 0, "binding", false, false, org.jruby.RubyProc.class, "binding", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "binding", javaMethod);
        javaMethod = new org.jruby.RubyProc$INVOKER$i$0$0$parameters(cls, Visibility.PUBLIC, "parameters");
        populateMethod(javaMethod, 0, "parameters", false, false, org.jruby.RubyProc.class, "parameters", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "parameters", javaMethod);
        javaMethod = new org.jruby.RubyProc$INVOKER$i$0$0$lambda_p(cls, Visibility.PUBLIC, "lambda?");
        populateMethod(javaMethod, 0, "lambda_p", false, false, org.jruby.RubyProc.class, "lambda_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "lambda?", javaMethod);
        javaMethod = new org.jruby.RubyProc$INVOKER$i$0$0$dup(cls, Visibility.PUBLIC, "dup");
        populateMethod(javaMethod, 0, "dup", false, false, org.jruby.RubyProc.class, "dup", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "dup", javaMethod);

        runtime.addBoundMethods("org.jruby.RubyProc", "newInstance", "new", "arity", "arity", "to_proc", "to_proc", "rbClone", "clone", "to_s", "to_s", "binding", "binding", "lambda_p", "lambda?", "dup", "dup", "source_location", "source_location", "parameters", "parameters");
    }
    static {
    }
}