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

org.jruby.gen.org$jruby$ext$ffi$Enums$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$ext$ffi$Enums$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod;
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.ext.ffi.Enums$INVOKER$i$1$0$mapSymbol(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "mapSymbol", false, false, org.jruby.ext.ffi.Enums.class, "mapSymbol", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("__map_symbol", javaMethod);
        javaMethod = new org.jruby.ext.ffi.Enums$INVOKER$i$0$0$empty_p(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "empty_p", false, false, org.jruby.ext.ffi.Enums.class, "empty_p", org.jruby.RubyBoolean.class, new Class[] {});
        cls.addMethodAtBootTimeOnly("empty?", javaMethod);
        javaMethod = new org.jruby.ext.ffi.Enums$INVOKER$i$1$0$append(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "append", false, false, org.jruby.ext.ffi.Enums.class, "append", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("<<", javaMethod);
        javaMethod = new org.jruby.ext.ffi.Enums$INVOKER$i$1$0$find(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "find", false, false, org.jruby.ext.ffi.Enums.class, "find", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("find", javaMethod);
        javaMethod = new org.jruby.ext.ffi.Enums$INVOKER$i$0$0$initialize(cls, Visibility.PRIVATE);
        populateMethod(javaMethod, 0, "initialize", false, false, org.jruby.ext.ffi.Enums.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("initialize", javaMethod);
        runtime.addBoundMethod("org.jruby.ext.ffi.Enums","mapSymbol","__map_symbol");
        runtime.addBoundMethod("org.jruby.ext.ffi.Enums","empty_p","empty?");
        runtime.addBoundMethod("org.jruby.ext.ffi.Enums","append","<<");
        runtime.addBoundMethod("org.jruby.ext.ffi.Enums","find","find");
        runtime.addBoundMethod("org.jruby.ext.ffi.Enums","initialize","initialize");
    }
    static {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy