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

org.jruby.gen.org$jruby$javasupport$ext$JavaLang$Throwable$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$JavaLang$Throwable$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.javasupport.ext.JavaLang$Throwable$INVOKER$s$0$0$to_s(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "to_s", true, false, org.jruby.javasupport.ext.JavaLang.Throwable.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("to_s", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaLang$Throwable$INVOKER$s$1$0$eqq(singletonClass, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "eqq", true, false, org.jruby.javasupport.ext.JavaLang.Throwable.class, "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.javasupport.ext.JavaLang$Throwable$INVOKER$s$0$0$inspect(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "inspect", true, false, org.jruby.javasupport.ext.JavaLang.Throwable.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("inspect", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaLang$Throwable$INVOKER$s$0$0$message(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "message", true, false, org.jruby.javasupport.ext.JavaLang.Throwable.class, "message", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("message", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaLang$Throwable$INVOKER$s$0$0$backtrace(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "backtrace", true, false, org.jruby.javasupport.ext.JavaLang.Throwable.class, "backtrace", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("backtrace", javaMethod);
        javaMethod = new org.jruby.javasupport.ext.JavaLang$Throwable$INVOKER$s$1$0$set_backtrace(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "set_backtrace", true, false, org.jruby.javasupport.ext.JavaLang.Throwable.class, "set_backtrace", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("set_backtrace", javaMethod);
        runtime.addBoundMethod("org.jruby.javasupport.ext.JavaLang.Throwable","to_s","to_s");
        runtime.addBoundMethod("org.jruby.javasupport.ext.JavaLang.Throwable","eqq","===");
        runtime.addBoundMethod("org.jruby.javasupport.ext.JavaLang.Throwable","inspect","inspect");
        runtime.addBoundMethod("org.jruby.javasupport.ext.JavaLang.Throwable","message","message");
        runtime.addBoundMethod("org.jruby.javasupport.ext.JavaLang.Throwable","backtrace","backtrace");
        runtime.addBoundMethod("org.jruby.javasupport.ext.JavaLang.Throwable","set_backtrace","set_backtrace");
    }
    static {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy