org.jruby.gen.org$jruby$ext$stringio$StringIO$GenericReadable$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$GenericReadable$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$GenericReadable$INVOKER$s$0$2$sysread(cls, Visibility.PUBLIC);
populateMethod(javaMethod, -1, "sysread", true, false, org.jruby.ext.stringio.StringIO.GenericReadable.class, "sysread", 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("sysread", javaMethod);
cls.addMethodAtBootTimeOnly("readpartial", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$GenericReadable$INVOKER$s$0$1$readline(cls, Visibility.PUBLIC);
populateMethod(javaMethod, -1, "readline", true, false, org.jruby.ext.stringio.StringIO.GenericReadable.class, "readline", 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("readline", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$GenericReadable$INVOKER$s$0$0$readchar(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "readchar", true, false, org.jruby.ext.stringio.StringIO.GenericReadable.class, "readchar", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("readchar", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$GenericReadable$INVOKER$s$0$2$read_nonblock(cls, Visibility.PUBLIC);
populateMethod(javaMethod, -1, "read_nonblock", true, false, org.jruby.ext.stringio.StringIO.GenericReadable.class, "read_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("read_nonblock", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$GenericReadable$INVOKER$s$0$0$readbyte(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "readbyte", true, false, org.jruby.ext.stringio.StringIO.GenericReadable.class, "readbyte", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("readbyte", javaMethod);
runtime.addBoundMethod("org.jruby.ext.stringio.StringIO.GenericReadable","sysread","sysread");
runtime.addBoundMethod("org.jruby.ext.stringio.StringIO.GenericReadable","readline","readline");
runtime.addBoundMethod("org.jruby.ext.stringio.StringIO.GenericReadable","readchar","readchar");
runtime.addBoundMethod("org.jruby.ext.stringio.StringIO.GenericReadable","read_nonblock","read_nonblock");
runtime.addBoundMethod("org.jruby.ext.stringio.StringIO.GenericReadable","readbyte","readbyte");
}
static {
MethodIndex.addFrameAwareMethods("readline");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy