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

org.jruby.gen.org$jruby$javasupport$ext$JavaTime$Instant$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 jakarta.annotation.Generated;

@Generated("org.jruby.anno.AnnotationBinder")
@SuppressWarnings("deprecation")
public class org$jruby$javasupport$ext$JavaTime$Instant$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        Ruby runtime = cls.getRuntime();
        boolean core = runtime.isBootingCore();
        javaMethod = new org.jruby.javasupport.ext.JavaTime$Instant$INVOKER$s$0$0$to_time(cls, Visibility.PUBLIC, "to_time");
        populateMethod(javaMethod, 0, "to_time", true, false, core, org.jruby.javasupport.ext.JavaTime.Instant.class, "to_time", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "to_time", javaMethod);

        runtime.addBoundMethods(1, "org.jruby.javasupport.ext.JavaTime.Instant", "to_time", "to_time");
    }
    static {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy