All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.gen.org$jruby$RubyException$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$RubyException$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.RubyException$INVOKER$s$1$0$op_eqq(singletonClass, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "op_eqq", true, false, org.jruby.RubyException.class, "op_eqq", 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("===", javaMethod);
        javaMethod = new org.jruby.RubyException$INVOKER$s$0$1$exception(singletonClass, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "exception", true, false, org.jruby.RubyException.class, "exception", 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.Block.class});
        singletonClass.addMethodAtBootTimeOnly("exception", javaMethod);
        runtime.addBoundMethod("org.jruby.RubyException","op_eqq","===");
        runtime.addBoundMethod("org.jruby.RubyException","exception","exception");
        javaMethod = new org.jruby.RubyException$INVOKER$i$0$0$message(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "message", false, false, org.jruby.RubyException.class, "message", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("message", javaMethod);
        javaMethod = new org.jruby.RubyException$INVOKER$i$0$0$cause(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "cause", false, false, org.jruby.RubyException.class, "cause", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("cause", javaMethod);
        javaMethod = new org.jruby.RubyException$INVOKER$i$1$0$op_equal(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "op_equal", false, false, org.jruby.RubyException.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.RubyException$INVOKER$i$0$0$backtrace_locations(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "backtrace_locations", false, false, org.jruby.RubyException.class, "backtrace_locations", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("backtrace_locations", javaMethod);
        javaMethod = new org.jruby.RubyException$INVOKER$i$0$0$backtrace(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "backtrace", false, false, org.jruby.RubyException.class, "backtrace", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {});
        cls.addMethodAtBootTimeOnly("backtrace", javaMethod);
        javaMethod = new org.jruby.RubyException$INVOKER$i$0$2$initialize(cls, Visibility.PRIVATE);
        populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.RubyException.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("initialize", javaMethod);
        javaMethod = new org.jruby.RubyException$INVOKER$i$1$0$set_backtrace(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "set_backtrace", false, false, org.jruby.RubyException.class, "set_backtrace", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("set_backtrace", javaMethod);
        javaMethod = new org.jruby.RubyException$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.RubyException.class, "inspect", org.jruby.RubyString.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("inspect", javaMethod);
        javaMethod = new org.jruby.RubyException$INVOKER$i$0$1$exception(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "exception", false, false, org.jruby.RubyException.class, "exception", org.jruby.RubyException.class, new Class[] {org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("exception", javaMethod);
        javaMethod = new org.jruby.RubyException$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "to_s", false, false, org.jruby.RubyException.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("to_s", javaMethod);
        runtime.addBoundMethod("org.jruby.RubyException","message","message");
        runtime.addBoundMethod("org.jruby.RubyException","cause","cause");
        runtime.addBoundMethod("org.jruby.RubyException","op_equal","==");
        runtime.addBoundMethod("org.jruby.RubyException","backtrace","backtrace");
        runtime.addBoundMethod("org.jruby.RubyException","initialize","initialize");
        runtime.addBoundMethod("org.jruby.RubyException","set_backtrace","set_backtrace");
        runtime.addBoundMethod("org.jruby.RubyException","inspect","inspect");
        runtime.addBoundMethod("org.jruby.RubyException","exception","exception");
        runtime.addBoundMethod("org.jruby.RubyException","to_s","to_s");
    }
    static {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy