org.jruby.gen.org$jruby$java$proxies$JavaProxy$ClassMethods$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$java$proxies$JavaProxy$ClassMethods$POPULATOR extends TypePopulator {
public void populate(RubyModule cls, Class clazz) {
JavaMethod javaMethod;
DynamicMethod moduleMethod;
RubyClass singletonClass = cls.getSingletonClass();
Ruby runtime = cls.getRuntime();
javaMethod = new org.jruby.java.proxies.JavaProxy$ClassMethods$INVOKER$s$java_send(singletonClass, Visibility.PUBLIC);
populateMethod(javaMethod, -1, "java_send", true, false, org.jruby.java.proxies.JavaProxy.ClassMethods.class, "java_send", 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("java_send", javaMethod);
javaMethod = new org.jruby.java.proxies.JavaProxy$ClassMethods$INVOKER$s$java_alias(singletonClass, Visibility.PRIVATE);
populateMethod(javaMethod, -1, "java_alias", true, false, org.jruby.java.proxies.JavaProxy.ClassMethods.class, "java_alias", 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("java_alias", javaMethod);
javaMethod = new org.jruby.java.proxies.JavaProxy$ClassMethods$INVOKER$s$java_method(singletonClass, Visibility.PUBLIC);
populateMethod(javaMethod, -1, "java_method", true, false, org.jruby.java.proxies.JavaProxy.ClassMethods.class, "java_method", 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("java_method", javaMethod);
javaMethod = new org.jruby.java.proxies.JavaProxy$ClassMethods$INVOKER$s$1$0$const_missing(singletonClass, Visibility.PRIVATE);
populateMethod(javaMethod, 1, "const_missing", true, false, org.jruby.java.proxies.JavaProxy.ClassMethods.class, "const_missing", 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("const_missing", javaMethod);
runtime.addBoundMethod("org.jruby.java.proxies.JavaProxy.ClassMethods","java_send","java_send");
runtime.addBoundMethod("org.jruby.java.proxies.JavaProxy.ClassMethods","java_alias","java_alias");
runtime.addBoundMethod("org.jruby.java.proxies.JavaProxy.ClassMethods","java_method","java_method");
runtime.addBoundMethod("org.jruby.java.proxies.JavaProxy.ClassMethods","const_missing","const_missing");
}
static {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy