/* 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$fiber$ThreadFiber$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.fiber.ThreadFiber$INVOKER$s$0$0$__current__(singletonClass, Visibility.PUBLIC, "__current__");
        populateMethod(javaMethod, 0, "__current__", true, false, org.jruby.ext.fiber.ThreadFiber.class, "__current__", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "__current__", javaMethod);
        javaMethod = new org.jruby.ext.fiber.ThreadFiber$INVOKER$s$yield(singletonClass, Visibility.PUBLIC, "yield");
        populateMethod(javaMethod, -1, "yield", true, false, org.jruby.ext.fiber.ThreadFiber.class, "yield", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = singletonClass.putMethod(runtime, "yield", javaMethod);
        javaMethod = new org.jruby.ext.fiber.ThreadFiber$INVOKER$i$0$0$initialize(cls, Visibility.PRIVATE, "initialize");
        populateMethod(javaMethod, 0, "initialize", false, false, org.jruby.ext.fiber.ThreadFiber.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
        javaMethod = new org.jruby.ext.fiber.ThreadFiber$INVOKER$i$0$0$resume(cls, Visibility.PUBLIC, "resume");
        populateMethod(javaMethod, -1, "resume", false, false, org.jruby.ext.fiber.ThreadFiber.class, "resume", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "resume", javaMethod);
        javaMethod = new org.jruby.ext.fiber.ThreadFiber$INVOKER$i$0$0$__transfer__(cls, Visibility.PUBLIC, "__transfer__");
        populateMethod(javaMethod, -1, "__transfer__", false, false, org.jruby.ext.fiber.ThreadFiber.class, "__transfer__", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
        aliasedMethod = cls.putMethod(runtime, "__transfer__", javaMethod);
        javaMethod = new org.jruby.ext.fiber.ThreadFiber$INVOKER$i$0$0$__finalize__(cls, Visibility.PRIVATE, "__finalize__");
        populateMethod(javaMethod, 0, "__finalize__", false, false, org.jruby.ext.fiber.ThreadFiber.class, "__finalize__", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "__finalize__", javaMethod);
        javaMethod = new org.jruby.ext.fiber.ThreadFiber$INVOKER$i$0$0$__alive__(cls, Visibility.PUBLIC, "__alive__");
        populateMethod(javaMethod, 0, "__alive__", false, false, org.jruby.ext.fiber.ThreadFiber.class, "__alive__", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "__alive__", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.fiber.ThreadFiber", "__current__", "__current__", "yield", "yield", "initialize", "initialize", "resume", "resume", "__transfer__", "__transfer__", "__finalize__", "__finalize__", "__alive__", "__alive__");
    }
    static {
    }
}