/* 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$RubyNameError$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.RubyNameError$INVOKER$s$exception(singletonClass, Visibility.PUBLIC, "exception");
        populateMethod(javaMethod, -1, "exception", true, false, org.jruby.RubyNameError.class, "exception", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "exception", javaMethod);
        javaMethod = new org.jruby.RubyNameError$INVOKER$i$0$0$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.RubyNameError.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, ARG0_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.RubyNameError$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC, "to_s");
        populateMethod(javaMethod, 0, "to_s", false, false, org.jruby.RubyNameError.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_s", javaMethod);
        javaMethod = new org.jruby.RubyNameError$INVOKER$i$0$0$receiver(cls, Visibility.PUBLIC, "receiver");
        populateMethod(javaMethod, 0, "receiver", false, false, org.jruby.RubyNameError.class, "receiver", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "receiver", javaMethod);
        javaMethod = new org.jruby.RubyNameError$INVOKER$i$0$0$private_call_p(cls, Visibility.PUBLIC, "private_call?");
        populateMethod(javaMethod, 0, "private_call_p", false, false, org.jruby.RubyNameError.class, "private_call_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "private_call?", javaMethod);
        javaMethod = new org.jruby.RubyNameError$INVOKER$i$0$0$name(cls, Visibility.PUBLIC, "name");
        populateMethod(javaMethod, 0, "name", false, false, org.jruby.RubyNameError.class, "name", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
        aliasedMethod = cls.putMethod(runtime, "name", javaMethod);

        runtime.addBoundMethods("org.jruby.RubyNameError", "exception", "exception", "private_call_p", "private_call?", "initialize", "initialize", "to_s", "to_s", "receiver", "receiver", "name", "name");
    }
    static {
    }
}