All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.gen.org$jruby$ext$io$wait$IOWaitLibrary$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$io$wait$IOWaitLibrary$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod;
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.ext.io.wait.IOWaitLibrary$INVOKER$s$0$1$wait_writable(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "wait_writable", true, false, org.jruby.ext.io.wait.IOWaitLibrary.class, "wait_writable", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("wait_writable", javaMethod);
        javaMethod = new org.jruby.ext.io.wait.IOWaitLibrary$INVOKER$s$0$0$nread(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "nread", true, false, org.jruby.ext.io.wait.IOWaitLibrary.class, "nread", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("nread", javaMethod);
        javaMethod = new org.jruby.ext.io.wait.IOWaitLibrary$INVOKER$s$0$1$wait_readable(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "wait_readable", true, false, org.jruby.ext.io.wait.IOWaitLibrary.class, "wait_readable", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("wait", javaMethod);
        cls.addMethodAtBootTimeOnly("wait_readable", javaMethod);
        javaMethod = new org.jruby.ext.io.wait.IOWaitLibrary$INVOKER$s$0$0$ready(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "ready", true, false, org.jruby.ext.io.wait.IOWaitLibrary.class, "ready", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("ready?", javaMethod);
        runtime.addBoundMethod("org.jruby.ext.io.wait.IOWaitLibrary","wait_writable","wait_writable");
        runtime.addBoundMethod("org.jruby.ext.io.wait.IOWaitLibrary","nread","nread");
        runtime.addBoundMethod("org.jruby.ext.io.wait.IOWaitLibrary","wait_readable","wait");
        runtime.addBoundMethod("org.jruby.ext.io.wait.IOWaitLibrary","ready","ready?");
    }
    static {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy