Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$s$0$0$newInstance(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, -1, "newInstance", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "newInstance", 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("new", javaMethod); runtime.addBoundMethod("org.jruby.ext.thread.Queue","newInstance","new"); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$clear(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "clear", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "clear", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("clear", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$empty_p(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "empty_p", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "empty_p", org.jruby.RubyBoolean.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("empty?", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$shutdown(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "shutdown", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "shutdown", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("shutdown!", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$length(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "length", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "length", org.jruby.RubyNumeric.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("length", javaMethod); cls.addMethodAtBootTimeOnly("size", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$pop(cls, Visibility.PUBLIC); populateMethod(javaMethod, -1, "pop", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "pop", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("pop", javaMethod); cls.addMethodAtBootTimeOnly("deq", javaMethod); cls.addMethodAtBootTimeOnly("shift", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$num_waiting(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "num_waiting", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "num_waiting", org.jruby.RubyNumeric.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("num_waiting", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$1$0$push(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "push", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "push", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("push", javaMethod);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$initialize(cls, Visibility.PRIVATE, "initialize"); populateMethod(javaMethod, 0, "initialize", false, false, org.jruby.ext.thread.Queue.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$pop(cls, Visibility.PUBLIC, "pop"); populateMethod(javaMethod, -1, "pop", false, false, org.jruby.ext.thread.Queue.class, "pop", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "pop", javaMethod); cls.putMethod(runtime, "deq", javaMethod); cls.putMethod(runtime, "shift", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$marshal_dump(cls, Visibility.PUBLIC, "marshal_dump"); populateMethod(javaMethod, 0, "marshal_dump", false, false, org.jruby.ext.thread.Queue.class, "marshal_dump", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "marshal_dump", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$closed_p(cls, Visibility.PUBLIC, "closed?"); populateMethod(javaMethod, 0, "closed_p", false, false, org.jruby.ext.thread.Queue.class, "closed_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "closed?", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$num_waiting(cls, Visibility.PUBLIC, "num_waiting"); populateMethod(javaMethod, 0, "num_waiting", false, false, org.jruby.ext.thread.Queue.class, "num_waiting", org.jruby.RubyNumeric.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "num_waiting", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$length(cls, Visibility.PUBLIC, "length"); populateMethod(javaMethod, 0, "length", false, false, org.jruby.ext.thread.Queue.class, "length", org.jruby.RubyNumeric.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "length", javaMethod); cls.putMethod(runtime, "size", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$close(cls, Visibility.PUBLIC, "close"); populateMethod(javaMethod, 0, "close", false, false, org.jruby.ext.thread.Queue.class, "close", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "close", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$empty_p(cls, Visibility.PUBLIC, "empty?"); populateMethod(javaMethod, 0, "empty_p", false, false, org.jruby.ext.thread.Queue.class, "empty_p", org.jruby.RubyBoolean.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "empty?", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$clear(cls, Visibility.PUBLIC, "clear");
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$s$0$0$newInstance(singletonClass, Visibility.PUBLIC); populateMethod(javaMethod, -1, "newInstance", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "newInstance", 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("new", javaMethod); runtime.addBoundMethod("org.jruby.ext.thread.Queue","newInstance","new"); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$empty_p(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "empty_p", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "empty_p", org.jruby.RubyBoolean.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("empty?", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$shutdown(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "shutdown", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "shutdown", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("shutdown!", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$clear(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "clear", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "clear", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("clear", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$length(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "length", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "length", org.jruby.RubyNumeric.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("length", javaMethod); cls.addMethodAtBootTimeOnly("size", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$pop(cls, Visibility.PUBLIC); populateMethod(javaMethod, -1, "pop", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "pop", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("pop", javaMethod); cls.addMethodAtBootTimeOnly("deq", javaMethod); cls.addMethodAtBootTimeOnly("shift", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$num_waiting(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "num_waiting", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "num_waiting", org.jruby.RubyNumeric.class, new Class[] {org.jruby.runtime.ThreadContext.class}); cls.addMethodAtBootTimeOnly("num_waiting", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$1$0$push(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "push", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.thread.Queue.class, "push", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("push", javaMethod);
Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$initialize(cls, Visibility.PRIVATE, "initialize"); populateMethod(javaMethod, 0, "initialize", false, false, org.jruby.ext.thread.Queue.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$pop(cls, Visibility.PUBLIC, "pop"); populateMethod(javaMethod, -1, "pop", false, false, org.jruby.ext.thread.Queue.class, "pop", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "pop", javaMethod); cls.putMethod(runtime, "deq", javaMethod); cls.putMethod(runtime, "shift", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$marshal_dump(cls, Visibility.PUBLIC, "marshal_dump"); populateMethod(javaMethod, 0, "marshal_dump", false, false, org.jruby.ext.thread.Queue.class, "marshal_dump", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "marshal_dump", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$closed_p(cls, Visibility.PUBLIC, "closed?"); populateMethod(javaMethod, 0, "closed_p", false, false, org.jruby.ext.thread.Queue.class, "closed_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "closed?", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$num_waiting(cls, Visibility.PUBLIC, "num_waiting"); populateMethod(javaMethod, 0, "num_waiting", false, false, org.jruby.ext.thread.Queue.class, "num_waiting", org.jruby.RubyNumeric.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "num_waiting", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$length(cls, Visibility.PUBLIC, "length"); populateMethod(javaMethod, 0, "length", false, false, org.jruby.ext.thread.Queue.class, "length", org.jruby.RubyNumeric.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "length", javaMethod); cls.putMethod(runtime, "size", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$close(cls, Visibility.PUBLIC, "close"); populateMethod(javaMethod, 0, "close", false, false, org.jruby.ext.thread.Queue.class, "close", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "close", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$empty_p(cls, Visibility.PUBLIC, "empty?"); populateMethod(javaMethod, 0, "empty_p", false, false, org.jruby.ext.thread.Queue.class, "empty_p", org.jruby.RubyBoolean.class, CONTEXT_ARG0); aliasedMethod = cls.putMethod(runtime, "empty?", javaMethod); javaMethod = new org.jruby.ext.thread.Queue$INVOKER$i$0$0$clear(cls, Visibility.PUBLIC, "clear");