final class org.jruby.ext.ffi.StructLayout$FunctionFieldIO implements org.jruby.ext.ffi.StructLayout$FieldIO
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.ext.ffi.StructLayout$FunctionFieldIO
super_class: java.lang.Object
{
public static final org.jruby.ext.ffi.StructLayout$FieldIO INSTANCE;
descriptor: Lorg/jruby/ext/ffi/StructLayout$FieldIO;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jruby.ext.ffi.StructLayout$FunctionFieldIO
dup
invokespecial org.jruby.ext.ffi.StructLayout$FunctionFieldIO.<init>:()V
putstatic org.jruby.ext.ffi.StructLayout$FunctionFieldIO.INSTANCE:Lorg/jruby/ext/ffi/StructLayout$FieldIO;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/ffi/StructLayout$FunctionFieldIO;
public void put(org.jruby.runtime.ThreadContext, org.jruby.ext.ffi.StructLayout$Storage, org.jruby.ext.ffi.StructLayout$Member, org.jruby.ext.ffi.AbstractMemory, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/ffi/StructLayout$Storage;Lorg/jruby/ext/ffi/StructLayout$Member;Lorg/jruby/ext/ffi/AbstractMemory;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 4
1: aload 4
invokevirtual org.jruby.ext.ffi.AbstractMemory.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
aload 3
aload 4
invokevirtual org.jruby.ext.ffi.StructLayout$Member.getOffset:(Lorg/jruby/runtime/builtin/IRubyObject;)J
lconst_0
invokevirtual org.jruby.ext.ffi.MemoryIO.putAddress:(JJ)V
2: aload 2
aload 3
aload 5
invokeinterface org.jruby.ext.ffi.StructLayout$Storage.putReference:(Lorg/jruby/ext/ffi/StructLayout$Member;Ljava/lang/Object;)V
3: goto 7
4: StackMap locals:
StackMap stack:
invokestatic org.jruby.ext.ffi.Factory.getInstance:()Lorg/jruby/ext/ffi/Factory;
invokevirtual org.jruby.ext.ffi.Factory.getCallbackManager:()Lorg/jruby/ext/ffi/CallbackManager;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
getfield org.jruby.ext.ffi.StructLayout$Member.type:Lorg/jruby/ext/ffi/Type;
checkcast org.jruby.ext.ffi.CallbackInfo
aload 5
invokevirtual org.jruby.ext.ffi.CallbackManager.getCallback:(Lorg/jruby/Ruby;Lorg/jruby/ext/ffi/CallbackInfo;Ljava/lang/Object;)Lorg/jruby/ext/ffi/Pointer;
astore 6
start local 6 5: aload 4
invokevirtual org.jruby.ext.ffi.AbstractMemory.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
aload 3
aload 4
invokevirtual org.jruby.ext.ffi.StructLayout$Member.getOffset:(Lorg/jruby/runtime/builtin/IRubyObject;)J
aload 6
invokevirtual org.jruby.ext.ffi.Pointer.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
invokevirtual org.jruby.ext.ffi.MemoryIO.putMemoryIO:(JLorg/jruby/ext/ffi/MemoryIO;)V
6: aload 2
aload 3
aload 6
invokeinterface org.jruby.ext.ffi.StructLayout$Storage.putReference:(Lorg/jruby/ext/ffi/StructLayout$Member;Ljava/lang/Object;)V
end local 6 7: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/ext/ffi/StructLayout$FunctionFieldIO;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 cache Lorg/jruby/ext/ffi/StructLayout$Storage;
0 8 3 m Lorg/jruby/ext/ffi/StructLayout$Member;
0 8 4 ptr Lorg/jruby/ext/ffi/AbstractMemory;
0 8 5 value Lorg/jruby/runtime/builtin/IRubyObject;
5 7 6 cb Lorg/jruby/ext/ffi/Pointer;
MethodParameters:
Name Flags
context
cache
m
ptr
value
public org.jruby.runtime.builtin.IRubyObject get(org.jruby.runtime.ThreadContext, org.jruby.ext.ffi.StructLayout$Storage, org.jruby.ext.ffi.StructLayout$Member, org.jruby.ext.ffi.AbstractMemory);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/ffi/StructLayout$Storage;Lorg/jruby/ext/ffi/StructLayout$Member;Lorg/jruby/ext/ffi/AbstractMemory;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
checkcast org.jruby.ext.ffi.Pointer
invokevirtual org.jruby.ext.ffi.Pointer.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
aload 3
aload 4
invokevirtual org.jruby.ext.ffi.StructLayout$Member.getOffset:(Lorg/jruby/runtime/builtin/IRubyObject;)J
invokevirtual org.jruby.ext.ffi.MemoryIO.getAddress:(J)J
lstore 5
start local 5 1: aload 2
aload 3
invokeinterface org.jruby.ext.ffi.StructLayout$Storage.getCachedValue:(Lorg/jruby/ext/ffi/StructLayout$Member;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.ext.ffi.AbstractInvoker
astore 7
start local 7 2: aload 7
ifnull 4
aload 7
invokevirtual org.jruby.ext.ffi.AbstractInvoker.getAddress:()J
lload 5
lcmp
ifne 4
3: aload 7
areturn
4: StackMap locals: long org.jruby.ext.ffi.AbstractInvoker
StackMap stack:
invokestatic org.jruby.ext.ffi.Factory.getInstance:()Lorg/jruby/ext/ffi/Factory;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
5: aload 4
checkcast org.jruby.ext.ffi.Pointer
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
aload 4
invokevirtual org.jruby.ext.ffi.StructLayout$Member.getOffset:(Lorg/jruby/runtime/builtin/IRubyObject;)J
invokevirtual org.jruby.ext.ffi.Pointer.getPointer:(Lorg/jruby/Ruby;J)Lorg/jruby/ext/ffi/Pointer;
aload 3
getfield org.jruby.ext.ffi.StructLayout$Member.type:Lorg/jruby/ext/ffi/Type;
checkcast org.jruby.ext.ffi.CallbackInfo
6: invokevirtual org.jruby.ext.ffi.Factory.newFunction:(Lorg/jruby/Ruby;Lorg/jruby/ext/ffi/Pointer;Lorg/jruby/ext/ffi/CallbackInfo;)Lorg/jruby/ext/ffi/AbstractInvoker;
astore 7
7: aload 2
aload 3
aload 7
invokeinterface org.jruby.ext.ffi.StructLayout$Storage.putCachedValue:(Lorg/jruby/ext/ffi/StructLayout$Member;Lorg/jruby/runtime/builtin/IRubyObject;)V
8: aload 7
areturn
end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/ext/ffi/StructLayout$FunctionFieldIO;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 cache Lorg/jruby/ext/ffi/StructLayout$Storage;
0 9 3 m Lorg/jruby/ext/ffi/StructLayout$Member;
0 9 4 ptr Lorg/jruby/ext/ffi/AbstractMemory;
1 9 5 address J
2 9 7 fptr Lorg/jruby/ext/ffi/AbstractInvoker;
MethodParameters:
Name Flags
context
cache
m
ptr
public final boolean isCacheable();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/ffi/StructLayout$FunctionFieldIO;
public final boolean isValueReferenceNeeded();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/ffi/StructLayout$FunctionFieldIO;
}
SourceFile: "StructLayout.java"
NestHost: org.jruby.ext.ffi.StructLayout
InnerClasses:
abstract FieldIO = org.jruby.ext.ffi.StructLayout$FieldIO of org.jruby.ext.ffi.StructLayout
final FunctionFieldIO = org.jruby.ext.ffi.StructLayout$FunctionFieldIO of org.jruby.ext.ffi.StructLayout
public final Member = org.jruby.ext.ffi.StructLayout$Member of org.jruby.ext.ffi.StructLayout
public abstract Storage = org.jruby.ext.ffi.StructLayout$Storage of org.jruby.ext.ffi.StructLayout