final class org.jruby.ext.ffi.MemoryOp$StructOp extends org.jruby.ext.ffi.MemoryOp
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.ext.ffi.MemoryOp$StructOp
super_class: org.jruby.ext.ffi.MemoryOp
{
private final org.jruby.RubyClass structClass;
descriptor: Lorg/jruby/RubyClass;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.RubyClass);
descriptor: (Lorg/jruby/RubyClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.jruby.ext.ffi.MemoryOp.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ext.ffi.MemoryOp$StructOp.structClass:Lorg/jruby/RubyClass;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/ffi/MemoryOp$StructOp;
0 3 1 structClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
structClass
org.jruby.runtime.builtin.IRubyObject get(org.jruby.runtime.ThreadContext, org.jruby.ext.ffi.MemoryIO, long);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/ffi/MemoryIO;J)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0000)
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.UnsupportedOperationException
dup
ldc "Not supported yet."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/ffi/MemoryOp$StructOp;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 io Lorg/jruby/ext/ffi/MemoryIO;
0 1 3 offset J
MethodParameters:
Name Flags
context
io
offset
void put(org.jruby.runtime.ThreadContext, org.jruby.ext.ffi.MemoryIO, long, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/ffi/MemoryIO;JLorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: new java.lang.UnsupportedOperationException
dup
ldc "Not supported yet."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/ffi/MemoryOp$StructOp;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 io Lorg/jruby/ext/ffi/MemoryIO;
0 1 3 offset J
0 1 5 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
io
offset
value
org.jruby.runtime.builtin.IRubyObject get(org.jruby.runtime.ThreadContext, org.jruby.ext.ffi.AbstractMemory, long);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/ffi/AbstractMemory;J)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0000)
Code:
stack=9, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.ext.ffi.MemoryOp$StructOp.structClass:Lorg/jruby/RubyClass;
aload 1
1: iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
lload 3
invokevirtual org.jruby.ext.ffi.AbstractMemory.slice:(Lorg/jruby/Ruby;J)Lorg/jruby/ext/ffi/AbstractMemory;
aastore
2: getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
3: invokevirtual org.jruby.RubyClass.newInstance:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/ffi/MemoryOp$StructOp;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 ptr Lorg/jruby/ext/ffi/AbstractMemory;
0 4 3 offset J
MethodParameters:
Name Flags
context
ptr
offset
void put(org.jruby.runtime.ThreadContext, org.jruby.ext.ffi.AbstractMemory, long, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/ffi/AbstractMemory;JLorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0000)
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 5
instanceof org.jruby.ext.ffi.Struct
ifne 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "expected a struct"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 5
checkcast org.jruby.ext.ffi.Struct
astore 6
start local 6 3: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 6
invokestatic org.jruby.ext.ffi.Struct.getStructSize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)I
newarray 8
astore 7
start local 7 4: aload 6
invokevirtual org.jruby.ext.ffi.Struct.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
lconst_0
aload 7
iconst_0
aload 7
arraylength
invokevirtual org.jruby.ext.ffi.MemoryIO.get:(J[BII)V
5: aload 2
invokevirtual org.jruby.ext.ffi.AbstractMemory.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
lload 3
aload 7
iconst_0
aload 7
arraylength
invokevirtual org.jruby.ext.ffi.MemoryIO.put:(J[BII)V
6: return
end local 7 end local 6 end local 5 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/MemoryOp$StructOp;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 ptr Lorg/jruby/ext/ffi/AbstractMemory;
0 7 3 offset J
0 7 5 value Lorg/jruby/runtime/builtin/IRubyObject;
3 7 6 s Lorg/jruby/ext/ffi/Struct;
4 7 7 tmp [B
MethodParameters:
Name Flags
context
ptr
offset
value
}
SourceFile: "MemoryOp.java"
NestHost: org.jruby.ext.ffi.MemoryOp
InnerClasses:
final StructOp = org.jruby.ext.ffi.MemoryOp$StructOp of org.jruby.ext.ffi.MemoryOp