public class com.oracle.truffle.llvm.tests.interop.values.TestCallback implements com.oracle.truffle.api.interop.TruffleObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.interop.values.TestCallback
super_class: java.lang.Object
{
private final int arity;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.llvm.tests.interop.values.TestCallback$Function function;
descriptor: Lcom/oracle/truffle/llvm/tests/interop/values/TestCallback$Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(int, com.oracle.truffle.llvm.tests.interop.values.TestCallback$Function);
descriptor: (ILcom/oracle/truffle/llvm/tests/interop/values/TestCallback$Function;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield com.oracle.truffle.llvm.tests.interop.values.TestCallback.arity:I
2: aload 0
aload 2
putfield com.oracle.truffle.llvm.tests.interop.values.TestCallback.function:Lcom/oracle/truffle/llvm/tests/interop/values/TestCallback$Function;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/llvm/tests/interop/values/TestCallback;
0 4 1 arity I
0 4 2 function Lcom/oracle/truffle/llvm/tests/interop/values/TestCallback$Function;
MethodParameters:
Name Flags
arity
function
java.lang.Object call(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0080) ACC_VARARGS
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.TestCallback.arity:I
if_icmpne 3
1: aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.TestCallback.function:Lcom/oracle/truffle/llvm/tests/interop/values/TestCallback$Function;
aload 1
invokeinterface com.oracle.truffle.llvm.tests.interop.values.TestCallback$Function.call:([Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 2: aload 2
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.TestCallback.arity:I
aload 1
arraylength
invokestatic com.oracle.truffle.api.interop.ArityException.create:(II)Lcom/oracle/truffle/api/interop/ArityException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/llvm/tests/interop/values/TestCallback;
0 4 1 args [Ljava/lang/Object;
2 3 2 ret Ljava/lang/Object;
Exceptions:
throws com.oracle.truffle.api.interop.ArityException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
args
boolean isExecutable();
descriptor: ()Z
flags: (0x0000)
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 Lcom/oracle/truffle/llvm/tests/interop/values/TestCallback;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Object execute(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.tests.interop.values.TestCallback.call:([Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 2
new com.oracle.truffle.llvm.tests.interop.values.NullValue
dup
invokespecial com.oracle.truffle.llvm.tests.interop.values.NullValue.<init>:()V
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/llvm/tests/interop/values/TestCallback;
0 4 1 arguments [Ljava/lang/Object;
1 4 2 res Ljava/lang/Object;
Exceptions:
throws com.oracle.truffle.api.interop.ArityException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
arguments
}
SourceFile: "TestCallback.java"
NestMembers:
com.oracle.truffle.llvm.tests.interop.values.TestCallback$Function
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public abstract Function = com.oracle.truffle.llvm.tests.interop.values.TestCallback$Function of com.oracle.truffle.llvm.tests.interop.values.TestCallback
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;)