/* 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$thread$Queue$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, 0, "initialize", false, false, org.jruby.ext.thread.Queue.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$pop(cls, Visibility.PUBLIC, "pop");
        populateMethod(javaMethod, -1, "pop", false, false, org.jruby.ext.thread.Queue.class, "pop", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "pop", javaMethod);
        cls.putMethod(runtime, "deq", javaMethod);
        cls.putMethod(runtime, "shift", javaMethod);
        javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$num_waiting(cls, Visibility.PUBLIC, "num_waiting");
        populateMethod(javaMethod, 0, "num_waiting", false, false, org.jruby.ext.thread.Queue.class, "num_waiting", org.jruby.RubyNumeric.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "num_waiting", javaMethod);
        javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$marshal_dump(cls, Visibility.PUBLIC, "marshal_dump");
        populateMethod(javaMethod, 0, "marshal_dump", false, false, org.jruby.ext.thread.Queue.class, "marshal_dump", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "marshal_dump", javaMethod);
        javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$closed_p(cls, Visibility.PUBLIC, "closed?");
        populateMethod(javaMethod, 0, "closed_p", false, false, org.jruby.ext.thread.Queue.class, "closed_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "closed?", javaMethod);
        javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$length(cls, Visibility.PUBLIC, "length");
        populateMethod(javaMethod, 0, "length", false, false, org.jruby.ext.thread.Queue.class, "length", org.jruby.RubyNumeric.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "length", javaMethod);
        cls.putMethod(runtime, "size", javaMethod);
        javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$close(cls, Visibility.PUBLIC, "close");
        populateMethod(javaMethod, 0, "close", false, false, org.jruby.ext.thread.Queue.class, "close", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "close", javaMethod);
        javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$clear(cls, Visibility.PUBLIC, "clear");
        populateMethod(javaMethod, 0, "clear", false, false, org.jruby.ext.thread.Queue.class, "clear", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "clear", javaMethod);
        javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$empty_p(cls, Visibility.PUBLIC, "empty?");
        populateMethod(javaMethod, 0, "empty_p", false, false, org.jruby.ext.thread.Queue.class, "empty_p", org.jruby.RubyBoolean.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "empty?", javaMethod);
        javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$1$0$push(cls, Visibility.PUBLIC, "push");
        populateMethod(javaMethod, 1, "push", false, false, org.jruby.ext.thread.Queue.class, "push", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "push", javaMethod);
        cls.putMethod(runtime, "<<", javaMethod);
        cls.putMethod(runtime, "enq", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.thread.Queue", "pop", "pop", "closed_p", "closed?", "length", "length", "empty_p", "empty?", "push", "push", "initialize", "initialize", "num_waiting", "num_waiting", "marshal_dump", "marshal_dump", "close", "close", "clear", "clear");
    }
    static {
    }
}