/* 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$StructLayout$ArrayProxy$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod, aliasedMethod;
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.ext.ffi.StructLayout$ArrayProxy$INVOKER$i$0$0$to_ptr(cls, Visibility.PUBLIC, "to_ptr");
        populateMethod(javaMethod, 0, "to_ptr", false, false, org.jruby.ext.ffi.StructLayout.ArrayProxy.class, "to_ptr", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_ptr", javaMethod);
        javaMethod = new org.jruby.ext.ffi.StructLayout$ArrayProxy$INVOKER$i$1$0$get(cls, Visibility.PUBLIC, "[]");
        populateMethod(javaMethod, 1, "get", false, false, org.jruby.ext.ffi.StructLayout.ArrayProxy.class, "get", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
        aliasedMethod = cls.putMethod(runtime, "[]", javaMethod);
        javaMethod = new org.jruby.ext.ffi.StructLayout$ArrayProxy$INVOKER$i$0$0$size(cls, Visibility.PUBLIC, "size");
        populateMethod(javaMethod, 0, "size", false, false, org.jruby.ext.ffi.StructLayout.ArrayProxy.class, "size", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "size", javaMethod);
        javaMethod = new org.jruby.ext.ffi.StructLayout$ArrayProxy$INVOKER$i$2$0$put(cls, Visibility.PUBLIC, "[]=");
        populateMethod(javaMethod, 2, "put", false, false, org.jruby.ext.ffi.StructLayout.ArrayProxy.class, "put", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
        aliasedMethod = cls.putMethod(runtime, "[]=", javaMethod);
        javaMethod = new org.jruby.ext.ffi.StructLayout$ArrayProxy$INVOKER$i$0$0$get(cls, Visibility.PUBLIC, "to_a");
        populateMethod(javaMethod, 0, "get", false, false, org.jruby.ext.ffi.StructLayout.ArrayProxy.class, "get", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
        aliasedMethod = cls.putMethod(runtime, "to_a", javaMethod);
        cls.putMethod(runtime, "to_ary", javaMethod);
        javaMethod = new org.jruby.ext.ffi.StructLayout$ArrayProxy$INVOKER$i$0$0$each(cls, Visibility.PUBLIC, "each");
        populateMethod(javaMethod, 0, "each", false, false, org.jruby.ext.ffi.StructLayout.ArrayProxy.class, "each", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
        aliasedMethod = cls.putMethod(runtime, "each", javaMethod);

        runtime.addBoundMethods("org.jruby.ext.ffi.StructLayout.ArrayProxy", "to_ptr", "to_ptr", "get", "[]", "size", "size", "put", "[]=", "get", "to_a", "each", "each");
    }
    static {
    }
}