org.jruby.gen.org$jruby$ext$thread$Queue$POPULATOR Maven / Gradle / Ivy
/* 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")
public class org$jruby$ext$thread$Queue$POPULATOR extends TypePopulator {
public void populate(RubyModule cls, Class clazz) {
JavaMethod javaMethod;
DynamicMethod moduleMethod;
Ruby runtime = cls.getRuntime();
javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$marshal_dump(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "marshal_dump", false, false, org.jruby.ext.thread.Queue.class, "marshal_dump", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("marshal_dump", javaMethod);
javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$empty_p(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "empty_p", false, false, org.jruby.ext.thread.Queue.class, "empty_p", org.jruby.RubyBoolean.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("empty?", javaMethod);
javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$num_waiting(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "num_waiting", false, false, org.jruby.ext.thread.Queue.class, "num_waiting", org.jruby.RubyNumeric.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("num_waiting", javaMethod);
javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$clear(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "clear", false, false, org.jruby.ext.thread.Queue.class, "clear", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("clear", javaMethod);
javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$close(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "close", false, false, org.jruby.ext.thread.Queue.class, "close", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("close", javaMethod);
javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$closed_p(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "closed_p", false, false, org.jruby.ext.thread.Queue.class, "closed_p", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("closed?", javaMethod);
javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$length(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "length", false, false, org.jruby.ext.thread.Queue.class, "length", org.jruby.RubyNumeric.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("length", javaMethod);
cls.addMethodAtBootTimeOnly("size", javaMethod);
javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$pop(cls, Visibility.PUBLIC);
populateMethod(javaMethod, -1, "pop", false, false, org.jruby.ext.thread.Queue.class, "pop", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("pop", javaMethod);
cls.addMethodAtBootTimeOnly("deq", javaMethod);
cls.addMethodAtBootTimeOnly("shift", javaMethod);
javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$initialize(cls, Visibility.PRIVATE);
populateMethod(javaMethod, 0, "initialize", false, false, org.jruby.ext.thread.Queue.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("initialize", javaMethod);
javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$1$0$push(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 1, "push", false, false, org.jruby.ext.thread.Queue.class, "push", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("push", javaMethod);
cls.addMethodAtBootTimeOnly("<<", javaMethod);
cls.addMethodAtBootTimeOnly("enq", javaMethod);
runtime.addBoundMethod("org.jruby.ext.thread.Queue","marshal_dump","marshal_dump");
runtime.addBoundMethod("org.jruby.ext.thread.Queue","empty_p","empty?");
runtime.addBoundMethod("org.jruby.ext.thread.Queue","num_waiting","num_waiting");
runtime.addBoundMethod("org.jruby.ext.thread.Queue","clear","clear");
runtime.addBoundMethod("org.jruby.ext.thread.Queue","close","close");
runtime.addBoundMethod("org.jruby.ext.thread.Queue","closed_p","closed?");
runtime.addBoundMethod("org.jruby.ext.thread.Queue","length","length");
runtime.addBoundMethod("org.jruby.ext.thread.Queue","pop","pop");
runtime.addBoundMethod("org.jruby.ext.thread.Queue","initialize","initialize");
runtime.addBoundMethod("org.jruby.ext.thread.Queue","push","push");
}
static {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy