public final class org.jruby.ext.ffi.StructLayout$ArrayField extends org.jruby.ext.ffi.StructLayout$Field
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jruby.ext.ffi.StructLayout$ArrayField
super_class: org.jruby.ext.ffi.StructLayout$Field
{
public void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic org.jruby.ext.ffi.StructLayout$DefaultFieldIO.INSTANCE:Lorg/jruby/ext/ffi/StructLayout$FieldIO;
invokespecial org.jruby.ext.ffi.StructLayout$Field.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/ext/ffi/StructLayout$FieldIO;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/ffi/StructLayout$ArrayField;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 klass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
klass
public final org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_2
aaload
astore 3
start local 3 1: aload 3
instanceof org.jruby.ext.ffi.Type$Array
ifne 5
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
3: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "FFI"
invokevirtual org.jruby.Ruby.getModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
ldc "Type"
invokevirtual org.jruby.RubyModule.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
ldc "Array"
invokevirtual org.jruby.RubyClass.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
4: invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
athrow
5: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 2
new org.jruby.ext.ffi.StructLayout$ArrayFieldIO
dup
aload 3
checkcast org.jruby.ext.ffi.Type$Array
invokespecial org.jruby.ext.ffi.StructLayout$ArrayFieldIO.<init>:(Lorg/jruby/ext/ffi/Type$Array;)V
invokevirtual org.jruby.ext.ffi.StructLayout$ArrayField.init:([Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/ext/ffi/StructLayout$FieldIO;)V
6: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ext/ffi/StructLayout$ArrayField;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 7 3 type Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize"}, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;, required = 3, optional = 1)
MethodParameters:
Name Flags
context
args
}
SourceFile: "StructLayout.java"
NestHost: org.jruby.ext.ffi.StructLayout
InnerClasses:
public final ArrayField = org.jruby.ext.ffi.StructLayout$ArrayField of org.jruby.ext.ffi.StructLayout
final ArrayFieldIO = org.jruby.ext.ffi.StructLayout$ArrayFieldIO of org.jruby.ext.ffi.StructLayout
final DefaultFieldIO = org.jruby.ext.ffi.StructLayout$DefaultFieldIO of org.jruby.ext.ffi.StructLayout
public Field = org.jruby.ext.ffi.StructLayout$Field of org.jruby.ext.ffi.StructLayout
abstract FieldIO = org.jruby.ext.ffi.StructLayout$FieldIO of org.jruby.ext.ffi.StructLayout
public final Array = org.jruby.ext.ffi.Type$Array of org.jruby.ext.ffi.Type
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"FFI::StructLayout::Array"}, parent = "FFI::StructLayout::Field")