public class com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode extends com.oracle.truffle.nfi.test.NFITest$NFITestRootNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode
super_class: com.oracle.truffle.nfi.test.NFITest$NFITestRootNode
{
final java.lang.Object stringRetConst;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
final java.lang.Object nativeStringCallback;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
com.oracle.truffle.api.interop.InteropLibrary stringRetConstInterop;
descriptor: Lcom/oracle/truffle/api/interop/InteropLibrary;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
com.oracle.truffle.api.interop.InteropLibrary nativeStringCallbackInterop;
descriptor: Lcom/oracle/truffle/api/interop/InteropLibrary;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
final com.oracle.truffle.nfi.test.StringNFITest this$0;
descriptor: Lcom/oracle/truffle/nfi/test/StringNFITest;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(com.oracle.truffle.nfi.test.StringNFITest);
descriptor: (Lcom/oracle/truffle/nfi/test/StringNFITest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 // com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode this
0: .line 207
aload 0 /* this */
aload 1
putfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.this$0:Lcom/oracle/truffle/nfi/test/StringNFITest;
aload 0 /* this */
invokespecial com.oracle.truffle.nfi.test.NFITest$NFITestRootNode.<init>:()V
1: .line 209
aload 0 /* this */
ldc "string_ret_const"
ldc "():string"
invokestatic com.oracle.truffle.nfi.test.StringNFITest.lookupAndBind:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
putfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.stringRetConst:Ljava/lang/Object;
2: .line 210
aload 0 /* this */
ldc "native_string_callback"
ldc "(():string) : string"
invokestatic com.oracle.truffle.nfi.test.StringNFITest.lookupAndBind:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
putfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.nativeStringCallback:Ljava/lang/Object;
3: .line 212
aload 0 /* this */
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.stringRetConst:Ljava/lang/Object;
invokestatic com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.getInterop:(Ljava/lang/Object;)Lcom/oracle/truffle/api/interop/InteropLibrary;
putfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.stringRetConstInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
4: .line 213
aload 0 /* this */
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.nativeStringCallback:Ljava/lang/Object;
invokestatic com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.getInterop:(Ljava/lang/Object;)Lcom/oracle/truffle/api/interop/InteropLibrary;
putfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.nativeStringCallbackInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
5: .line 207
return
end local 0 // com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/nfi/test/StringNFITest$NativeStringCallbackNode;
MethodParameters:
Name Flags
this$0 final
public java.lang.Object executeTest(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 // com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode this
start local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
0: .line 217
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.this$0:Lcom/oracle/truffle/nfi/test/StringNFITest;
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.stringRetConstInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.stringRetConst:Ljava/lang/Object;
iconst_0
anewarray java.lang.Object
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.execute:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
putfield com.oracle.truffle.nfi.test.StringNFITest.callbackRet:Ljava/lang/Object;
1: .line 218
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.nativeStringCallbackInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.nativeStringCallback:Ljava/lang/Object;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode.this$0:Lcom/oracle/truffle/nfi/test/StringNFITest;
getfield com.oracle.truffle.nfi.test.StringNFITest.strRetCallback:Ljava/lang/Object;
aastore
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.execute:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
end local 0 // com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/nfi/test/StringNFITest$NativeStringCallbackNode;
0 2 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
Exceptions:
throws com.oracle.truffle.api.interop.InteropException
MethodParameters:
Name Flags
frame
}
SourceFile: "StringNFITest.java"
NestHost: com.oracle.truffle.nfi.test.StringNFITest
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
protected abstract NFITestRootNode = com.oracle.truffle.nfi.test.NFITest$NFITestRootNode of com.oracle.truffle.nfi.test.NFITest
public NativeStringCallbackNode = com.oracle.truffle.nfi.test.StringNFITest$NativeStringCallbackNode of com.oracle.truffle.nfi.test.StringNFITest