Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyHash$INVOKER$s$0$0$create(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, -1, "create", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "create", 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("[]", javaMethod); runtime.addBoundMethod("org.jruby.RubyHash","create","[]"); if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyHash$INVOKER$s$1$0$try_convert(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "try_convert", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "try_convert", 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("try_convert", javaMethod); runtime.addBoundMethod("org.jruby.RubyHash","try_convert","try_convert"); populateMethod(javaMethod, 1, "delete", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "delete", 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("delete", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$to_hash(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "to_hash", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "to_hash", org.jruby.RubyHash.class, new Class[] {}); cls.addMethodAtBootTimeOnly("to_hash", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$each_pair(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "each_pair", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "each_pair", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class}); cls.addMethodAtBootTimeOnly("each_pair", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$1$0$op_aref(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "op_aref", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "op_aref", 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.RubyHash$INVOKER$i$0$0$to_h(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "to_h", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "to_h", org.jruby.RubyHash.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("to_h", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$reject_bang(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "reject_bang", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "reject_bang", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class}); cls.addMethodAtBootTimeOnly("reject!", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$values_at(cls, Visibility.PUBLIC);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyHash$INVOKER$s$0$0$create(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, -1, "create", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "create", 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("[]", javaMethod); runtime.addBoundMethod("org.jruby.RubyHash","create","[]"); if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) { javaMethod = new org.jruby.RubyHash$INVOKER$s$1$0$try_convert(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, 1, "try_convert", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "try_convert", 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("try_convert", javaMethod); runtime.addBoundMethod("org.jruby.RubyHash","try_convert","try_convert"); populateMethod(javaMethod, 0, "to_hash", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "to_hash", org.jruby.RubyHash.class, new Class[] {}); cls.addMethodAtBootTimeOnly("to_hash", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$1$0$op_aref(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "op_aref", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "op_aref", 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.RubyHash$INVOKER$i$0$0$select(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "select", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "select", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class}); cls.addMethodAtBootTimeOnly("select", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$reject(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "reject", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "reject", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class}); cls.addMethodAtBootTimeOnly("reject", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$reject_bang(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "reject_bang", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "reject_bang", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class}); cls.addMethodAtBootTimeOnly("reject!", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$values_at(cls, Visibility.PUBLIC); populateMethod(javaMethod, -1, "values_at", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyHash.class, "values_at", org.jruby.RubyArray.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class}); cls.addMethodAtBootTimeOnly("values_at", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyHash$INVOKER$s$0$0$create(singletonClass, Visibility.PUBLIC, "[]"); populateMethod(javaMethod, -1, "create", true, false, org.jruby.RubyHash.class, "create", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK); aliasedMethod = singletonClass.putMethod(runtime, "[]", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$s$1$0$try_convert(singletonClass, Visibility.PUBLIC, "try_convert"); populateMethod(javaMethod, 1, "try_convert", true, false, org.jruby.RubyHash.class, "try_convert", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "try_convert", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$1$initialize(cls, Visibility.PRIVATE, "initialize"); populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.RubyHash.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, ARG0_ARY_BLOCK); aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$1$0$op_le(cls, Visibility.PUBLIC, "<="); populateMethod(javaMethod, 1, "op_le", false, false, org.jruby.RubyHash.class, "op_le", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "<=", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$delete_if(cls, Visibility.PUBLIC, "delete_if"); populateMethod(javaMethod, 0, "delete_if", false, false, org.jruby.RubyHash.class, "delete_if", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK); aliasedMethod = cls.putMethod(runtime, "delete_if", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$select(cls, Visibility.PUBLIC, "select"); populateMethod(javaMethod, 0, "select", false, false, org.jruby.RubyHash.class, "select", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK); aliasedMethod = cls.putMethod(runtime, "select", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$dig(cls, Visibility.PUBLIC, "dig"); populateMethod(javaMethod, -1, "dig", false, false, org.jruby.RubyHash.class, "dig", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY); aliasedMethod = cls.putMethod(runtime, "dig", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$compact(cls, Visibility.PUBLIC, "compact"); populateMethod(javaMethod, 0, "compact", false, false, org.jruby.RubyHash.class, "compact", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "compact", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$1$0$key(cls, Visibility.PUBLIC, "key"); populateMethod(javaMethod, 1, "key", false, false, org.jruby.RubyHash.class, "key", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "key", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$shift(cls, Visibility.PUBLIC, "shift");
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyHash$INVOKER$s$0$0$create(singletonClass, Visibility.PUBLIC, "[]"); populateMethod(javaMethod, -1, "create", true, false, org.jruby.RubyHash.class, "create", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK); aliasedMethod = singletonClass.putMethod(runtime, "[]", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$s$1$0$try_convert(singletonClass, Visibility.PUBLIC, "try_convert"); populateMethod(javaMethod, 1, "try_convert", true, false, org.jruby.RubyHash.class, "try_convert", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2); aliasedMethod = singletonClass.putMethod(runtime, "try_convert", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$1$initialize(cls, Visibility.PRIVATE, "initialize"); populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.RubyHash.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, ARG0_ARY_BLOCK); aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$1$0$op_le(cls, Visibility.PUBLIC, "<="); populateMethod(javaMethod, 1, "op_le", false, false, org.jruby.RubyHash.class, "op_le", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "<=", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$delete_if(cls, Visibility.PUBLIC, "delete_if"); populateMethod(javaMethod, 0, "delete_if", false, false, org.jruby.RubyHash.class, "delete_if", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK); aliasedMethod = cls.putMethod(runtime, "delete_if", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$select(cls, Visibility.PUBLIC, "select"); populateMethod(javaMethod, 0, "select", false, false, org.jruby.RubyHash.class, "select", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK); aliasedMethod = cls.putMethod(runtime, "select", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$dig(cls, Visibility.PUBLIC, "dig"); populateMethod(javaMethod, -1, "dig", false, false, org.jruby.RubyHash.class, "dig", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY); aliasedMethod = cls.putMethod(runtime, "dig", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$compact(cls, Visibility.PUBLIC, "compact"); populateMethod(javaMethod, 0, "compact", false, false, org.jruby.RubyHash.class, "compact", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "compact", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$1$0$key(cls, Visibility.PUBLIC, "key"); populateMethod(javaMethod, 1, "key", false, false, org.jruby.RubyHash.class, "key", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "key", javaMethod); javaMethod = new org.jruby.RubyHash$INVOKER$i$0$0$shift(cls, Visibility.PUBLIC, "shift");