public class com.oracle.truffle.llvm.tests.interop.PyObjectTest extends com.oracle.truffle.llvm.tests.interop.InteropTestBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.interop.PyObjectTest
super_class: com.oracle.truffle.llvm.tests.interop.InteropTestBase
{
private static org.graalvm.polyglot.Value getPyObjectImplicitType;
descriptor: Lorg/graalvm/polyglot/Value;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static org.graalvm.polyglot.Value getPyObjectExplicitType;
descriptor: Lorg/graalvm/polyglot/Value;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static org.graalvm.polyglot.Value freePyObject;
descriptor: Lorg/graalvm/polyglot/Value;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.InteropTestBase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;
public static void loadTestBitcode();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "pyobject.c"
invokestatic com.oracle.truffle.llvm.tests.interop.PyObjectTest.loadTestBitcodeValue:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 0
start local 0 1: aload 0
ldc "getPyObjectImplicitType"
invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
putstatic com.oracle.truffle.llvm.tests.interop.PyObjectTest.getPyObjectImplicitType:Lorg/graalvm/polyglot/Value;
2: aload 0
ldc "getPyObjectExplicitType"
invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
putstatic com.oracle.truffle.llvm.tests.interop.PyObjectTest.getPyObjectExplicitType:Lorg/graalvm/polyglot/Value;
3: aload 0
ldc "freePyObject"
invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
putstatic com.oracle.truffle.llvm.tests.interop.PyObjectTest.freePyObject:Lorg/graalvm/polyglot/Value;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 testLibrary Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.BeforeClass()
public void testImplicitType();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.PyObjectTest.getPyObjectImplicitType:Lorg/graalvm/polyglot/Value;
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: aload 1
new com.oracle.truffle.llvm.tests.interop.PyObjectTest$MemberMatcher
dup
aload 0
ldc "ob_refcnt"
new com.oracle.truffle.llvm.tests.interop.PyObjectTest$IntMatcher
dup
aload 0
iconst_1
invokespecial com.oracle.truffle.llvm.tests.interop.PyObjectTest$IntMatcher.<init>:(Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;I)V
invokespecial com.oracle.truffle.llvm.tests.interop.PyObjectTest$MemberMatcher.<init>:(Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;Ljava/lang/String;Lorg/hamcrest/TypeSafeMatcher;)V
invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
2: aload 1
new com.oracle.truffle.llvm.tests.interop.PyObjectTest$NotExistingMatcher
dup
aload 0
ldc "base"
invokespecial com.oracle.truffle.llvm.tests.interop.PyObjectTest$NotExistingMatcher.<init>:(Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;Ljava/lang/String;)V
invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
3: aload 1
new com.oracle.truffle.llvm.tests.interop.PyObjectTest$NotExistingMatcher
dup
aload 0
ldc "flags"
invokespecial com.oracle.truffle.llvm.tests.interop.PyObjectTest$NotExistingMatcher.<init>:(Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;Ljava/lang/String;)V
invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
4: getstatic com.oracle.truffle.llvm.tests.interop.PyObjectTest.freePyObject:Lorg/graalvm/polyglot/Value;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;
1 6 1 obj Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testExplicitType();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=2, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.PyObjectTest.getPyObjectExplicitType:Lorg/graalvm/polyglot/Value;
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: aload 1
new com.oracle.truffle.llvm.tests.interop.PyObjectTest$NotExistingMatcher
dup
aload 0
ldc "ob_refcnt"
invokespecial com.oracle.truffle.llvm.tests.interop.PyObjectTest$NotExistingMatcher.<init>:(Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;Ljava/lang/String;)V
invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
2: aload 1
new com.oracle.truffle.llvm.tests.interop.PyObjectTest$MemberMatcher
dup
aload 0
ldc "base"
new com.oracle.truffle.llvm.tests.interop.PyObjectTest$MemberMatcher
dup
aload 0
ldc "ob_refcnt"
new com.oracle.truffle.llvm.tests.interop.PyObjectTest$IntMatcher
dup
aload 0
iconst_1
invokespecial com.oracle.truffle.llvm.tests.interop.PyObjectTest$IntMatcher.<init>:(Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;I)V
invokespecial com.oracle.truffle.llvm.tests.interop.PyObjectTest$MemberMatcher.<init>:(Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;Ljava/lang/String;Lorg/hamcrest/TypeSafeMatcher;)V
invokespecial com.oracle.truffle.llvm.tests.interop.PyObjectTest$MemberMatcher.<init>:(Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;Ljava/lang/String;Lorg/hamcrest/TypeSafeMatcher;)V
invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
3: aload 1
new com.oracle.truffle.llvm.tests.interop.PyObjectTest$MemberMatcher
dup
aload 0
ldc "flags"
new com.oracle.truffle.llvm.tests.interop.PyObjectTest$IntMatcher
dup
aload 0
bipush 42
invokespecial com.oracle.truffle.llvm.tests.interop.PyObjectTest$IntMatcher.<init>:(Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;I)V
invokespecial com.oracle.truffle.llvm.tests.interop.PyObjectTest$MemberMatcher.<init>:(Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;Ljava/lang/String;Lorg/hamcrest/TypeSafeMatcher;)V
invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
4: getstatic com.oracle.truffle.llvm.tests.interop.PyObjectTest.freePyObject:Lorg/graalvm/polyglot/Value;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/llvm/tests/interop/PyObjectTest;
1 6 1 obj Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
}
SourceFile: "PyObjectTest.java"
NestMembers:
com.oracle.truffle.llvm.tests.interop.PyObjectTest$IntMatcher com.oracle.truffle.llvm.tests.interop.PyObjectTest$MemberMatcher com.oracle.truffle.llvm.tests.interop.PyObjectTest$NotExistingMatcher
InnerClasses:
final IntMatcher = com.oracle.truffle.llvm.tests.interop.PyObjectTest$IntMatcher of com.oracle.truffle.llvm.tests.interop.PyObjectTest
final MemberMatcher = com.oracle.truffle.llvm.tests.interop.PyObjectTest$MemberMatcher of com.oracle.truffle.llvm.tests.interop.PyObjectTest
final NotExistingMatcher = com.oracle.truffle.llvm.tests.interop.PyObjectTest$NotExistingMatcher of com.oracle.truffle.llvm.tests.interop.PyObjectTest