public final class com.oracle.truffle.llvm.tests.interop.values.LongArrayObject implements com.oracle.truffle.api.interop.TruffleObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.interop.values.LongArrayObject
super_class: java.lang.Object
{
final long[] array;
descriptor: [J
flags: (0x0010) ACC_FINAL
final java.lang.Object type;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
public void <init>(java.lang.Object, long[]);
descriptor: (Ljava/lang/Object;[J)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
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
aload 2
putfield com.oracle.truffle.llvm.tests.interop.values.LongArrayObject.array:[J
2: aload 0
aload 1
putfield com.oracle.truffle.llvm.tests.interop.values.LongArrayObject.type:Ljava/lang/Object;
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/LongArrayObject;
0 4 1 type Ljava/lang/Object;
0 4 2 array [J
MethodParameters:
Name Flags
type
array
boolean hasNativeType();
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/LongArrayObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Object getNativeType();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.LongArrayObject.type:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/values/LongArrayObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
boolean hasArrayElements();
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/LongArrayObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
long getArraySize();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.LongArrayObject.array:[J
arraylength
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/values/LongArrayObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
boolean hasArrayElement(long);
descriptor: (J)Z
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.LongArrayObject.array:[J
arraylength
i2l
invokestatic java.lang.Long.compareUnsigned:(JJ)I
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/tests/interop/values/LongArrayObject;
0 2 1 idx J
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage$Repeat(value = {com.oracle.truffle.api.library.ExportMessage(name = "isArrayElementReadable"), com.oracle.truffle.api.library.ExportMessage(name = "isArrayElementModifiable")})
MethodParameters:
Name Flags
idx
boolean isArrayElementInsertable(long);
descriptor: (J)Z
flags: (0x0000)
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/values/LongArrayObject;
0 1 1 idx J
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
idx
long readArrayElement(long);
descriptor: (J)J
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual com.oracle.truffle.llvm.tests.interop.values.LongArrayObject.hasArrayElement:(J)Z
ifne 2
1: lload 1
invokestatic com.oracle.truffle.api.interop.InvalidArrayIndexException.create:(J)Lcom/oracle/truffle/api/interop/InvalidArrayIndexException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.LongArrayObject.array:[J
lload 1
l2i
laload
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/tests/interop/values/LongArrayObject;
0 3 1 idx J
Exceptions:
throws com.oracle.truffle.api.interop.InvalidArrayIndexException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
idx
void writeArrayElement(long, java.lang.Object, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (JLjava/lang/Object;Lcom/oracle/truffle/api/interop/InteropLibrary;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
lload 1
invokevirtual com.oracle.truffle.llvm.tests.interop.values.LongArrayObject.hasArrayElement:(J)Z
ifne 2
1: lload 1
invokestatic com.oracle.truffle.api.interop.InvalidArrayIndexException.create:(J)Lcom/oracle/truffle/api/interop/InvalidArrayIndexException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.LongArrayObject.array:[J
lload 1
l2i
aload 4
aload 3
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.asLong:(Ljava/lang/Object;)J
lastore
3: goto 7
StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.UnsupportedMessageException
4: pop
5: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
6: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokestatic com.oracle.truffle.api.interop.UnsupportedTypeException.create:([Ljava/lang/Object;)Lcom/oracle/truffle/api/interop/UnsupportedTypeException;
athrow
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/llvm/tests/interop/values/LongArrayObject;
0 8 1 idx J
0 8 3 value Ljava/lang/Object;
0 8 4 interop Lcom/oracle/truffle/api/interop/InteropLibrary;
Exception table:
from to target type
2 3 4 Class com.oracle.truffle.api.interop.UnsupportedMessageException
Exceptions:
throws com.oracle.truffle.api.interop.UnsupportedTypeException, com.oracle.truffle.api.interop.InvalidArrayIndexException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage(limit = "3")
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.library.CachedLibrary(value = "value")
MethodParameters:
Name Flags
idx
value
interop
}
SourceFile: "LongArrayObject.java"
InnerClasses:
public abstract Repeat = com.oracle.truffle.api.library.ExportLibrary$Repeat of com.oracle.truffle.api.library.ExportLibrary
public abstract Repeat = com.oracle.truffle.api.library.ExportMessage$Repeat of com.oracle.truffle.api.library.ExportMessage
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportLibrary$Repeat(value = {com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/llvm/spi/NativeTypeLibrary;), com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;)})