/* 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$Java$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.javasupport.Java$INVOKER$s$1$0$ruby_to_java(cls, Visibility.PRIVATE, "ruby_to_java");
        populateMethod(javaMethod, 1, "ruby_to_java", true, false, org.jruby.javasupport.Java.class, "ruby_to_java", org.jruby.runtime.builtin.IRubyObject.class, ARG2_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "ruby_to_java", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "ruby_to_java", moduleMethod);
        javaMethod = new org.jruby.javasupport.Java$INVOKER$s$method_missing(singletonClass, Visibility.PUBLIC, "method_missing");
        populateMethod(javaMethod, -1, "method_missing", true, false, org.jruby.javasupport.Java.class, "method_missing", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "method_missing", javaMethod);
        javaMethod = new org.jruby.javasupport.Java$INVOKER$s$1$0$const_missing(singletonClass, Visibility.PUBLIC, "const_missing");
        populateMethod(javaMethod, 1, "const_missing", true, false, org.jruby.javasupport.Java.class, "const_missing", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = singletonClass.putMethod(runtime, "const_missing", javaMethod);
        javaMethod = new org.jruby.javasupport.Java$INVOKER$s$1$0$java_to_ruby(cls, Visibility.PRIVATE, "java_to_ruby");
        populateMethod(javaMethod, 1, "java_to_ruby", true, false, org.jruby.javasupport.Java.class, "java_to_ruby", org.jruby.runtime.builtin.IRubyObject.class, ARG2_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "java_to_ruby", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "java_to_ruby", moduleMethod);
        javaMethod = new org.jruby.javasupport.Java$INVOKER$s$2$0$new_proxy_instance2(cls, Visibility.PRIVATE, "new_proxy_instance2");
        populateMethod(javaMethod, 2, "new_proxy_instance2", true, false, org.jruby.javasupport.Java.class, "new_proxy_instance2", org.jruby.runtime.builtin.IRubyObject.class, ARG3_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "new_proxy_instance2", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "new_proxy_instance2", moduleMethod);
        javaMethod = new org.jruby.javasupport.Java$INVOKER$s$1$0$java_to_primitive(cls, Visibility.PRIVATE, "java_to_primitive");
        populateMethod(javaMethod, 1, "java_to_primitive", true, false, org.jruby.javasupport.Java.class, "java_to_primitive", org.jruby.runtime.builtin.IRubyObject.class, ARG2_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "java_to_primitive", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "java_to_primitive", moduleMethod);

        runtime.addBoundMethods("org.jruby.javasupport.Java", "method_missing", "method_missing", "ruby_to_java", "ruby_to_java", "const_missing", "const_missing", "java_to_ruby", "java_to_ruby", "new_proxy_instance2", "new_proxy_instance2", "java_to_primitive", "java_to_primitive");
    }
    static {
    }
}