/* 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$tempfile$Tempfile$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.tempfile.Tempfile$INVOKER$s$0$4$open(singletonClass, Visibility.PUBLIC, "open");
        populateMethod(javaMethod, -1, "open", true, false, org.jruby.ext.tempfile.Tempfile.class, "open", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
        aliasedMethod = singletonClass.putMethod(runtime, "open", javaMethod);
        javaMethod = new org.jruby.ext.tempfile.Tempfile$INVOKER$i$0$4$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.ext.tempfile.Tempfile.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.ext.tempfile.Tempfile$INVOKER$i$0$0$unlink(cls, Visibility.PUBLIC, "unlink");
        populateMethod(javaMethod, 0, "unlink", false, false, org.jruby.ext.tempfile.Tempfile.class, "unlink", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "unlink", javaMethod);
        cls.putMethod(runtime, "delete", javaMethod);
        javaMethod = new org.jruby.ext.tempfile.Tempfile$INVOKER$i$0$0$size(cls, Visibility.PUBLIC, "size");
        populateMethod(javaMethod, 0, "size", false, false, org.jruby.ext.tempfile.Tempfile.class, "size", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "size", javaMethod);
        cls.putMethod(runtime, "length", javaMethod);
        javaMethod = new org.jruby.ext.tempfile.Tempfile$INVOKER$i$0$0$_close(cls, Visibility.PROTECTED, "_close");
        populateMethod(javaMethod, 0, "_close", false, false, org.jruby.ext.tempfile.Tempfile.class, "_close", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "_close", javaMethod);
        javaMethod = new org.jruby.ext.tempfile.Tempfile$INVOKER$i$0$1$close(cls, Visibility.PUBLIC, "close");
        populateMethod(javaMethod, -1, "close", false, false, org.jruby.ext.tempfile.Tempfile.class, "close", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "close", javaMethod);
        javaMethod = new org.jruby.ext.tempfile.Tempfile$INVOKER$i$0$0$open(cls, Visibility.PUBLIC, "open");
        populateMethod(javaMethod, 0, "open", false, false, org.jruby.ext.tempfile.Tempfile.class, "open", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "open", javaMethod);
        javaMethod = new org.jruby.ext.tempfile.Tempfile$INVOKER$i$0$0$close_bang(cls, Visibility.PUBLIC, "close!");
        populateMethod(javaMethod, 0, "close_bang", false, false, org.jruby.ext.tempfile.Tempfile.class, "close_bang", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "close!", javaMethod);
        javaMethod = new org.jruby.ext.tempfile.Tempfile$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect");
        populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.ext.tempfile.Tempfile.class, "inspect", org.jruby.RubyString.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.tempfile.Tempfile", "unlink", "unlink", "size", "size", "close_bang", "close!", "open", "open", "initialize", "initialize", "_close", "_close", "close", "close", "open", "open", "inspect", "inspect");
    }
    static {
    }
}