public class com.oracle.truffle.sl.test.SLInteropObjectTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.truffle.sl.test.SLInteropObjectTest
  super_class: java.lang.Object
{
  private org.graalvm.polyglot.Context context;
    descriptor: Lorg/graalvm/polyglot/Context;
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLInteropObjectTest this
         0: .line 53
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.oracle.truffle.sl.test.SLInteropObjectTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/sl/test/SLInteropObjectTest;

  public void setUp();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLInteropObjectTest this
         0: .line 58
            aload 0 /* this */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            putfield com.oracle.truffle.sl.test.SLInteropObjectTest.context:Lorg/graalvm/polyglot/Context;
         1: .line 59
            return
        end local 0 // com.oracle.truffle.sl.test.SLInteropObjectTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/sl/test/SLInteropObjectTest;
    RuntimeVisibleAnnotations: 
      org.junit.Before()

  public void tearDown();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLInteropObjectTest this
         0: .line 63
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLInteropObjectTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
         1: .line 64
            aload 0 /* this */
            aconst_null
            putfield com.oracle.truffle.sl.test.SLInteropObjectTest.context:Lorg/graalvm/polyglot/Context;
         2: .line 65
            return
        end local 0 // com.oracle.truffle.sl.test.SLInteropObjectTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/sl/test/SLInteropObjectTest;
    RuntimeVisibleAnnotations: 
      org.junit.After()

  public void testObject();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLInteropObjectTest this
         0: .line 69
            ldc "sl"
            ldc "function main() {o = new(); o.a = 10; o.b = \"B\"; return o;}"
            ldc "testObject.sl"
            invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
            invokevirtual org.graalvm.polyglot.Source$Builder.buildLiteral:()Lorg/graalvm/polyglot/Source;
            astore 1 /* src */
        start local 1 // org.graalvm.polyglot.Source src
         1: .line 70
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLInteropObjectTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* src */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            astore 2 /* obj */
        start local 2 // org.graalvm.polyglot.Value obj
         2: .line 71
            aload 2 /* obj */
            invokevirtual org.graalvm.polyglot.Value.hasMembers:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         3: .line 73
            aload 2 /* obj */
            ldc "a"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            astore 3 /* a */
        start local 3 // org.graalvm.polyglot.Value a
         4: .line 74
            aload 3 /* a */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         5: .line 75
            aload 3 /* a */
            invokevirtual org.graalvm.polyglot.Value.isNumber:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         6: .line 76
            ldc 10
            aload 3 /* a */
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         7: .line 78
            aload 2 /* obj */
            ldc "b"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            astore 4 /* b */
        start local 4 // org.graalvm.polyglot.Value b
         8: .line 79
            aload 4 /* b */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         9: .line 80
            aload 4 /* b */
            invokevirtual org.graalvm.polyglot.Value.isString:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        10: .line 81
            ldc "B"
            aload 4 /* b */
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        11: .line 83
            aload 2 /* obj */
            ldc "a"
            aload 4 /* b */
            invokevirtual org.graalvm.polyglot.Value.putMember:(Ljava/lang/String;Ljava/lang/Object;)V
        12: .line 84
            aload 2 /* obj */
            ldc "a"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            astore 3 /* a */
        13: .line 85
            aload 3 /* a */
            invokevirtual org.graalvm.polyglot.Value.isString:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        14: .line 86
            ldc "B"
            aload 3 /* a */
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 88
            aload 2 /* obj */
            ldc "a"
            invokevirtual org.graalvm.polyglot.Value.removeMember:(Ljava/lang/String;)Z
            pop
        16: .line 89
            aload 2 /* obj */
            ldc "a"
            invokevirtual org.graalvm.polyglot.Value.hasMember:(Ljava/lang/String;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        17: .line 91
            ldc "[b]"
            aload 2 /* obj */
            invokevirtual org.graalvm.polyglot.Value.getMemberKeys:()Ljava/util/Set;
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        18: .line 92
            return
        end local 4 // org.graalvm.polyglot.Value b
        end local 3 // org.graalvm.polyglot.Value a
        end local 2 // org.graalvm.polyglot.Value obj
        end local 1 // org.graalvm.polyglot.Source src
        end local 0 // com.oracle.truffle.sl.test.SLInteropObjectTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   19     0  this  Lcom/oracle/truffle/sl/test/SLInteropObjectTest;
            1   19     1   src  Lorg/graalvm/polyglot/Source;
            2   19     2   obj  Lorg/graalvm/polyglot/Value;
            4   19     3     a  Lorg/graalvm/polyglot/Value;
            8   19     4     b  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testNewForeign();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLInteropObjectTest this
         0: .line 96
            ldc "sl"
            ldc "function getValue(type) {o = new(type); o.a = 10; return o.value;}"
            ldc "testObject.sl"
            invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
            invokevirtual org.graalvm.polyglot.Source$Builder.buildLiteral:()Lorg/graalvm/polyglot/Source;
            astore 1 /* src */
        start local 1 // org.graalvm.polyglot.Source src
         1: .line 97
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLInteropObjectTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* src */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         2: .line 98
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLInteropObjectTest.context:Lorg/graalvm/polyglot/Context;
            ldc "sl"
            invokevirtual org.graalvm.polyglot.Context.getBindings:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            ldc "getValue"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            astore 2 /* getValue */
        start local 2 // org.graalvm.polyglot.Value getValue
         3: .line 99
            aload 2 /* getValue */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            new com.oracle.truffle.sl.test.SLInteropObjectTest$TestType
            dup
            invokespecial com.oracle.truffle.sl.test.SLInteropObjectTest$TestType.<init>:()V
            aastore
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 3 /* ret */
        start local 3 // org.graalvm.polyglot.Value ret
         4: .line 100
            ldc 20
            aload 3 /* ret */
            invokevirtual org.graalvm.polyglot.Value.asLong:()J
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         5: .line 101
            return
        end local 3 // org.graalvm.polyglot.Value ret
        end local 2 // org.graalvm.polyglot.Value getValue
        end local 1 // org.graalvm.polyglot.Source src
        end local 0 // com.oracle.truffle.sl.test.SLInteropObjectTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lcom/oracle/truffle/sl/test/SLInteropObjectTest;
            1    6     1       src  Lorg/graalvm/polyglot/Source;
            3    6     2  getValue  Lorg/graalvm/polyglot/Value;
            4    6     3       ret  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()
}
SourceFile: "SLInteropObjectTest.java"
NestMembers:
  com.oracle.truffle.sl.test.SLInteropObjectTest$TestObject  com.oracle.truffle.sl.test.SLInteropObjectTest$TestType
InnerClasses:
  private TestObject = com.oracle.truffle.sl.test.SLInteropObjectTest$TestObject of com.oracle.truffle.sl.test.SLInteropObjectTest
  private TestType = com.oracle.truffle.sl.test.SLInteropObjectTest$TestType of com.oracle.truffle.sl.test.SLInteropObjectTest
  public Builder = org.graalvm.polyglot.Source$Builder of org.graalvm.polyglot.Source