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

org.jruby.gen.org$jruby$ext$stringio$StringIO$GenericWritable$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$stringio$StringIO$GenericWritable$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod;
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.ext.stringio.StringIO$GenericWritable$INVOKER$s$0$0$printf(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "printf", true, false, org.jruby.ext.stringio.StringIO.GenericWritable.class, "printf", 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("printf", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$GenericWritable$INVOKER$s$0$1$syswrite_nonblock(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "syswrite_nonblock", true, false, org.jruby.ext.stringio.StringIO.GenericWritable.class, "syswrite_nonblock", 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("write_nonblock", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$GenericWritable$INVOKER$s$0$0$puts(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "puts", true, false, org.jruby.ext.stringio.StringIO.GenericWritable.class, "puts", 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("puts", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$GenericWritable$INVOKER$s$1$0$append(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "append", true, false, org.jruby.ext.stringio.StringIO.GenericWritable.class, "append", 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("<<", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$GenericWritable$INVOKER$s$1$0$syswrite(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "syswrite", true, false, org.jruby.ext.stringio.StringIO.GenericWritable.class, "syswrite", 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("syswrite", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$GenericWritable$INVOKER$s$0$0$print(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "print", true, false, org.jruby.ext.stringio.StringIO.GenericWritable.class, "print", 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("print", javaMethod);
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO.GenericWritable","printf","printf");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO.GenericWritable","syswrite_nonblock","write_nonblock");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO.GenericWritable","puts","puts");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO.GenericWritable","append","<<");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO.GenericWritable","syswrite","syswrite");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO.GenericWritable","print","print");
    }
    static {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy