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

org.jruby.gen.org$jruby$ext$stringio$StringIO$POPULATOR Maven / Gradle / Ivy

There is a newer version: 9.4.9.0
Show newest version
/* 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.CompatVersion;
import org.jruby.anno.TypePopulator;
import org.jruby.internal.runtime.methods.CallConfiguration;
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.compiler.ASTInspector;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
@Generated("org.jruby.anno.AnnotationBinder")
public class org$jruby$ext$stringio$StringIO$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod;
        RubyClass singletonClass = cls.getSingletonClass();
        CompatVersion compatVersion = cls.getRuntime().getInstanceConfig().getCompatVersion();
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$s$0$0$open(singletonClass, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "open", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "open", 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, org.jruby.runtime.Block.class});
        singletonClass.addMethodAtBootTimeOnly("open", javaMethod);
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","open","open");
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$strioFirst(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "strioFirst", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "strioFirst", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("sync=", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$1$syswrite_nonblock(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "syswrite_nonblock", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "syswrite_nonblock", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("write_nonblock", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$getbyte(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "getbyte", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "getbyte", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("getbyte", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$close(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "close", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "close", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("close", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$set_lineno(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "set_lineno", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "set_lineno", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("lineno=", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$set_string(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "set_string", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "set_string", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("string=", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$1$seek(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "seek", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "seek", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("seek", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$rewind(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "rewind", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "rewind", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("rewind", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$initialize_copy(cls, Visibility.PRIVATE);
        populateMethod(javaMethod, 1, "initialize_copy", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "initialize_copy", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("initialize_copy", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$pos(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "pos", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "pos", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("pos", javaMethod);
        cls.addMethodAtBootTimeOnly("tell", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$sync(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "sync", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "sync", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("sync", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$puts(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "puts", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "puts", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("puts", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$chars(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "chars", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "chars", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("chars", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$write(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "write", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "write", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("write", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$close_read(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "close_read", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "close_read", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("close_read", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$length(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "length", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "length", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {});
        cls.addMethodAtBootTimeOnly("length", javaMethod);
        cls.addMethodAtBootTimeOnly("size", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$read(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "read", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "read", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("read", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$strioFalse(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "strioFalse", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "strioFalse", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("isatty", javaMethod);
        cls.addMethodAtBootTimeOnly("tty?", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$printf(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "printf", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "printf", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("printf", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$initialize(cls, Visibility.PRIVATE);
        populateMethod(javaMethod, -1, "initialize", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("initialize", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$putc(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "putc", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "putc", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("putc", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$closed_read_p(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "closed_read_p", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "closed_read_p", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {});
        cls.addMethodAtBootTimeOnly("closed_read?", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$set_pos(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "set_pos", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "set_pos", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("pos=", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$close_write(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "close_write", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "close_write", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("close_write", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$strioNil(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "strioNil", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "strioNil", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("pid", javaMethod);
        cls.addMethodAtBootTimeOnly("fileno", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$syswrite(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "syswrite", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "syswrite", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("syswrite", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$print(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "print", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "print", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("print", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$strio_unimpl(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "strio_unimpl", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "strio_unimpl", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("fcntl", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$each_char(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "each_char", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "each_char", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("each_char", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$lineno(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "lineno", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "lineno", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("lineno", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$truncate(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "truncate", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "truncate", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("truncate", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$string(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "string", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "string", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("string", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$closed_p(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "closed_p", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "closed_p", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {});
        cls.addMethodAtBootTimeOnly("closed?", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$append(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "append", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "append", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("<<", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$strioZero(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "strioZero", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "strioZero", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("fsync", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$each_byte(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "each_byte", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "each_byte", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("each_byte", javaMethod);
        cls.addMethodAtBootTimeOnly("bytes", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$closed_write_p(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "closed_write_p", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "closed_write_p", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {});
        cls.addMethodAtBootTimeOnly("closed_write?", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$eof(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "eof", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "eof", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("eof", javaMethod);
        cls.addMethodAtBootTimeOnly("eof?", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$reopen(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "reopen", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "reopen", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("reopen", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$strio_self(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "strio_self", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "strio_self", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {});
        cls.addMethodAtBootTimeOnly("binmode", javaMethod);
        cls.addMethodAtBootTimeOnly("flush", javaMethod);
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","strioFirst","sync=");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","syswrite_nonblock","write_nonblock");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","getbyte","getbyte");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","close","close");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","set_lineno","lineno=");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","set_string","string=");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","seek","seek");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","rewind","rewind");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","initialize_copy","initialize_copy");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","pos","pos");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","sync","sync");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","puts","puts");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","chars","chars");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","write","write");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","close_read","close_read");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","length","length");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","read","read");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","strioFalse","isatty");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","printf","printf");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","initialize","initialize");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","putc","putc");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","closed_read_p","closed_read?");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","set_pos","pos=");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","close_write","close_write");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","strioNil","pid");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","syswrite","syswrite");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","print","print");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","strio_unimpl","fcntl");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","each_char","each_char");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","lineno","lineno");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","truncate","truncate");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","string","string");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","closed_p","closed?");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","append","<<");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","strioZero","fsync");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","each_byte","each_byte");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","closed_write_p","closed_write?");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","eof","eof");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","reopen","reopen");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","strio_self","binmode");
        if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) {
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$each_line(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "each_line", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "each_line", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("each_line", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$external_encoding(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "external_encoding", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "external_encoding", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("external_encoding", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$1$readline(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "readline", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "readline", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("readline", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$each_codepoint(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "each_codepoint", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "each_codepoint", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("each_codepoint", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$gets(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "gets", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "gets", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("gets", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$readlines(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "readlines", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "readlines", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("readlines", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$readchar(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "readchar", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "readchar", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("readchar", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$codepoints(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "codepoints", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "codepoints", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("codepoints", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$internal_encoding(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "internal_encoding", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "internal_encoding", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("internal_encoding", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$sysread(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "sysread", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "sysread", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("sysread", javaMethod);
        cls.addMethodAtBootTimeOnly("readpartial", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$ungetbyte(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "ungetbyte", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "ungetbyte", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("ungetbyte", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$getc(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "getc", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "getc", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("getc", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$ungetc(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "ungetc", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "ungetc", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("ungetc", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$set_encoding(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "set_encoding", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "set_encoding", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("set_encoding", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$lines(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "lines", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "lines", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("lines", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$each(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "each", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "each", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("each", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$read_nonblock(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "read_nonblock", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "read_nonblock", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("read_nonblock", javaMethod);
        javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$readbyte(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "readbyte", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.stringio.StringIO.class, "readbyte", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("readbyte", javaMethod);
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","each_line","each_line");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","external_encoding","external_encoding");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","readline","readline");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","each_codepoint","each_codepoint");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","gets","gets");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","readlines","readlines");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","readchar","readchar");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","codepoints","codepoints");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","internal_encoding","internal_encoding");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","sysread","sysread");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","ungetbyte","ungetbyte");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","getc","getc");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","ungetc","ungetc");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","set_encoding","set_encoding");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","lines","lines");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","each","each");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","read_nonblock","read_nonblock");
        runtime.addBoundMethod("org.jruby.ext.stringio.StringIO","readbyte","readbyte");
        }
    }
    static {
        ASTInspector.addFrameAwareMethods("each_line","readline","gets","each");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy