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

org.jruby.gen.org$jruby$ext$ffi$jffi$Factory$WinapiLastError$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$ext$ffi$jffi$Factory$WinapiLastError$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        RubyClass singletonClass = cls.getSingletonClass();
        Ruby runtime = cls.getRuntime();
        boolean core = runtime.isBootingCore();
        javaMethod = new org.jruby.ext.ffi.jffi.Factory$WinapiLastError$INVOKER$s$0$0$winapi_error(cls, Visibility.PUBLIC, "winapi_error");
        populateMethod(javaMethod, 0, "winapi_error", true, false, core, org.jruby.ext.ffi.jffi.Factory.WinapiLastError.class, "winapi_error", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "winapi_error", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "winapi_error", moduleMethod);
        javaMethod = new org.jruby.ext.ffi.jffi.Factory$WinapiLastError$INVOKER$s$1$0$winapi_error_set(cls, Visibility.PUBLIC, "winapi_error=");
        populateMethod(javaMethod, 1, "winapi_error_set", true, false, core, org.jruby.ext.ffi.jffi.Factory.WinapiLastError.class, "winapi_error_set", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "winapi_error=", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "winapi_error=", moduleMethod);

        runtime.addBoundMethods(1, "org.jruby.ext.ffi.jffi.Factory.WinapiLastError", "winapi_error_set", "winapi_error=", "winapi_error", "winapi_error");
    }
    static {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy