org.jruby.gen.org$jruby$RubyUnboundMethod$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.CompatVersion;
import org.jruby.anno.TypePopulator;
import org.jruby.internal.runtime.methods.CallConfiguration;
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.compiler.ASTInspector;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
@Generated("org.jruby.anno.AnnotationBinder")
public class org$jruby$RubyUnboundMethod$POPULATOR extends TypePopulator {
public void populate(RubyModule cls, Class clazz) {
JavaMethod javaMethod;
DynamicMethod moduleMethod;
CompatVersion compatVersion = cls.getRuntime().getInstanceConfig().getCompatVersion();
Ruby runtime = cls.getRuntime();
javaMethod = new org.jruby.RubyUnboundMethod$INVOKER$i$0$0$rbClone(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "rbClone", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyUnboundMethod.class, "rbClone", org.jruby.RubyUnboundMethod.class, new Class[] {});
cls.addMethodAtBootTimeOnly("clone", javaMethod);
javaMethod = new org.jruby.RubyUnboundMethod$INVOKER$i$1$0$op_equal(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 1, "op_equal", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyUnboundMethod.class, "op_equal", org.jruby.RubyBoolean.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("==", javaMethod);
javaMethod = new org.jruby.RubyUnboundMethod$INVOKER$i$0$0$owner(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "owner", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyUnboundMethod.class, "owner", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("owner", javaMethod);
javaMethod = new org.jruby.RubyUnboundMethod$INVOKER$i$1$0$bind(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 1, "bind", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyUnboundMethod.class, "bind", org.jruby.RubyMethod.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
cls.addMethodAtBootTimeOnly("bind", javaMethod);
javaMethod = new org.jruby.RubyUnboundMethod$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "inspect", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyUnboundMethod.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {});
cls.addMethodAtBootTimeOnly("inspect", javaMethod);
cls.addMethodAtBootTimeOnly("to_s", javaMethod);
runtime.addBoundMethod("org.jruby.RubyUnboundMethod","rbClone","clone");
runtime.addBoundMethod("org.jruby.RubyUnboundMethod","op_equal","==");
runtime.addBoundMethod("org.jruby.RubyUnboundMethod","owner","owner");
runtime.addBoundMethod("org.jruby.RubyUnboundMethod","bind","bind");
runtime.addBoundMethod("org.jruby.RubyUnboundMethod","inspect","inspect");
if (compatVersion == CompatVersion.RUBY1_8 || compatVersion == CompatVersion.BOTH) {
javaMethod = new org.jruby.RubyUnboundMethod$INVOKER$i$0$0$name(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "name", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyUnboundMethod.class, "name", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("name", javaMethod);
runtime.addBoundMethod("org.jruby.RubyUnboundMethod","name","name");
}
if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) {
javaMethod = new org.jruby.RubyUnboundMethod$INVOKER$i$0$0$name19(cls, Visibility.PUBLIC);
populateMethod(javaMethod, 0, "name19", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.RubyUnboundMethod.class, "name19", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
cls.addMethodAtBootTimeOnly("name", javaMethod);
runtime.addBoundMethod("org.jruby.RubyUnboundMethod","name19","name");
}
}
static {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy