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")
@SuppressWarnings("deprecation")
public class org$jruby$ext$stringio$StringIO$POPULATOR extends TypePopulator {
public void populate(RubyModule cls, Class clazz) {
JavaMethod javaMethod;
DynamicMethod moduleMethod, aliasedMethod;
RubyClass singletonClass = cls.getSingletonClass();
Ruby runtime = cls.getRuntime();
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$s$0$0$newInstance(singletonClass, Visibility.PUBLIC, "new");
populateMethod(javaMethod, -1, "newInstance", true, false, org.jruby.ext.stringio.StringIO.class, "newInstance", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
aliasedMethod = singletonClass.putMethod(runtime, "new", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$s$0$0$open(singletonClass, Visibility.PUBLIC, "open");
populateMethod(javaMethod, -1, "open", true, false, org.jruby.ext.stringio.StringIO.class, "open", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
aliasedMethod = singletonClass.putMethod(runtime, "open", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$initialize(cls, Visibility.PRIVATE, "initialize");
populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.ext.stringio.StringIO.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$putc(cls, Visibility.PUBLIC, "putc");
populateMethod(javaMethod, 1, "putc", false, false, org.jruby.ext.stringio.StringIO.class, "putc", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "putc", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$closed_write_p(cls, Visibility.PUBLIC, "closed_write?");
populateMethod(javaMethod, 0, "closed_write_p", false, false, org.jruby.ext.stringio.StringIO.class, "closed_write_p", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
aliasedMethod = cls.putMethod(runtime, "closed_write?", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$ungetc(cls, Visibility.PUBLIC, "ungetc");
populateMethod(javaMethod, 1, "ungetc", false, false, org.jruby.ext.stringio.StringIO.class, "ungetc", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "ungetc", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$string(cls, Visibility.PUBLIC, "string");
populateMethod(javaMethod, 0, "string", false, false, org.jruby.ext.stringio.StringIO.class, "string", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "string", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$strio_unimpl(cls, Visibility.PUBLIC, "fcntl");
populateMethod(javaMethod, -1, "strio_unimpl", false, false, org.jruby.ext.stringio.StringIO.class, "strio_unimpl", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
aliasedMethod = cls.putMethod(runtime, "fcntl", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$each_codepoint(cls, Visibility.PUBLIC, "each_codepoint");
populateMethod(javaMethod, 0, "each_codepoint", false, false, org.jruby.ext.stringio.StringIO.class, "each_codepoint", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
aliasedMethod = cls.putMethod(runtime, "each_codepoint", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$close(cls, Visibility.PUBLIC, "close");
populateMethod(javaMethod, 0, "close", false, false, org.jruby.ext.stringio.StringIO.class, "close", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "close", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$strioNil(cls, Visibility.PUBLIC, "pid");
populateMethod(javaMethod, 0, "strioNil", false, false, org.jruby.ext.stringio.StringIO.class, "strioNil", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "pid", javaMethod);
cls.putMethod(runtime, "fileno", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$closed_read_p(cls, Visibility.PUBLIC, "closed_read?");
populateMethod(javaMethod, 0, "closed_read_p", false, false, org.jruby.ext.stringio.StringIO.class, "closed_read_p", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
aliasedMethod = cls.putMethod(runtime, "closed_read?", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$strioFalse(cls, Visibility.PUBLIC, "isatty");
populateMethod(javaMethod, 0, "strioFalse", false, false, org.jruby.ext.stringio.StringIO.class, "strioFalse", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "isatty", javaMethod);
cls.putMethod(runtime, "tty?", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$strioFirst(cls, Visibility.PUBLIC, "sync=");
populateMethod(javaMethod, 1, "strioFirst", false, false, org.jruby.ext.stringio.StringIO.class, "strioFirst", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
aliasedMethod = cls.putMethod(runtime, "sync=", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$strioZero(cls, Visibility.PUBLIC, "fsync");
populateMethod(javaMethod, 0, "strioZero", false, false, org.jruby.ext.stringio.StringIO.class, "strioZero", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "fsync", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$getbyte(cls, Visibility.PUBLIC, "getbyte");
populateMethod(javaMethod, 0, "getbyte", false, false, org.jruby.ext.stringio.StringIO.class, "getbyte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "getbyte", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$strio_self(cls, Visibility.PUBLIC, "flush");
populateMethod(javaMethod, 0, "strio_self", false, false, org.jruby.ext.stringio.StringIO.class, "strio_self", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
aliasedMethod = cls.putMethod(runtime, "flush", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$1$seek(cls, Visibility.PUBLIC, "seek");
populateMethod(javaMethod, -1, "seek", false, false, org.jruby.ext.stringio.StringIO.class, "seek", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
aliasedMethod = cls.putMethod(runtime, "seek", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$truncate(cls, Visibility.PUBLIC, "truncate");
populateMethod(javaMethod, 1, "truncate", false, false, org.jruby.ext.stringio.StringIO.class, "truncate", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
aliasedMethod = cls.putMethod(runtime, "truncate", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$pos(cls, Visibility.PUBLIC, "pos");
populateMethod(javaMethod, 0, "pos", false, false, org.jruby.ext.stringio.StringIO.class, "pos", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "pos", javaMethod);
cls.putMethod(runtime, "tell", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$close_write(cls, Visibility.PUBLIC, "close_write");
populateMethod(javaMethod, 0, "close_write", false, false, org.jruby.ext.stringio.StringIO.class, "close_write", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "close_write", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$set_string(cls, Visibility.PUBLIC, "string=");
populateMethod(javaMethod, 1, "set_string", false, false, org.jruby.ext.stringio.StringIO.class, "set_string", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
aliasedMethod = cls.putMethod(runtime, "string=", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$codepoints(cls, Visibility.PUBLIC, "codepoints");
populateMethod(javaMethod, 0, "codepoints", false, false, org.jruby.ext.stringio.StringIO.class, "codepoints", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
aliasedMethod = cls.putMethod(runtime, "codepoints", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$lines(cls, Visibility.PUBLIC, "lines");
populateMethod(javaMethod, -1, "lines", false, false, org.jruby.ext.stringio.StringIO.class, "lines", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY_BLOCK);
aliasedMethod = cls.putMethod(runtime, "lines", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$set_pos(cls, Visibility.PUBLIC, "pos=");
populateMethod(javaMethod, 1, "set_pos", false, false, org.jruby.ext.stringio.StringIO.class, "set_pos", org.jruby.runtime.builtin.IRubyObject.class, ARG1);
aliasedMethod = cls.putMethod(runtime, "pos=", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$write(cls, Visibility.PUBLIC, "write");
populateMethod(javaMethod, -1, "write", false, false, org.jruby.ext.stringio.StringIO.class, "write", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "write", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$set_lineno(cls, Visibility.PUBLIC, "lineno=");
populateMethod(javaMethod, 1, "set_lineno", false, false, org.jruby.ext.stringio.StringIO.class, "set_lineno", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "lineno=", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$read(cls, Visibility.PUBLIC, "read");
populateMethod(javaMethod, -1, "read", false, false, org.jruby.ext.stringio.StringIO.class, "read", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
aliasedMethod = cls.putMethod(runtime, "read", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$length(cls, Visibility.PUBLIC, "length");
populateMethod(javaMethod, 0, "length", false, false, org.jruby.ext.stringio.StringIO.class, "length", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
aliasedMethod = cls.putMethod(runtime, "length", javaMethod);
cls.putMethod(runtime, "size", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$gets(cls, Visibility.PUBLIC, "gets");
populateMethod(javaMethod, -1, "gets", false, false, org.jruby.ext.stringio.StringIO.class, "gets", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "gets", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$sync(cls, Visibility.PUBLIC, "sync");
populateMethod(javaMethod, 0, "sync", false, false, org.jruby.ext.stringio.StringIO.class, "sync", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "sync", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$each(cls, Visibility.PUBLIC, "each");
populateMethod(javaMethod, -1, "each", false, false, org.jruby.ext.stringio.StringIO.class, "each", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
aliasedMethod = cls.putMethod(runtime, "each", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$external_encoding(cls, Visibility.PUBLIC, "external_encoding");
populateMethod(javaMethod, 0, "external_encoding", false, false, org.jruby.ext.stringio.StringIO.class, "external_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "external_encoding", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$chars(cls, Visibility.PUBLIC, "chars");
populateMethod(javaMethod, 0, "chars", false, false, org.jruby.ext.stringio.StringIO.class, "chars", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
aliasedMethod = cls.putMethod(runtime, "chars", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$set_encoding(cls, Visibility.PUBLIC, "set_encoding");
populateMethod(javaMethod, -1, "set_encoding", false, false, org.jruby.ext.stringio.StringIO.class, "set_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "set_encoding", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$each_line(cls, Visibility.PUBLIC, "each_line");
populateMethod(javaMethod, -1, "each_line", false, false, org.jruby.ext.stringio.StringIO.class, "each_line", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
aliasedMethod = cls.putMethod(runtime, "each_line", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$lineno(cls, Visibility.PUBLIC, "lineno");
populateMethod(javaMethod, 0, "lineno", false, false, org.jruby.ext.stringio.StringIO.class, "lineno", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "lineno", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$rewind(cls, Visibility.PUBLIC, "rewind");
populateMethod(javaMethod, 0, "rewind", false, false, org.jruby.ext.stringio.StringIO.class, "rewind", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "rewind", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$closed_p(cls, Visibility.PUBLIC, "closed?");
populateMethod(javaMethod, 0, "closed_p", false, false, org.jruby.ext.stringio.StringIO.class, "closed_p", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
aliasedMethod = cls.putMethod(runtime, "closed?", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$2$reopen(cls, Visibility.PUBLIC, "reopen");
populateMethod(javaMethod, -1, "reopen", false, false, org.jruby.ext.stringio.StringIO.class, "reopen", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
aliasedMethod = cls.putMethod(runtime, "reopen", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$each_char(cls, Visibility.PUBLIC, "each_char");
populateMethod(javaMethod, 0, "each_char", false, false, org.jruby.ext.stringio.StringIO.class, "each_char", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
aliasedMethod = cls.putMethod(runtime, "each_char", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$binmode(cls, Visibility.PUBLIC, "binmode");
populateMethod(javaMethod, 0, "binmode", false, false, org.jruby.ext.stringio.StringIO.class, "binmode", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "binmode", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$ungetbyte(cls, Visibility.PUBLIC, "ungetbyte");
populateMethod(javaMethod, 1, "ungetbyte", false, false, org.jruby.ext.stringio.StringIO.class, "ungetbyte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "ungetbyte", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$each_byte(cls, Visibility.PUBLIC, "each_byte");
populateMethod(javaMethod, 0, "each_byte", false, false, org.jruby.ext.stringio.StringIO.class, "each_byte", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
aliasedMethod = cls.putMethod(runtime, "each_byte", javaMethod);
cls.putMethod(runtime, "bytes", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$eof(cls, Visibility.PUBLIC, "eof");
populateMethod(javaMethod, 0, "eof", false, false, org.jruby.ext.stringio.StringIO.class, "eof", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "eof", javaMethod);
cls.putMethod(runtime, "eof?", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$getc(cls, Visibility.PUBLIC, "getc");
populateMethod(javaMethod, 0, "getc", false, false, org.jruby.ext.stringio.StringIO.class, "getc", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "getc", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$readlines(cls, Visibility.PUBLIC, "readlines");
populateMethod(javaMethod, -1, "readlines", false, false, org.jruby.ext.stringio.StringIO.class, "readlines", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "readlines", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$internal_encoding(cls, Visibility.PUBLIC, "internal_encoding");
populateMethod(javaMethod, 0, "internal_encoding", false, false, org.jruby.ext.stringio.StringIO.class, "internal_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "internal_encoding", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$1$0$initialize_copy(cls, Visibility.PRIVATE, "initialize_copy");
populateMethod(javaMethod, 1, "initialize_copy", false, false, org.jruby.ext.stringio.StringIO.class, "initialize_copy", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "initialize_copy", javaMethod);
javaMethod = new org.jruby.ext.stringio.StringIO$INVOKER$i$0$0$close_read(cls, Visibility.PUBLIC, "close_read");
populateMethod(javaMethod, 0, "close_read", false, false, org.jruby.ext.stringio.StringIO.class, "close_read", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "close_read", javaMethod);
runtime.addBoundMethods("org.jruby.ext.stringio.StringIO", "putc", "putc", "closed_write_p", "closed_write?", "ungetc", "ungetc", "string", "string", "strio_unimpl", "fcntl", "each_codepoint", "each_codepoint", "strioNil", "pid", "closed_read_p", "closed_read?", "strioFalse", "isatty", "strioFirst", "sync=", "strioZero", "fsync", "getbyte", "getbyte", "strio_self", "flush", "truncate", "truncate", "pos", "pos", "set_string", "string=", "codepoints", "codepoints", "lines", "lines", "set_pos", "pos=", "write", "write", "newInstance", "new", "set_lineno", "lineno=", "read", "read", "length", "length", "gets", "gets", "sync", "sync", "each", "each", "each_line", "each_line", "lineno", "lineno", "rewind", "rewind", "closed_p", "closed?", "reopen", "reopen", "each_byte", "each_byte", "eof", "eof", "getc", "getc", "readlines", "readlines", "open", "open", "initialize", "initialize", "close", "close", "seek", "seek", "close_write", "close_write", "external_encoding", "external_encoding", "chars", "chars", "set_encoding", "set_encoding", "each_char", "each_char", "binmode", "binmode", "ungetbyte", "ungetbyte", "internal_encoding", "internal_encoding", "initialize_copy", "initialize_copy", "close_read", "close_read");
}
static {
MethodIndex.addMethodWriteFieldsPacked(1, "each;gets");
}
}