/* 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")
@SuppressWarnings("deprecation")
public class org$jruby$ext$ffi$Platform$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        RubyClass singletonClass = cls.getSingletonClass();
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.ext.ffi.Platform$INVOKER$s$0$0$bsd_p(cls, Visibility.PUBLIC, "bsd?");
        populateMethod(javaMethod, 0, "bsd_p", true, false, org.jruby.ext.ffi.Platform.class, "bsd_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "bsd?", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "bsd?", moduleMethod);
        javaMethod = new org.jruby.ext.ffi.Platform$INVOKER$s$0$0$mac_p(cls, Visibility.PUBLIC, "mac?");
        populateMethod(javaMethod, 0, "mac_p", true, false, org.jruby.ext.ffi.Platform.class, "mac_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "mac?", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "mac?", moduleMethod);
        javaMethod = new org.jruby.ext.ffi.Platform$INVOKER$s$0$0$unix_p(cls, Visibility.PUBLIC, "unix?");
        populateMethod(javaMethod, 0, "unix_p", true, false, org.jruby.ext.ffi.Platform.class, "unix_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "unix?", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "unix?", moduleMethod);
        javaMethod = new org.jruby.ext.ffi.Platform$INVOKER$s$0$0$solaris_p(cls, Visibility.PUBLIC, "solaris?");
        populateMethod(javaMethod, 0, "solaris_p", true, false, org.jruby.ext.ffi.Platform.class, "solaris_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "solaris?", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "solaris?", moduleMethod);
        javaMethod = new org.jruby.ext.ffi.Platform$INVOKER$s$0$0$windows_p(cls, Visibility.PUBLIC, "windows?");
        populateMethod(javaMethod, 0, "windows_p", true, false, org.jruby.ext.ffi.Platform.class, "windows_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "windows?", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "windows?", moduleMethod);
        javaMethod = new org.jruby.ext.ffi.Platform$INVOKER$s$0$0$linux_p(cls, Visibility.PUBLIC, "linux?");
        populateMethod(javaMethod, 0, "linux_p", true, false, org.jruby.ext.ffi.Platform.class, "linux_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "linux?", javaMethod);
        moduleMethod = populateModuleMethod(cls, javaMethod);
        aliasedMethod = singletonClass.putMethod(runtime, "linux?", moduleMethod);

        runtime.addBoundMethods("org.jruby.ext.ffi.Platform", "bsd_p", "bsd?", "mac_p", "mac?", "unix_p", "unix?", "solaris_p", "solaris?", "windows_p", "windows?", "linux_p", "linux?");
    }
    static {
    }
}