Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$each_char(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "each_char", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "each_char", 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_char", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$1$0$lineno_set(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "lineno_set", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "lineno_set", 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("lineno=", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$readchar(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "readchar", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.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.RubyArgsFile$INVOKER$s$0$0$chars(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "chars", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "chars", 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("chars", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$skip(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "skip", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "skip", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("skip", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$rewind(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "rewind", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "rewind", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("rewind", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$to_s(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "to_s", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("to_s", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$close(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "close", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "close", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("close", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$readlines(cls, Visibility.PUBLIC); populateMethod(javaMethod, -1, "readlines", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "readlines", 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("readlines", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$eof_p(cls, Visibility.PUBLIC);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$1$0$lineno_set(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "lineno_set", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "lineno_set", 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("lineno=", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$readchar(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "readchar", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.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.RubyArgsFile$INVOKER$s$0$1$to_a(cls, Visibility.PUBLIC); populateMethod(javaMethod, -1, "to_a", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "to_a", 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("to_a", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$skip(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "skip", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "skip", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("skip", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$rewind(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "rewind", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "rewind", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("rewind", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$to_s(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "to_s", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("to_s", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$close(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "close", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "close", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("close", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$eof_p(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "eof_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "eof_p", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("eof?", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$file(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "file", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyArgsFile.class, "file", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("file", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$readlines(cls, Visibility.PUBLIC);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$each_codepoint(cls, Visibility.PUBLIC, "each_codepoint"); populateMethod(javaMethod, 0, "each_codepoint", true, false, org.jruby.RubyArgsFile.class, "each_codepoint", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK); aliasedMethod = cls.putMethod(runtime, "each_codepoint", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$tell(cls, Visibility.PUBLIC, "tell"); populateMethod(javaMethod, 0, "tell", true, false, org.jruby.RubyArgsFile.class, "tell", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "tell", javaMethod); cls.putAlias("pos", aliasedMethod, "tell"); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$lines(cls, Visibility.PUBLIC, "lines"); populateMethod(javaMethod, -1, "lines", true, false, org.jruby.RubyArgsFile.class, "lines", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK); aliasedMethod = cls.putMethod(runtime, "lines", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$each_char(cls, Visibility.PUBLIC, "each_char"); populateMethod(javaMethod, 0, "each_char", true, false, org.jruby.RubyArgsFile.class, "each_char", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK); aliasedMethod = cls.putMethod(runtime, "each_char", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$skip(cls, Visibility.PUBLIC, "skip"); populateMethod(javaMethod, 0, "skip", true, false, org.jruby.RubyArgsFile.class, "skip", org.jruby.runtime.builtin.IRubyObject.class, ARG1); aliasedMethod = cls.putMethod(runtime, "skip", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$2$read_nonblock(cls, Visibility.PUBLIC, "read_nonblock"); populateMethod(javaMethod, -1, "read_nonblock", true, false, org.jruby.RubyArgsFile.class, "read_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY); aliasedMethod = cls.putMethod(runtime, "read_nonblock", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$argv(cls, Visibility.PUBLIC, "argv"); populateMethod(javaMethod, 0, "argv", true, false, org.jruby.RubyArgsFile.class, "argv", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "argv", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$seek(cls, Visibility.PUBLIC, "seek"); populateMethod(javaMethod, -1, "seek", true, false, org.jruby.RubyArgsFile.class, "seek", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY); aliasedMethod = cls.putMethod(runtime, "seek", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$file(cls, Visibility.PUBLIC, "file"); populateMethod(javaMethod, 0, "file", true, false, org.jruby.RubyArgsFile.class, "file", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "file", javaMethod);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$each_codepoint(cls, Visibility.PUBLIC, "each_codepoint"); populateMethod(javaMethod, 0, "each_codepoint", true, false, org.jruby.RubyArgsFile.class, "each_codepoint", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK); aliasedMethod = cls.putMethod(runtime, "each_codepoint", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$tell(cls, Visibility.PUBLIC, "tell"); populateMethod(javaMethod, 0, "tell", true, false, org.jruby.RubyArgsFile.class, "tell", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "tell", javaMethod); cls.putAlias("pos", aliasedMethod, "tell"); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$lines(cls, Visibility.PUBLIC, "lines"); populateMethod(javaMethod, -1, "lines", true, false, org.jruby.RubyArgsFile.class, "lines", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK); aliasedMethod = cls.putMethod(runtime, "lines", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$each_char(cls, Visibility.PUBLIC, "each_char"); populateMethod(javaMethod, 0, "each_char", true, false, org.jruby.RubyArgsFile.class, "each_char", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK); aliasedMethod = cls.putMethod(runtime, "each_char", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$skip(cls, Visibility.PUBLIC, "skip"); populateMethod(javaMethod, 0, "skip", true, false, org.jruby.RubyArgsFile.class, "skip", org.jruby.runtime.builtin.IRubyObject.class, ARG1); aliasedMethod = cls.putMethod(runtime, "skip", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$2$read_nonblock(cls, Visibility.PUBLIC, "read_nonblock"); populateMethod(javaMethod, -1, "read_nonblock", true, false, org.jruby.RubyArgsFile.class, "read_nonblock", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY); aliasedMethod = cls.putMethod(runtime, "read_nonblock", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$argv(cls, Visibility.PUBLIC, "argv"); populateMethod(javaMethod, 0, "argv", true, false, org.jruby.RubyArgsFile.class, "argv", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "argv", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$1$seek(cls, Visibility.PUBLIC, "seek"); populateMethod(javaMethod, -1, "seek", true, false, org.jruby.RubyArgsFile.class, "seek", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY); aliasedMethod = cls.putMethod(runtime, "seek", javaMethod); javaMethod = new org.jruby.RubyArgsFile$INVOKER$s$0$0$file(cls, Visibility.PUBLIC, "file"); populateMethod(javaMethod, 0, "file", true, false, org.jruby.RubyArgsFile.class, "file", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "file", javaMethod);