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$Struct$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.Struct$INVOKER$s$allocateInOut(singletonClass, Visibility.PUBLIC, "new_inout");
populateMethod(javaMethod, -1, "allocateInOut", true, false, org.jruby.ext.ffi.Struct.class, "allocateInOut", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = singletonClass.putMethod(runtime, "new_inout", javaMethod);
singletonClass.putMethod(runtime, "alloc_inout", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$s$1$0$offset_of(singletonClass, Visibility.PUBLIC, "offset_of");
populateMethod(javaMethod, 1, "offset_of", true, false, org.jruby.ext.ffi.Struct.class, "offset_of", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
aliasedMethod = singletonClass.putMethod(runtime, "offset_of", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$s$0$0$size(singletonClass, Visibility.PUBLIC, "size");
populateMethod(javaMethod, 0, "size", true, false, org.jruby.ext.ffi.Struct.class, "size", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = singletonClass.putMethod(runtime, "size", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$s$0$0$offsets(singletonClass, Visibility.PUBLIC, "offsets");
populateMethod(javaMethod, 0, "offsets", true, false, org.jruby.ext.ffi.Struct.class, "offsets", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = singletonClass.putMethod(runtime, "offsets", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$s$1$0$set_layout(singletonClass, Visibility.PUBLIC, "layout=");
populateMethod(javaMethod, 1, "set_layout", true, false, org.jruby.ext.ffi.Struct.class, "set_layout", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
aliasedMethod = singletonClass.putMethod(runtime, "layout=", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$s$0$0$members(singletonClass, Visibility.PUBLIC, "members");
populateMethod(javaMethod, 0, "members", true, false, org.jruby.ext.ffi.Struct.class, "members", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = singletonClass.putMethod(runtime, "members", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$s$0$0$alignment(singletonClass, Visibility.PUBLIC, "alignment");
populateMethod(javaMethod, 0, "alignment", true, false, org.jruby.ext.ffi.Struct.class, "alignment", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = singletonClass.putMethod(runtime, "alignment", javaMethod);
singletonClass.putMethod(runtime, "align", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$s$allocateIn(singletonClass, Visibility.PUBLIC, "new_in");
populateMethod(javaMethod, -1, "allocateIn", true, false, org.jruby.ext.ffi.Struct.class, "allocateIn", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = singletonClass.putMethod(runtime, "new_in", javaMethod);
singletonClass.putMethod(runtime, "alloc_in", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$s$allocateOut(singletonClass, Visibility.PUBLIC, "new_out");
populateMethod(javaMethod, -1, "allocateOut", true, false, org.jruby.ext.ffi.Struct.class, "allocateOut", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = singletonClass.putMethod(runtime, "new_out", javaMethod);
singletonClass.putMethod(runtime, "alloc_out", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$1$0$offset_of(cls, Visibility.PUBLIC, "offset_of");
populateMethod(javaMethod, 1, "offset_of", false, false, org.jruby.ext.ffi.Struct.class, "offset_of", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "offset_of", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$1$0$getFieldValue(cls, Visibility.PUBLIC, "[]");
populateMethod(javaMethod, 1, "getFieldValue", false, false, org.jruby.ext.ffi.Struct.class, "getFieldValue", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "[]", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$0$0$pointer(cls, Visibility.PUBLIC, "pointer");
populateMethod(javaMethod, 0, "pointer", false, false, org.jruby.ext.ffi.Struct.class, "pointer", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "pointer", javaMethod);
cls.putMethod(runtime, "to_ptr", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$0$0$values(cls, Visibility.PUBLIC, "values");
populateMethod(javaMethod, 0, "values", false, false, org.jruby.ext.ffi.Struct.class, "values", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "values", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$0$0$clear(cls, Visibility.PUBLIC, "clear");
populateMethod(javaMethod, 0, "clear", false, false, org.jruby.ext.ffi.Struct.class, "clear", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "clear", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$0$0$size(cls, Visibility.PUBLIC, "size");
populateMethod(javaMethod, 0, "size", false, false, org.jruby.ext.ffi.Struct.class, "size", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "size", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$0$0$offsets(cls, Visibility.PUBLIC, "offsets");
populateMethod(javaMethod, 0, "offsets", false, false, org.jruby.ext.ffi.Struct.class, "offsets", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "offsets", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$0$0$getLayout(cls, Visibility.PUBLIC, "cspec");
populateMethod(javaMethod, 0, "getLayout", false, false, org.jruby.ext.ffi.Struct.class, "getLayout", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "cspec", javaMethod);
cls.putMethod(runtime, "layout", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$0$0$members(cls, Visibility.PUBLIC, "members");
populateMethod(javaMethod, 0, "members", false, false, org.jruby.ext.ffi.Struct.class, "members", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "members", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$1$0$initialize_copy(cls, Visibility.PRIVATE, "initialize_copy");
populateMethod(javaMethod, 1, "initialize_copy", false, false, org.jruby.ext.ffi.Struct.class, "initialize_copy", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "initialize_copy", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$2$0$setFieldValue(cls, Visibility.PUBLIC, "[]=");
populateMethod(javaMethod, 2, "setFieldValue", false, false, org.jruby.ext.ffi.Struct.class, "setFieldValue", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2);
aliasedMethod = cls.putMethod(runtime, "[]=", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$initialize(cls, Visibility.PRIVATE, "initialize");
populateMethod(javaMethod, -1, "initialize", false, false, org.jruby.ext.ffi.Struct.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$0$0$alignment(cls, Visibility.PUBLIC, "alignment");
populateMethod(javaMethod, 0, "alignment", false, false, org.jruby.ext.ffi.Struct.class, "alignment", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "alignment", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$0$0$null_p(cls, Visibility.PUBLIC, "null?");
populateMethod(javaMethod, 0, "null_p", false, false, org.jruby.ext.ffi.Struct.class, "null_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "null?", javaMethod);
javaMethod = new org.jruby.ext.ffi.Struct$INVOKER$i$order(cls, Visibility.PUBLIC, "order");
populateMethod(javaMethod, -1, "order", false, false, org.jruby.ext.ffi.Struct.class, "order", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "order", javaMethod);
runtime.addBoundMethods("org.jruby.ext.ffi.Struct", "offset_of", "offset_of", "offset_of", "offset_of", "getFieldValue", "[]", "pointer", "pointer", "values", "values", "clear", "clear", "allocateOut", "new_out", "allocateInOut", "new_inout", "size", "size", "size", "size", "offsets", "offsets", "offsets", "offsets", "set_layout", "layout=", "members", "members", "members", "members", "getLayout", "cspec", "initialize_copy", "initialize_copy", "setFieldValue", "[]=", "initialize", "initialize", "alignment", "alignment", "alignment", "alignment", "null_p", "null?", "allocateIn", "new_in", "order", "order");
}
static {
}
}