if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyConverter$INVOKER$s$1$0$asciicompat_encoding(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "asciicompat_encoding", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "asciicompat_encoding", 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}); singletonClass.addMethodAtBootTimeOnly("asciicompat_encoding", javaMethod); runtime.addBoundMethod("org.jruby.RubyConverter","asciicompat_encoding","asciicompat_encoding"); populateMethod(javaMethod, 0, "destination_encoding", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "destination_encoding", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("destination_encoding", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$source_encoding(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "source_encoding", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "source_encoding", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("source_encoding", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "inspect", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("inspect", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$finish(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "finish", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "finish", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("finish", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$initialize(cls, Visibility.PRIVATE); populateMethod(javaMethod, -1, "initialize", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.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.RubyConverter$INVOKER$i$1$0$convert(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "convert", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "convert", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("convert", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$4$primitive_convert(cls, Visibility.PUBLIC); populateMethod(javaMethod, -1, "primitive_convert", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "primitive_convert", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class}); cls.addMethodAtBootTimeOnly("primitive_convert", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$convpath(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "convpath", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "convpath", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("convpath", javaMethod);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyConverter$INVOKER$s$1$0$asciicompat_encoding(singletonClass, Visibility.PUBLIC, "asciicompat_encoding"); populateMethod(javaMethod, 1, "asciicompat_encoding", true, false, org.jruby.RubyConverter.class, "asciicompat_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "asciicompat_encoding", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$s$0$1$search_convpath(singletonClass, Visibility.PUBLIC, "search_convpath"); populateMethod(javaMethod, -1, "search_convpath", true, false, org.jruby.RubyConverter.class, "search_convpath", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY); aliasedMethod = singletonClass.putMethod(runtime, "search_convpath", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$2$initialize(cls, Visibility.PRIVATE, "initialize"); populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.RubyConverter.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY); aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$1$0$op_equal(cls, Visibility.PUBLIC, "=="); populateMethod(javaMethod, 1, "op_equal", false, false, org.jruby.RubyConverter.class, "op_equal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "==", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$source_encoding(cls, Visibility.PUBLIC, "source_encoding"); populateMethod(javaMethod, 0, "source_encoding", false, false, org.jruby.RubyConverter.class, "source_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "source_encoding", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$1$0$insert_output(cls, Visibility.PUBLIC, "insert_output"); populateMethod(javaMethod, 1, "insert_output", false, false, org.jruby.RubyConverter.class, "insert_output", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "insert_output", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$4$primitive_convert(cls, Visibility.PUBLIC, "primitive_convert"); populateMethod(javaMethod, -1, "primitive_convert", false, false, org.jruby.RubyConverter.class, "primitive_convert", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY); aliasedMethod = cls.putMethod(runtime, "primitive_convert", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect"); populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.RubyConverter.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$replacement(cls, Visibility.PUBLIC, "replacement"); populateMethod(javaMethod, 0, "replacement", false, false, org.jruby.RubyConverter.class, "replacement", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "replacement", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$convpath(cls, Visibility.PUBLIC, "convpath");
if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyConverter$INVOKER$s$1$0$asciicompat_encoding(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "asciicompat_encoding", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "asciicompat_encoding", 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}); singletonClass.addMethodAtBootTimeOnly("asciicompat_encoding", javaMethod); runtime.addBoundMethod("org.jruby.RubyConverter","asciicompat_encoding","asciicompat_encoding"); populateMethod(javaMethod, 1, "convert", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "convert", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("convert", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$finish(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "finish", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "finish", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("finish", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$4$primitive_convert(cls, Visibility.PUBLIC); populateMethod(javaMethod, -1, "primitive_convert", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "primitive_convert", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class}); cls.addMethodAtBootTimeOnly("primitive_convert", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$source_encoding(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "source_encoding", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "source_encoding", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("source_encoding", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$convpath(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "convpath", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "convpath", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("convpath", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "inspect", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("inspect", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$destination_encoding(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "destination_encoding", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.class, "destination_encoding", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("destination_encoding", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$initialize(cls, Visibility.PRIVATE); populateMethod(javaMethod, -1, "initialize", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyConverter.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);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyConverter$INVOKER$s$1$0$asciicompat_encoding(singletonClass, Visibility.PUBLIC, "asciicompat_encoding"); populateMethod(javaMethod, 1, "asciicompat_encoding", true, false, org.jruby.RubyConverter.class, "asciicompat_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "asciicompat_encoding", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$s$0$1$search_convpath(singletonClass, Visibility.PUBLIC, "search_convpath"); populateMethod(javaMethod, -1, "search_convpath", true, false, org.jruby.RubyConverter.class, "search_convpath", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY); aliasedMethod = singletonClass.putMethod(runtime, "search_convpath", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$2$initialize(cls, Visibility.PRIVATE, "initialize"); populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.RubyConverter.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY); aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$1$0$op_equal(cls, Visibility.PUBLIC, "=="); populateMethod(javaMethod, 1, "op_equal", false, false, org.jruby.RubyConverter.class, "op_equal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "==", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$source_encoding(cls, Visibility.PUBLIC, "source_encoding"); populateMethod(javaMethod, 0, "source_encoding", false, false, org.jruby.RubyConverter.class, "source_encoding", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "source_encoding", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$1$0$insert_output(cls, Visibility.PUBLIC, "insert_output"); populateMethod(javaMethod, 1, "insert_output", false, false, org.jruby.RubyConverter.class, "insert_output", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "insert_output", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$4$primitive_convert(cls, Visibility.PUBLIC, "primitive_convert"); populateMethod(javaMethod, -1, "primitive_convert", false, false, org.jruby.RubyConverter.class, "primitive_convert", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY); aliasedMethod = cls.putMethod(runtime, "primitive_convert", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect"); populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.RubyConverter.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$replacement(cls, Visibility.PUBLIC, "replacement"); populateMethod(javaMethod, 0, "replacement", false, false, org.jruby.RubyConverter.class, "replacement", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "replacement", javaMethod); javaMethod = new org.jruby.RubyConverter$INVOKER$i$0$0$convpath(cls, Visibility.PUBLIC, "convpath");