Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$locale_charmap(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 0, "locale_charmap", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "locale_charmap", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("locale_charmap", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$_load(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "_load", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "_load", 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("_load", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$name_list(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 0, "name_list", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "name_list", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("name_list", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$list(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 0, "list", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "list", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("list", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$2$0$compatible_p(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 2, "compatible_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "compatible_p", 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.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("compatible?", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$aliases(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 0, "aliases", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "aliases", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("aliases", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$find(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "find", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "find", 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("find", javaMethod); runtime.addBoundMethod("org.jruby.RubyEncoding","locale_charmap","locale_charmap"); if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$setDefaultExternal(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "setDefaultExternal", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "setDefaultExternal", 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("default_external=", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$getDefaultInternal(singletonClass, Visibility.PUBLIC);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$locale_charmap(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 0, "locale_charmap", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "locale_charmap", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("locale_charmap", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$_load(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "_load", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "_load", 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("_load", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$name_list(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 0, "name_list", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "name_list", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("name_list", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$list(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 0, "list", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "list", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("list", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$2$0$compatible_p(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 2, "compatible_p", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "compatible_p", 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.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("compatible?", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$aliases(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 0, "aliases", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "aliases", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); singletonClass.addMethodAtBootTimeOnly("aliases", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$find(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "find", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "find", 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("find", javaMethod); runtime.addBoundMethod("org.jruby.RubyEncoding","locale_charmap","locale_charmap"); if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$setDefaultExternal(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "setDefaultExternal", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyEncoding.class, "setDefaultExternal", 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("default_external=", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$getDefaultInternal(singletonClass, Visibility.PUBLIC);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$setDefaultExternal(singletonClass, Visibility.PUBLIC, "default_external="); populateMethod(javaMethod, 1, "setDefaultExternal", true, false, org.jruby.RubyEncoding.class, "setDefaultExternal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "default_external=", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$aliases(singletonClass, Visibility.PUBLIC, "aliases"); populateMethod(javaMethod, 0, "aliases", true, false, org.jruby.RubyEncoding.class, "aliases", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = singletonClass.putMethod(runtime, "aliases", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$locale_charmap(singletonClass, Visibility.PUBLIC, "locale_charmap"); populateMethod(javaMethod, 0, "locale_charmap", true, false, org.jruby.RubyEncoding.class, "locale_charmap", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = singletonClass.putMethod(runtime, "locale_charmap", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$name_list(singletonClass, Visibility.PUBLIC, "name_list"); populateMethod(javaMethod, 0, "name_list", true, false, org.jruby.RubyEncoding.class, "name_list", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = singletonClass.putMethod(runtime, "name_list", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$find(singletonClass, Visibility.PUBLIC, "find"); populateMethod(javaMethod, 1, "find", true, false, org.jruby.RubyEncoding.class, "find", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "find", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$_load(singletonClass, Visibility.PUBLIC, "_load"); populateMethod(javaMethod, 1, "_load", true, false, org.jruby.RubyEncoding.class, "_load", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "_load", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$getDefaultExternal(singletonClass, Visibility.PUBLIC, "default_external"); populateMethod(javaMethod, 0, "getDefaultExternal", true, false, org.jruby.RubyEncoding.class, "getDefaultExternal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = singletonClass.putMethod(runtime, "default_external", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$setDefaultInternal(singletonClass, Visibility.PUBLIC, "default_internal="); populateMethod(javaMethod, 1, "setDefaultInternal", true, false, org.jruby.RubyEncoding.class, "setDefaultInternal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "default_internal=", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$list(singletonClass, Visibility.PUBLIC, "list"); populateMethod(javaMethod, 0, "list", true, false, org.jruby.RubyEncoding.class, "list", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = singletonClass.putMethod(runtime, "list", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$getDefaultInternal(singletonClass, Visibility.PUBLIC, "default_internal");
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$setDefaultExternal(singletonClass, Visibility.PUBLIC, "default_external="); populateMethod(javaMethod, 1, "setDefaultExternal", true, false, org.jruby.RubyEncoding.class, "setDefaultExternal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "default_external=", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$aliases(singletonClass, Visibility.PUBLIC, "aliases"); populateMethod(javaMethod, 0, "aliases", true, false, org.jruby.RubyEncoding.class, "aliases", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = singletonClass.putMethod(runtime, "aliases", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$locale_charmap(singletonClass, Visibility.PUBLIC, "locale_charmap"); populateMethod(javaMethod, 0, "locale_charmap", true, false, org.jruby.RubyEncoding.class, "locale_charmap", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = singletonClass.putMethod(runtime, "locale_charmap", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$name_list(singletonClass, Visibility.PUBLIC, "name_list"); populateMethod(javaMethod, 0, "name_list", true, false, org.jruby.RubyEncoding.class, "name_list", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = singletonClass.putMethod(runtime, "name_list", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$find(singletonClass, Visibility.PUBLIC, "find"); populateMethod(javaMethod, 1, "find", true, false, org.jruby.RubyEncoding.class, "find", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "find", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$_load(singletonClass, Visibility.PUBLIC, "_load"); populateMethod(javaMethod, 1, "_load", true, false, org.jruby.RubyEncoding.class, "_load", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "_load", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$getDefaultExternal(singletonClass, Visibility.PUBLIC, "default_external"); populateMethod(javaMethod, 0, "getDefaultExternal", true, false, org.jruby.RubyEncoding.class, "getDefaultExternal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = singletonClass.putMethod(runtime, "default_external", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$1$0$setDefaultInternal(singletonClass, Visibility.PUBLIC, "default_internal="); populateMethod(javaMethod, 1, "setDefaultInternal", true, false, org.jruby.RubyEncoding.class, "setDefaultInternal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "default_internal=", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$list(singletonClass, Visibility.PUBLIC, "list"); populateMethod(javaMethod, 0, "list", true, false, org.jruby.RubyEncoding.class, "list", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = singletonClass.putMethod(runtime, "list", javaMethod); javaMethod = new org.jruby.RubyEncoding$INVOKER$s$0$0$getDefaultInternal(singletonClass, Visibility.PUBLIC, "default_internal");