org.jruby.gen.org$jruby$javasupport$JavaConstructor$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")
@SuppressWarnings("deprecation")
public class org$jruby$javasupport$JavaConstructor$POPULATOR extends TypePopulator {
public void populate(RubyModule cls, Class clazz) {
JavaMethod javaMethod;
DynamicMethod moduleMethod, aliasedMethod;
Ruby runtime = cls.getRuntime();
javaMethod = new org.jruby.javasupport.JavaConstructor$INVOKER$i$0$0$return_type(cls, Visibility.PUBLIC, "return_type");
populateMethod(javaMethod, 0, "return_type", false, false, org.jruby.javasupport.JavaConstructor.class, "return_type", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
aliasedMethod = cls.putMethod(runtime, "return_type", javaMethod);
javaMethod = new org.jruby.javasupport.JavaConstructor$INVOKER$i$0$0$new_instance(cls, Visibility.PUBLIC, "new_instance");
populateMethod(javaMethod, -1, "new_instance", false, false, org.jruby.javasupport.JavaConstructor.class, "new_instance", org.jruby.runtime.builtin.IRubyObject.class, ARG0_ARY);
aliasedMethod = cls.putMethod(runtime, "new_instance", javaMethod);
javaMethod = new org.jruby.javasupport.JavaConstructor$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect");
populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.javasupport.JavaConstructor.class, "inspect", org.jruby.RubyString.class, ARG0);
aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod);
javaMethod = new org.jruby.javasupport.JavaConstructor$INVOKER$i$0$0$type_parameters(cls, Visibility.PUBLIC, "type_parameters");
populateMethod(javaMethod, 0, "type_parameters", false, false, org.jruby.javasupport.JavaConstructor.class, "type_parameters", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
aliasedMethod = cls.putMethod(runtime, "type_parameters", javaMethod);
javaMethod = new org.jruby.javasupport.JavaConstructor$INVOKER$i$0$0$declaring_class(cls, Visibility.PUBLIC, "declaring_class");
populateMethod(javaMethod, 0, "declaring_class", false, false, org.jruby.javasupport.JavaConstructor.class, "declaring_class", org.jruby.runtime.builtin.IRubyObject.class, ARG0);
aliasedMethod = cls.putMethod(runtime, "declaring_class", javaMethod);
runtime.addBoundMethods("org.jruby.javasupport.JavaConstructor", "return_type", "return_type", "new_instance", "new_instance", "inspect", "inspect", "type_parameters", "type_parameters", "declaring_class", "declaring_class");
}
static {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy