
org.jruby.gen.org$jruby$javasupport$ext$JavaUtil$Collection$POPULATOR Maven / Gradle / Ivy
/* THIS FILE IS GENERATED. DO NOT EDIT */
package org.jruby.gen;
import org.jruby.Ruby;
import org.jruby.RubyModule;
import org.jruby.RubyClass;
import org.jruby.anno.TypePopulator;
import org.jruby.internal.runtime.methods.JavaMethod;
import org.jruby.internal.runtime.methods.DynamicMethod;
import org.jruby.runtime.Arity;
import org.jruby.runtime.Visibility;
import org.jruby.runtime.MethodIndex;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
@Generated("org.jruby.anno.AnnotationBinder")
public class org$jruby$javasupport$ext$JavaUtil$Collection$POPULATOR extends TypePopulator {
public void populate(RubyModule cls, Class clazz) {
JavaMethod javaMethod;
DynamicMethod moduleMethod;
Ruby runtime = cls.getRuntime();
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$0$0$each(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "each", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "each", 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("each", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$0$0$dup(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "dup", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "dup", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("dup", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$1$0$include_p(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 1, "include_p", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "include_p", org.jruby.RubyBoolean.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("include?", javaMethod);
cls.addMethodAtBootTimeOnly("member?", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$1$0$append(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 1, "append", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "append", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("<<", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$0$0$length(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "length", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "length", org.jruby.RubyNumeric.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("length", javaMethod);
cls.addMethodAtBootTimeOnly("size", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$1$0$op_plus(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 1, "op_plus", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "op_plus", 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});
cls.addMethodAtBootTimeOnly("+", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$0$0$each_with_index(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "each_with_index", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "each_with_index", 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("each_with_index", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$0$0$clone(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "clone", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "clone", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("clone", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$join(cls, Visibility.PUBLIC);
populateMethod(javaMethod, -1, "join", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "join", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("join", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$first(cls, Visibility.PUBLIC);
populateMethod(javaMethod, -1, "first", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "first", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("first", javaMethod);
cls.addMethodAtBootTimeOnly("ruby_first", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$0$0$to_a(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "to_a", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "to_a", org.jruby.RubyArray.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("to_a", javaMethod);
cls.addMethodAtBootTimeOnly("entries", javaMethod);
javaMethod = new org.jruby.javasupport.ext.JavaUtil$Collection$INVOKER$s$1$0$op_minus(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 1, "op_minus", true, false, org.jruby.javasupport.ext.JavaUtil.Collection.class, "op_minus", 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});
cls.addMethodAtBootTimeOnly("-", javaMethod);
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","each","each");
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","dup","dup");
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","include_p","include?");
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","append","<<");
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","length","length");
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","op_plus","+");
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","each_with_index","each_with_index");
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","clone","clone");
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","join","join");
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","first","first");
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","to_a","to_a");
runtime.addBoundMethod("org.jruby.javasupport.ext.JavaUtil.Collection","op_minus","-");
}
static {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy