public void populate(RubyModule cls, Class clazz) { JavaMethod javaMethod; DynamicMethod moduleMethod; Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$1$0$append(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "append", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyClassPathVariable.class, "append", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("append", javaMethod); cls.addMethodAtBootTimeOnly("<<", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "to_s", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyClassPathVariable.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {}); cls.addMethodAtBootTimeOnly("to_s", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$each(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "each", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyClassPathVariable.class, "each", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.Block.class}); cls.addMethodAtBootTimeOnly("each", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "inspect", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyClassPathVariable.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {}); cls.addMethodAtBootTimeOnly("inspect", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$size(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "size", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyClassPathVariable.class, "size", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {}); cls.addMethodAtBootTimeOnly("size", javaMethod); cls.addMethodAtBootTimeOnly("length", javaMethod); runtime.addBoundMethod("org.jruby.RubyClassPathVariable","append","append"); runtime.addBoundMethod("org.jruby.RubyClassPathVariable","to_s","to_s"); runtime.addBoundMethod("org.jruby.RubyClassPathVariable","each","each"); runtime.addBoundMethod("org.jruby.RubyClassPathVariable","inspect","inspect"); runtime.addBoundMethod("org.jruby.RubyClassPathVariable","size","size"); } static {
public void populate(RubyModule cls, Class clazz) { JavaMethod javaMethod; DynamicMethod moduleMethod, aliasedMethod; Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$size(cls, Visibility.PUBLIC, "size"); populateMethod(javaMethod, 0, "size", false, false, org.jruby.RubyClassPathVariable.class, "size", org.jruby.runtime.builtin.IRubyObject.class, ARG0); aliasedMethod = cls.putMethod(runtime, "size", javaMethod); cls.putMethod(runtime, "length", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect"); populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.RubyClassPathVariable.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, ARG0); aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC, "to_s"); populateMethod(javaMethod, 0, "to_s", false, false, org.jruby.RubyClassPathVariable.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, ARG0); aliasedMethod = cls.putMethod(runtime, "to_s", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$each(cls, Visibility.PUBLIC, "each"); populateMethod(javaMethod, 0, "each", false, false, org.jruby.RubyClassPathVariable.class, "each", org.jruby.runtime.builtin.IRubyObject.class, ARG0_BLOCK); aliasedMethod = cls.putMethod(runtime, "each", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$1$0$append(cls, Visibility.PUBLIC, "append"); populateMethod(javaMethod, 1, "append", false, false, org.jruby.RubyClassPathVariable.class, "append", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "append", javaMethod); cls.putMethod(runtime, "<<", javaMethod); runtime.addBoundMethods("org.jruby.RubyClassPathVariable", "size", "size", "inspect", "inspect", "append", "append", "to_s", "to_s", "each", "each"); } static {
public void populate(RubyModule cls, Class clazz) { JavaMethod javaMethod; DynamicMethod moduleMethod; Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$1$0$append(cls, Visibility.PUBLIC); populateMethod(javaMethod, 1, "append", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyClassPathVariable.class, "append", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class}); cls.addMethodAtBootTimeOnly("append", javaMethod); cls.addMethodAtBootTimeOnly("<<", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$each(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "each", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyClassPathVariable.class, "each", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.Block.class}); cls.addMethodAtBootTimeOnly("each", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "to_s", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyClassPathVariable.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {}); cls.addMethodAtBootTimeOnly("to_s", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "inspect", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyClassPathVariable.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {}); cls.addMethodAtBootTimeOnly("inspect", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$size(cls, Visibility.PUBLIC); populateMethod(javaMethod, 0, "size", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyClassPathVariable.class, "size", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {}); cls.addMethodAtBootTimeOnly("size", javaMethod); cls.addMethodAtBootTimeOnly("length", javaMethod); runtime.addBoundMethod("org.jruby.RubyClassPathVariable","append","append"); runtime.addBoundMethod("org.jruby.RubyClassPathVariable","each","each"); runtime.addBoundMethod("org.jruby.RubyClassPathVariable","to_s","to_s"); runtime.addBoundMethod("org.jruby.RubyClassPathVariable","inspect","inspect"); runtime.addBoundMethod("org.jruby.RubyClassPathVariable","size","size"); } static {
public void populate(RubyModule cls, Class clazz) { JavaMethod javaMethod; DynamicMethod moduleMethod, aliasedMethod; Ruby runtime = cls.getRuntime(); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$size(cls, Visibility.PUBLIC, "size"); populateMethod(javaMethod, 0, "size", false, false, org.jruby.RubyClassPathVariable.class, "size", org.jruby.runtime.builtin.IRubyObject.class, ARG0); aliasedMethod = cls.putMethod(runtime, "size", javaMethod); cls.putMethod(runtime, "length", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect"); populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.RubyClassPathVariable.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, ARG0); aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC, "to_s"); populateMethod(javaMethod, 0, "to_s", false, false, org.jruby.RubyClassPathVariable.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, ARG0); aliasedMethod = cls.putMethod(runtime, "to_s", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$0$0$each(cls, Visibility.PUBLIC, "each"); populateMethod(javaMethod, 0, "each", false, false, org.jruby.RubyClassPathVariable.class, "each", org.jruby.runtime.builtin.IRubyObject.class, ARG0_BLOCK); aliasedMethod = cls.putMethod(runtime, "each", javaMethod); javaMethod = new org.jruby.RubyClassPathVariable$INVOKER$i$1$0$append(cls, Visibility.PUBLIC, "append"); populateMethod(javaMethod, 1, "append", false, false, org.jruby.RubyClassPathVariable.class, "append", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1); aliasedMethod = cls.putMethod(runtime, "append", javaMethod); cls.putMethod(runtime, "<<", javaMethod); runtime.addBoundMethods("org.jruby.RubyClassPathVariable", "size", "size", "inspect", "inspect", "append", "append", "to_s", "to_s", "each", "each"); } static {