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$Buffer$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.Buffer$INVOKER$s$allocateInOut(singletonClass, Visibility.PUBLIC, "alloc_inout");
populateMethod(javaMethod, -1, "allocateInOut", true, false, org.jruby.ext.ffi.Buffer.class, "allocateInOut", org.jruby.ext.ffi.Buffer.class, CONTEXT_ARG2);
aliasedMethod = singletonClass.putMethod(runtime, "alloc_inout", javaMethod);
singletonClass.putMethod(runtime, "__alloc_inout", javaMethod);
javaMethod = new org.jruby.ext.ffi.Buffer$INVOKER$s$allocateInput(singletonClass, Visibility.PUBLIC, "new_in");
populateMethod(javaMethod, -1, "allocateInput", true, false, org.jruby.ext.ffi.Buffer.class, "allocateInput", org.jruby.ext.ffi.Buffer.class, CONTEXT_ARG2);
aliasedMethod = singletonClass.putMethod(runtime, "new_in", javaMethod);
singletonClass.putMethod(runtime, "alloc_in", javaMethod);
singletonClass.putMethod(runtime, "__alloc_in", javaMethod);
javaMethod = new org.jruby.ext.ffi.Buffer$INVOKER$s$allocateOutput(singletonClass, Visibility.PUBLIC, "new_out");
populateMethod(javaMethod, -1, "allocateOutput", true, false, org.jruby.ext.ffi.Buffer.class, "allocateOutput", org.jruby.ext.ffi.Buffer.class, CONTEXT_ARG2);
aliasedMethod = singletonClass.putMethod(runtime, "new_out", javaMethod);
singletonClass.putMethod(runtime, "alloc_out", javaMethod);
singletonClass.putMethod(runtime, "__alloc_out", javaMethod);
javaMethod = new org.jruby.ext.ffi.Buffer$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect");
populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.ext.ffi.Buffer.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod);
javaMethod = new org.jruby.ext.ffi.Buffer$INVOKER$i$initialize(cls, Visibility.PRIVATE, "initialize");
populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.ext.ffi.Buffer.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_BLOCK);
aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
javaMethod = new org.jruby.ext.ffi.Buffer$INVOKER$i$1$0$initialize_copy(cls, Visibility.PRIVATE, "initialize_copy");
populateMethod(javaMethod, 1, "initialize_copy", false, false, org.jruby.ext.ffi.Buffer.class, "initialize_copy", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "initialize_copy", javaMethod);
runtime.addBoundMethods("org.jruby.ext.ffi.Buffer", "inspect", "inspect", "allocateInOut", "alloc_inout", "initialize", "initialize", "allocateInput", "new_in", "allocateOutput", "new_out", "initialize_copy", "initialize_copy");
}
static {
}
}