public class com.oracle.truffle.api.test.polyglot.ValueHostInteropTest extends com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
  super_class: com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest
{
  public static final boolean Java9OrLater;
    descriptor: Z
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  private static final org.graalvm.polyglot.TypeLiteral<java.util.List<java.lang.String>> LIST_STRING;
    descriptor: Lorg/graalvm/polyglot/TypeLiteral;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Lorg/graalvm/polyglot/TypeLiteral<Ljava/util/List<Ljava/lang/String;>;>;

  private static final org.graalvm.polyglot.TypeLiteral<java.util.Map<java.lang.String, java.lang.String>> MAP_STRING_STRING;
    descriptor: Lorg/graalvm/polyglot/TypeLiteral;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Lorg/graalvm/polyglot/TypeLiteral<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 99
            ldc "java.specification.version"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            ldc "1.9"
            invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
            iflt 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.Java9OrLater:Z
         3: .line 373
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$1
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$1.<init>:()V
            putstatic com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.LIST_STRING:Lorg/graalvm/polyglot/TypeLiteral;
         4: .line 746
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$2
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$2.<init>:()V
            putstatic com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.MAP_STRING_STRING:Lorg/graalvm/polyglot/TypeLiteral;
         5: .line 747
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

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

  public void initObjects();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 122
            aload 0 /* this */
            invokevirtual com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.setupEnv:()V
         1: .line 123
            return
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
    RuntimeVisibleAnnotations: 
      org.junit.Before()

  public void testAccessInvisibleAPIVirtualCall();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 127
            getstatic com.oracle.truffle.api.TruffleOptions.AOT:Z
            ifeq 2
         1: .line 128
            return
         2: .line 130
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            ldc Ljava/awt/image/BufferedImage;
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* imageClass */
        start local 1 // org.graalvm.polyglot.Value imageClass
         3: .line 131
            aload 1 /* imageClass */
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            sipush 450
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            sipush 450
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual org.graalvm.polyglot.Value.newInstance:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* image */
        start local 2 // org.graalvm.polyglot.Value image
         4: .line 132
            aload 2 /* image */
            ldc "getGraphics"
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.polyglot.Value.invokeMember:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 3 /* graphics */
        start local 3 // org.graalvm.polyglot.Value graphics
         5: .line 133
            aload 3 /* graphics */
            ldc "setBackground"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            getstatic java.awt.Color.white:Ljava/awt/Color;
            aastore
            invokevirtual org.graalvm.polyglot.Value.invokeMember:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            pop
         6: .line 134
            return
        end local 3 // org.graalvm.polyglot.Value graphics
        end local 2 // org.graalvm.polyglot.Value image
        end local 1 // org.graalvm.polyglot.Value imageClass
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            3    7     1  imageClass  Lorg/graalvm/polyglot/Value;
            4    7     2       image  Lorg/graalvm/polyglot/Value;
            5    7     3    graphics  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testAccessInvisibleAPIDirect();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 138
            getstatic com.oracle.truffle.api.TruffleOptions.AOT:Z
            ifeq 2
         1: .line 139
            return
         2: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            ldc "sun.awt.image.OffScreenImage"
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.lookupHostSymbol:(Ljava/lang/String;)Ljava/lang/Object;
            pop
         3: .line 143
            getstatic com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.Java9OrLater:Z
            ifeq 9
         4: .line 144
            ldc "On >= Java9 sun.awt.image should not be visible."
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
         5: .line 146
            goto 9
      StackMap locals:
      StackMap stack: java.lang.RuntimeException
         6: pop
         7: .line 147
            getstatic com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.Java9OrLater:Z
            ifne 9
         8: .line 148
            ldc "On < Java9 sun.awt.image should be visible."
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
         9: .line 151
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
      Exception table:
        from    to  target  type
           2     5       6  Class java.lang.RuntimeException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRecursiveListMarshalling();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 155
            iconst_1
            anewarray com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            iconst_0
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            aastore
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            astore 1 /* testList */
        start local 1 // java.util.List testList
         1: .line 156
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* testList */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* testListValue */
        start local 2 // org.graalvm.polyglot.Value testListValue
         2: .line 157
            aload 2 /* testListValue */
            invokevirtual org.graalvm.polyglot.Value.isHostObject:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         3: .line 159
            aload 2 /* testListValue */
            lconst_0
            invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
            astore 3 /* data */
        start local 3 // org.graalvm.polyglot.Value data
         4: .line 160
            aload 3 /* data */
            invokevirtual org.graalvm.polyglot.Value.isHostObject:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         5: .line 162
            aload 2 /* testListValue */
            invokestatic com.oracle.truffle.tck.tests.ValueAssert.assertValue:(Lorg/graalvm/polyglot/Value;)V
         6: .line 163
            aload 3 /* data */
            invokestatic com.oracle.truffle.tck.tests.ValueAssert.assertValue:(Lorg/graalvm/polyglot/Value;)V
         7: .line 164
            return
        end local 3 // org.graalvm.polyglot.Value data
        end local 2 // org.graalvm.polyglot.Value testListValue
        end local 1 // java.util.List testList
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    8     0           this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    8     1       testList  Ljava/util/List<Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;>;
            2    8     2  testListValue  Lorg/graalvm/polyglot/Value;
            4    8     3           data  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void conversionToClassNull();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 168
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aconst_null
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.getMetaObject:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         1: .line 169
            return
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void nullAsJavaObject();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 173
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aconst_null
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asHostObject:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         1: .line 174
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aconst_null
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.isHostObject:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 175
            return
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void doubleWrap();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 179
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 1 /* data */
        start local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
         1: .line 180
            aload 1 /* data */
            bipush 32
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.x:I
         2: .line 181
            aload 1 /* data */
            ldc 10.1
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.y:D
         3: .line 182
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* data */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus
            astore 2 /* xyp */
        start local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
         4: .line 183
            ldc "Assume delegated"
            ldc 42.1
            aload 2 /* xyp */
            aload 2 /* xyp */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.x:()I
            i2d
            aload 2 /* xyp */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.y:()D
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.plus:(DD)D
            ldc 0.05
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;DDD)V
         5: .line 184
            return
        end local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
        end local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    6     1  data  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            4    6     2   xyp  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void assertThisIsSame();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 188
            new java.util.concurrent.atomic.AtomicReference
            dup
            iconst_0
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
            astore 1 /* thisCalled */
        start local 1 // java.util.concurrent.atomic.AtomicReference thisCalled
         1: .line 189
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$3
            dup
            aload 0 /* this */
            aload 1 /* thisCalled */
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$3.<init>:(Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;Ljava/util/concurrent/atomic/AtomicReference;)V
            astore 2 /* data */
        start local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
         2: .line 196
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 2 /* data */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus
            astore 3 /* xyp */
        start local 3 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
         3: .line 198
            aload 3 /* xyp */
            aload 2 /* data */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.assertThis:(Ljava/lang/Object;)Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            astore 4 /* anotherThis */
        start local 4 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus anotherThis
         4: .line 199
            aload 1 /* thisCalled */
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast java.lang.Boolean
            invokevirtual java.lang.Boolean.booleanValue:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         5: .line 201
            aload 2 /* data */
            bipush 44
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.x:I
         6: .line 202
            ldc 44
            aload 4 /* anotherThis */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.x:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         7: .line 203
            aload 4 /* anotherThis */
            aload 3 /* xyp */
            invokestatic org.junit.Assert.assertNotSame:(Ljava/lang/Object;Ljava/lang/Object;)V
         8: .line 204
            aload 4 /* anotherThis */
            aload 3 /* xyp */
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         9: .line 205
            aload 4 /* anotherThis */
            invokevirtual java.lang.Object.hashCode:()I
            i2l
            aload 3 /* xyp */
            invokevirtual java.lang.Object.hashCode:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        10: .line 206
            return
        end local 4 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus anotherThis
        end local 3 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
        end local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        end local 1 // java.util.concurrent.atomic.AtomicReference thisCalled
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   11     0         this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   11     1   thisCalled  Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Boolean;>;
            2   11     2         data  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            3   11     3          xyp  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            4   11     4  anotherThis  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void assertKeysAndProperties();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 210
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 1 /* data */
        start local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
         1: .line 211
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* data */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* dataValue */
        start local 2 // org.graalvm.polyglot.Value dataValue
         2: .line 212
            aload 2 /* dataValue */
            invokevirtual org.graalvm.polyglot.Value.getMemberKeys:()Ljava/util/Set;
            bipush 8
            anewarray java.lang.String
            dup
            iconst_0
            ldc "x"
            aastore
            dup
            iconst_1
            ldc "y"
            aastore
            dup
            iconst_2
            ldc "arr"
            aastore
            dup
            iconst_3
            ldc "value"
            aastore
            dup
            iconst_4
            ldc "map"
            aastore
            dup
            iconst_5
            ldc "dataMap"
            aastore
            dup
            bipush 6
            ldc "data"
            aastore
            dup
            bipush 7
            ldc "plus"
            aastore
            invokestatic org.hamcrest.CoreMatchers.hasItems:([Ljava/lang/Object;)Lorg/hamcrest/Matcher;
            invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
         3: .line 214
            ldc Ljava/lang/Object;
            invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
            astore 3 /* objectMethods */
        start local 3 // java.lang.reflect.Method[] objectMethods
         4: .line 215
            aload 3 /* objectMethods */
            dup
            astore 7
            arraylength
            istore 6
            iconst_0
            istore 5
            goto 8
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data org.graalvm.polyglot.Value java.lang.reflect.Method[] top int int java.lang.reflect.Method[]
      StackMap stack:
         5: aload 7
            iload 5
            aaload
            astore 4 /* objectMethod */
        start local 4 // java.lang.reflect.Method objectMethod
         6: .line 216
            ldc "No java.lang.Object methods"
            aload 2 /* dataValue */
            invokevirtual org.graalvm.polyglot.Value.getMemberKeys:()Ljava/util/Set;
            aload 4 /* objectMethod */
            invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
            invokestatic org.hamcrest.CoreMatchers.hasItem:(Ljava/lang/Object;)Lorg/hamcrest/Matcher;
            invokestatic org.hamcrest.CoreMatchers.not:(Lorg/hamcrest/Matcher;)Lorg/hamcrest/Matcher;
            invokestatic org.junit.Assert.assertThat:(Ljava/lang/String;Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
        end local 4 // java.lang.reflect.Method objectMethod
         7: .line 215
            iinc 5 1
      StackMap locals:
      StackMap stack:
         8: iload 5
            iload 6
            if_icmplt 5
         9: .line 218
            return
        end local 3 // java.lang.reflect.Method[] objectMethods
        end local 2 // org.graalvm.polyglot.Value dataValue
        end local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   10     0           this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   10     1           data  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            2   10     2      dataValue  Lorg/graalvm/polyglot/Value;
            4   10     3  objectMethods  [Ljava/lang/reflect/Method;
            6    7     4   objectMethod  Ljava/lang/reflect/Method;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void assertKeysFromAMap();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 222
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 1 /* map */
        start local 1 // java.util.Map map
         1: .line 223
            aload 1 /* map */
            ldc "one"
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 224
            aload 1 /* map */
            ldc "null"
            aconst_null
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 225
            aload 1 /* map */
            ldc "three"
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 227
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* map */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.getMemberKeys:()Ljava/util/Set;
            astore 2 /* memberKeys */
        start local 2 // java.util.Set memberKeys
         5: .line 228
            aload 2 /* memberKeys */
            ldc "one"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         6: .line 229
            aload 2 /* memberKeys */
            ldc "null"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         7: .line 230
            aload 2 /* memberKeys */
            ldc "three"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         8: .line 231
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* map */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokestatic com.oracle.truffle.tck.tests.ValueAssert.assertValue:(Lorg/graalvm/polyglot/Value;)V
         9: .line 232
            return
        end local 2 // java.util.Set memberKeys
        end local 1 // java.util.Map map
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   10     0        this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   10     1         map  Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
            5   10     2  memberKeys  Ljava/util/Set<Ljava/lang/String;>;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void readUnknownField();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 236
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* dataValue */
        start local 1 // org.graalvm.polyglot.Value dataValue
         1: .line 237
            aload 1 /* dataValue */
            ldc "unknown"
            invokevirtual org.graalvm.polyglot.Value.hasMember:(Ljava/lang/String;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         2: .line 238
            aload 1 /* dataValue */
            invokevirtual org.graalvm.polyglot.Value.getMemberKeys:()Ljava/util/Set;
            ldc "unknown"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         3: .line 239
            aload 1 /* dataValue */
            ldc "unknown"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 240
            return
        end local 1 // org.graalvm.polyglot.Value dataValue
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    5     1  dataValue  Lorg/graalvm/polyglot/Value;
    Exceptions:
      throws java.lang.Exception
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  static void assertThrowsExceptionWithCause(java.util.concurrent.Callable<?>, java.lang.Class<? extends java.lang.Exception>);
    descriptor: (Ljava/util/concurrent/Callable;Ljava/lang/Class;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // java.util.concurrent.Callable callable
        start local 1 // java.lang.Class exception
         0: .line 244
            aload 0 /* callable */
            invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
            pop
         1: .line 245
            new java.lang.StringBuilder
            dup
            ldc "Expected "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* exception */
            invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " but no exception was thrown"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
         2: .line 246
            goto 9
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         3: astore 2 /* e */
        start local 2 // org.graalvm.polyglot.PolyglotException e
         4: .line 247
            aload 2 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.isHostException:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         5: .line 248
            aload 1 /* exception */
            aload 2 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        end local 2 // org.graalvm.polyglot.PolyglotException e
         6: goto 9
         7: .line 249
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
         8: .line 250
            aload 2 /* e */
            athrow
        end local 2 // java.lang.Exception e
         9: .line 252
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Class exception
        end local 0 // java.util.concurrent.Callable callable
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   10     0   callable  Ljava/util/concurrent/Callable<*>;
            0   10     1  exception  Ljava/lang/Class<+Ljava/lang/Exception;>;
            4    6     2          e  Lorg/graalvm/polyglot/PolyglotException;
            8    9     2          e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     2       3  Class org.graalvm.polyglot.PolyglotException
           0     2       7  Class java.lang.Exception
    Exceptions:
      throws java.lang.Exception
    Signature: (Ljava/util/concurrent/Callable<*>;Ljava/lang/Class<+Ljava/lang/Exception;>;)V
    MethodParameters:
           Name  Flags
      callable   
      exception  

  public void readJavaLangObjectFields();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 256
            aload 0 /* this */
            ldc "notify"
            invokevirtual com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.assertReadMethod:(Ljava/lang/String;)V
         1: .line 257
            aload 0 /* this */
            ldc "notifyAll"
            invokevirtual com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.assertReadMethod:(Ljava/lang/String;)V
         2: .line 258
            aload 0 /* this */
            ldc "wait"
            invokevirtual com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.assertReadMethod:(Ljava/lang/String;)V
         3: .line 259
            aload 0 /* this */
            ldc "hashCode"
            invokevirtual com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.assertReadMethod:(Ljava/lang/String;)V
         4: .line 260
            aload 0 /* this */
            ldc "equals"
            invokevirtual com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.assertReadMethod:(Ljava/lang/String;)V
         5: .line 261
            aload 0 /* this */
            ldc "toString"
            invokevirtual com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.assertReadMethod:(Ljava/lang/String;)V
         6: .line 262
            aload 0 /* this */
            ldc "getClass"
            invokevirtual com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.assertReadMethod:(Ljava/lang/String;)V
         7: .line 263
            return
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private void assertReadMethod(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
        start local 1 // java.lang.String name
         0: .line 266
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* dataValue */
        start local 2 // org.graalvm.polyglot.Value dataValue
         1: .line 267
            aload 2 /* dataValue */
            aload 1 /* name */
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            astore 3 /* member */
        start local 3 // org.graalvm.polyglot.Value member
         2: .line 268
            aload 3 /* member */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         3: .line 269
            aload 3 /* member */
            invokevirtual org.graalvm.polyglot.Value.canExecute:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         4: .line 270
            return
        end local 3 // org.graalvm.polyglot.Value member
        end local 2 // org.graalvm.polyglot.Value dataValue
        end local 1 // java.lang.String name
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            0    5     1       name  Ljava/lang/String;
            1    5     2  dataValue  Lorg/graalvm/polyglot/Value;
            2    5     3     member  Lorg/graalvm/polyglot/Value;
    MethodParameters:
      Name  Flags
      name  final

  public void invokeJavaLangObjectFields();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 274
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* obj */
        start local 1 // org.graalvm.polyglot.Value obj
         1: .line 276
            aload 1 /* obj */
            ldc "toString"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            astore 2 /* toStringValue */
        start local 2 // java.lang.String toStringValue
         2: .line 277
            aload 1 /* obj */
            invokevirtual org.graalvm.polyglot.Value.toString:()Ljava/lang/String;
            astore 3 /* indirectToStringValue */
        start local 3 // java.lang.String indirectToStringValue
         3: .line 278
            aload 2 /* toStringValue */
            aload 3 /* indirectToStringValue */
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         4: .line 279
            aload 2 /* toStringValue */
            new java.lang.StringBuilder
            dup
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "@"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         5: .line 281
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            aload 1 /* obj */
            ldc "getClass"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asHostObject:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 282
            aload 1 /* obj */
            ldc "equals"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* obj */
            aastore
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asBoolean:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         7: .line 283
            aload 1 /* obj */
            invokevirtual org.graalvm.polyglot.Value.asHostObject:()Ljava/lang/Object;
            invokevirtual java.lang.Object.hashCode:()I
            i2l
            aload 1 /* obj */
            ldc "hashCode"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         8: .line 285
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "notify"
            aastore
            dup
            iconst_1
            ldc "notifyAll"
            aastore
            dup
            iconst_2
            ldc "wait"
            aastore
            dup
            astore 7
            arraylength
            istore 6
            iconst_0
            istore 5
            goto 12
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest org.graalvm.polyglot.Value java.lang.String java.lang.String top int int java.lang.String[]
      StackMap stack:
         9: aload 7
            iload 5
            aaload
            astore 4 /* m */
        start local 4 // java.lang.String m
        10: .line 286
            aload 1 /* obj */
            aload 4 /* m */
            invokedynamic call(Lorg/graalvm/polyglot/Value;Ljava/lang/String;)Ljava/util/concurrent/Callable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  com/oracle/truffle/api/test/polyglot/ValueHostInteropTest.lambda$0(Lorg/graalvm/polyglot/Value;Ljava/lang/String;)Ljava/lang/Object; (6)
                  ()Ljava/lang/Object;
            ldc Ljava/lang/IllegalMonitorStateException;
            invokestatic com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.assertThrowsExceptionWithCause:(Ljava/util/concurrent/Callable;Ljava/lang/Class;)V
        end local 4 // java.lang.String m
        11: .line 285
            iinc 5 1
      StackMap locals:
      StackMap stack:
        12: iload 5
            iload 6
            if_icmplt 9
        13: .line 288
            return
        end local 3 // java.lang.String indirectToStringValue
        end local 2 // java.lang.String toStringValue
        end local 1 // org.graalvm.polyglot.Value obj
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0   14     0                   this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   14     1                    obj  Lorg/graalvm/polyglot/Value;
            2   14     2          toStringValue  Ljava/lang/String;
            3   14     3  indirectToStringValue  Ljava/lang/String;
           10   11     4                      m  Ljava/lang/String;
    Exceptions:
      throws java.lang.Exception
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void accessAllProperties();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 296
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PrivatePOJO
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PrivatePOJO.<init>:(Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;)V
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* pojo */
        start local 1 // org.graalvm.polyglot.Value pojo
         1: .line 297
            aload 1 /* pojo */
            ldc Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast java.util.Map
            astore 2 /* map */
        start local 2 // java.util.Map map
         2: .line 298
            iconst_0
            istore 3 /* cnt */
        start local 3 // int cnt
         3: .line 299
            aload 2 /* map */
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 5
            goto 10
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest org.graalvm.polyglot.Value java.util.Map int top java.util.Iterator
      StackMap stack:
         4: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 4 /* entry */
        start local 4 // java.util.Map$Entry entry
         5: .line 300
            aload 4 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            astore 6 /* key */
        start local 6 // java.lang.Object key
         6: .line 301
            aload 4 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            astore 7 /* value */
        start local 7 // java.lang.Object value
         7: .line 302
            aload 6 /* key */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         8: .line 303
            aload 7 /* value */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         9: .line 304
            iinc 3 /* cnt */ 1
        end local 7 // java.lang.Object value
        end local 6 // java.lang.Object key
        end local 4 // java.util.Map$Entry entry
        10: .line 299
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        11: .line 306
            ldc "No properties"
            lconst_0
            iload 3 /* cnt */
            i2l
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
        12: .line 307
            new java.lang.StringBuilder
            dup
            ldc "Empty: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* map */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            lconst_0
            aload 2 /* map */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
        13: .line 308
            return
        end local 3 // int cnt
        end local 2 // java.util.Map map
        end local 1 // org.graalvm.polyglot.Value pojo
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   14     0   this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   14     1   pojo  Lorg/graalvm/polyglot/Value;
            2   14     2    map  Ljava/util/Map<**>;
            3   14     3    cnt  I
            5   10     4  entry  Ljava/util/Map$Entry<**>;
            6   10     6    key  Ljava/lang/Object;
            7   10     7  value  Ljava/lang/Object;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void accessAllPropertiesDirectly();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 312
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PrivatePOJO
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PrivatePOJO.<init>:(Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;)V
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* pojo */
        start local 1 // org.graalvm.polyglot.Value pojo
         1: .line 313
            ldc "No props, class isn't public"
            lconst_0
            aload 1 /* pojo */
            invokevirtual org.graalvm.polyglot.Value.getMemberKeys:()Ljava/util/Set;
            invokeinterface java.util.Set.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
         2: .line 314
            return
        end local 1 // org.graalvm.polyglot.Value pojo
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    3     1  pojo  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void accessAllPublicPropertiesDirectly();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 342
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PublicPOJO
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PublicPOJO.<init>:()V
            astore 1 /* orig */
        start local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PublicPOJO orig
         1: .line 343
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* orig */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* pojo */
        start local 2 // org.graalvm.polyglot.Value pojo
         2: .line 344
            aload 2 /* pojo */
            invokevirtual org.graalvm.polyglot.Value.getMemberKeys:()Ljava/util/Set;
            invokeinterface java.util.Set.toArray:()[Ljava/lang/Object;
            astore 3 /* propertyNames */
        start local 3 // java.lang.Object[] propertyNames
         3: .line 345
            ldc "One instance field and one method"
            ldc 2
            aload 3 /* propertyNames */
            arraylength
            i2l
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
         4: .line 346
            ldc "One field x"
            ldc "x"
            aload 3 /* propertyNames */
            iconst_0
            aaload
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
         5: .line 347
            ldc "One method to access x"
            ldc "readX"
            aload 3 /* propertyNames */
            iconst_1
            aaload
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 349
            aload 2 /* pojo */
            ldc "readX"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            astore 4 /* readX */
        start local 4 // org.graalvm.polyglot.Value readX
         7: .line 350
            aload 4 /* readX */
            invokevirtual org.graalvm.polyglot.Value.canExecute:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         8: .line 352
            aload 1 /* orig */
            bipush 10
            invokevirtual com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PublicPOJO.writeX:(I)V
         9: .line 353
            ldc 10
            aload 4 /* readX */
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        10: .line 354
            return
        end local 4 // org.graalvm.polyglot.Value readX
        end local 3 // java.lang.Object[] propertyNames
        end local 2 // org.graalvm.polyglot.Value pojo
        end local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PublicPOJO orig
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   11     0           this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   11     1           orig  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$PublicPOJO;
            2   11     2           pojo  Lorg/graalvm/polyglot/Value;
            3   11     3  propertyNames  [Ljava/lang/Object;
            7   11     4          readX  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void arrayHasSize();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 358
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "Hello"
            aastore
            dup
            iconst_1
            ldc "World"
            aastore
            dup
            iconst_2
            ldc "!"
            aastore
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* arrObj */
        start local 1 // org.graalvm.polyglot.Value arrObj
         1: .line 359
            aload 1 /* arrObj */
            invokevirtual org.graalvm.polyglot.Value.hasArrayElements:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 360
            ldc "Three elements"
            ldc 3
            aload 1 /* arrObj */
            invokevirtual org.graalvm.polyglot.Value.getArraySize:()J
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
         3: .line 361
            ldc "Hello"
            aload 1 /* arrObj */
            lconst_0
            invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         4: .line 362
            ldc "World"
            aload 1 /* arrObj */
            lconst_1
            invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         5: .line 363
            ldc "!"
            aload 1 /* arrObj */
            ldc 2
            invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 364
            return
        end local 1 // org.graalvm.polyglot.Value arrObj
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    7     1  arrObj  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void emptyArrayHasSize();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 368
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            iconst_0
            anewarray java.lang.String
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* arrObj */
        start local 1 // org.graalvm.polyglot.Value arrObj
         1: .line 369
            aload 1 /* arrObj */
            invokevirtual org.graalvm.polyglot.Value.hasArrayElements:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 370
            lconst_0
            aload 1 /* arrObj */
            invokevirtual org.graalvm.polyglot.Value.getArraySize:()J
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         3: .line 371
            return
        end local 1 // org.graalvm.polyglot.Value arrObj
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    4     1  arrObj  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void arrayAsList();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 378
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "Hello"
            aastore
            dup
            iconst_1
            ldc "World"
            aastore
            dup
            iconst_2
            ldc "!"
            aastore
            astore 1 /* arr */
        start local 1 // java.lang.String[] arr
         1: .line 379
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* arr */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* arrObj */
        start local 2 // org.graalvm.polyglot.Value arrObj
         2: .line 380
            aload 2 /* arrObj */
            getstatic com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.LIST_STRING:Lorg/graalvm/polyglot/TypeLiteral;
            invokevirtual org.graalvm.polyglot.Value.as:(Lorg/graalvm/polyglot/TypeLiteral;)Ljava/lang/Object;
            checkcast java.util.List
            astore 3 /* list */
        start local 3 // java.util.List list
         3: .line 381
            ldc "Three elements"
            ldc 3
            aload 3 /* list */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
         4: .line 382
            ldc "Hello"
            aload 3 /* list */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         5: .line 383
            ldc "World"
            aload 3 /* list */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 384
            ldc "!"
            aload 3 /* list */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         7: .line 386
            aload 3 /* list */
            iconst_1
            ldc "there"
            invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 388
            ldc "there"
            aload 1 /* arr */
            iconst_1
            aaload
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         9: .line 389
            return
        end local 3 // java.util.List list
        end local 2 // org.graalvm.polyglot.Value arrObj
        end local 1 // java.lang.String[] arr
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   10     1     arr  [Ljava/lang/String;
            2   10     2  arrObj  Lorg/graalvm/polyglot/Value;
            3   10     3    list  Ljava/util/List<Ljava/lang/String;>;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void objectsAsMap();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 393
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 1 /* data */
        start local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
         1: .line 394
            aload 1 /* data */
            bipush 10
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.x:I
         2: .line 395
            aload 1 /* data */
            ldc 33.3
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.y:D
         3: .line 396
            aload 1 /* data */
            aload 1 /* data */
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.map:Ljava/lang/Object;
         4: .line 397
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* data */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.map:()Ljava/util/Map;
            astore 2 /* map */
        start local 2 // java.util.Map map
         5: .line 399
            ldc "x"
            aload 2 /* map */
            ldc "x"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            bipush 10
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 400
            ldc "y"
            aload 2 /* map */
            ldc "y"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            ldc 33.3
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
         7: .line 402
            aload 2 /* map */
            ldc "x"
            bipush 13
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 403
            ldc "x changed"
            aload 1 /* data */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.x:I
            i2l
            ldc 13
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
         9: .line 405
            iconst_0
            istore 3 /* foundX */
        start local 3 // boolean foundX
        10: .line 406
            iconst_0
            istore 4 /* foundY */
        start local 4 // boolean foundY
        11: .line 407
            aload 2 /* map */
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 5 /* it */
        start local 5 // java.util.Iterator it
        12: .line 408
            goto 20
        13: .line 409
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data java.util.Map int int java.util.Iterator
      StackMap stack:
            aload 5 /* it */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 6 /* entry */
        start local 6 // java.util.Map$Entry entry
        14: .line 410
            ldc "x"
            aload 6 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 17
        15: .line 411
            ldc "x value found"
            aload 1 /* data */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.x:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 6 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
        16: .line 412
            iconst_1
            istore 3 /* foundX */
        17: .line 414
      StackMap locals: java.util.Map$Entry
      StackMap stack:
            ldc "y"
            aload 6 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 20
        18: .line 415
            ldc "y value found"
            aload 1 /* data */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.y:D
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aload 6 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
        19: .line 416
            iconst_1
            istore 4 /* foundY */
        end local 6 // java.util.Map$Entry entry
        20: .line 408
      StackMap locals:
      StackMap stack:
            aload 5 /* it */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 13
        21: .line 419
            iload 3 /* foundX */
            invokestatic org.junit.Assert.assertTrue:(Z)V
        22: .line 420
            iload 4 /* foundY */
            invokestatic org.junit.Assert.assertTrue:(Z)V
        23: .line 421
            return
        end local 5 // java.util.Iterator it
        end local 4 // boolean foundY
        end local 3 // boolean foundX
        end local 2 // java.util.Map map
        end local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   24     0    this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   24     1    data  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            5   24     2     map  Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
           10   24     3  foundX  Z
           11   24     4  foundY  Z
           12   24     5      it  Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;
           14   20     6   entry  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void nullCanBeReturned();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 425
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 1 /* data */
        start local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
         1: .line 426
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* data */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus
            astore 2 /* xyp */
        start local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
         2: .line 427
            aload 2 /* xyp */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.value:()Ljava/lang/Integer;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         3: .line 428
            return
        end local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
        end local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    4     1  data  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            2    4     2   xyp  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void integerCanBeConvertedFromAnObjectField();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 432
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 1 /* data */
        start local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
         1: .line 433
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* data */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus
            astore 2 /* xyp */
        start local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
         2: .line 434
            aload 1 /* data */
            bipush 42
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.value:Ljava/lang/Object;
         3: .line 435
            bipush 42
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 2 /* xyp */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.value:()Ljava/lang/Integer;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         4: .line 436
            return
        end local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
        end local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    5     1  data  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            2    5     2   xyp  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void isNull();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 440
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aconst_null
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* value */
        start local 1 // org.graalvm.polyglot.Value value
         1: .line 441
            aload 1 /* value */
            invokevirtual org.graalvm.polyglot.Value.isNull:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 442
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.isNull:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         3: .line 443
            return
        end local 1 // org.graalvm.polyglot.Value value
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    4     1  value  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testClassStaticMembers();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 447
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            ldc Ljava/lang/String;
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* stringClass */
        start local 1 // org.graalvm.polyglot.Value stringClass
         1: .line 448
            aload 1 /* stringClass */
            ldc "static"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            astore 2 /* stringStatic */
        start local 2 // org.graalvm.polyglot.Value stringStatic
         2: .line 449
            ldc "concatenated"
            aload 2 /* stringStatic */
            ldc "join"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            ldc "cat"
            aastore
            dup
            iconst_1
            ldc "con"
            aastore
            dup
            iconst_2
            ldc "enated"
            aastore
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         3: .line 450
            ldc Ljava/lang/String;
            aload 2 /* stringStatic */
            ldc "class"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asHostObject:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         4: .line 451
            return
        end local 2 // org.graalvm.polyglot.Value stringStatic
        end local 1 // org.graalvm.polyglot.Value stringClass
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    5     0          this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    5     1   stringClass  Lorg/graalvm/polyglot/Value;
            2    5     2  stringStatic  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void functionalInterfaceOverridingObjectMethods();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 464
            ldc "Cannot get reflection data for a lambda"
            getstatic com.oracle.truffle.api.TruffleOptions.AOT:Z
            invokestatic org.junit.Assume.assumeFalse:(Ljava/lang/String;Z)V
         1: .line 465
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            invokedynamic call()Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$FunctionalWithObjectMethodOverrides;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ([Ljava/lang/Object;)Ljava/lang/Object;
                  com/oracle/truffle/api/test/polyglot/ValueHostInteropTest.lambda$1([Ljava/lang/Object;)Ljava/lang/Object; (6)
                  ([Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* object */
        start local 1 // org.graalvm.polyglot.Value object
         2: .line 466
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            ldc "call"
            aastore
            aload 1 /* object */
            invokevirtual org.graalvm.polyglot.Value.getMemberKeys:()Ljava/util/Set;
            invokeinterface java.util.Set.toArray:()[Ljava/lang/Object;
            invokestatic org.junit.Assert.assertArrayEquals:([Ljava/lang/Object;[Ljava/lang/Object;)V
         3: .line 467
            ldc 42
            aload 1 /* object */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            bipush 42
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         4: .line 468
            return
        end local 1 // org.graalvm.polyglot.Value object
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            2    5     1  object  Lorg/graalvm/polyglot/Value;
    Exceptions:
      throws java.lang.Exception
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void executableAsFunction();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 487
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionObject
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionObject.<init>:()V
            astore 1 /* executable */
        start local 1 // com.oracle.truffle.api.interop.TruffleObject executable
         1: .line 488
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* executable */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Ljava/util/function/Function;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast java.util.function.Function
            astore 2 /* f */
        start local 2 // java.util.function.Function f
         2: .line 489
            ldc 13
            aload 2 /* f */
            bipush 13
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         3: .line 490
            aload 2 /* f */
            aload 2 /* f */
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         4: .line 491
            return
        end local 2 // java.util.function.Function f
        end local 1 // com.oracle.truffle.api.interop.TruffleObject executable
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0        this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    5     1  executable  Lcom/oracle/truffle/api/interop/TruffleObject;
            2    5     2           f  Ljava/util/function/Function<Ljava/lang/Integer;Ljava/lang/Integer;>;
    Exceptions:
      throws java.lang.Exception
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void executableAsFunctionalInterface1();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 495
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionObject
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionObject.<init>:()V
            astore 1 /* executable */
        start local 1 // com.oracle.truffle.api.interop.TruffleObject executable
         1: .line 496
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* executable */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$FunctionalWithDefaults;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithDefaults
            astore 2 /* f */
        start local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithDefaults f
         2: .line 497
            bipush 50
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 2 /* f */
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            bipush 13
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            bipush 37
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithDefaults.call:([Ljava/lang/Object;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         3: .line 498
            aload 2 /* f */
            invokevirtual java.lang.Object.hashCode:()I
            pop
         4: .line 499
            aload 2 /* f */
            aconst_null
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            pop
         5: .line 500
            aload 2 /* f */
            aload 2 /* f */
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         6: .line 501
            aload 2 /* f */
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* executable */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$FunctionalWithDefaults;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         7: .line 502
            aload 2 /* f */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            pop
         8: .line 503
            return
        end local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithDefaults f
        end local 1 // com.oracle.truffle.api.interop.TruffleObject executable
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0        this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    9     1  executable  Lcom/oracle/truffle/api/interop/TruffleObject;
            2    9     2           f  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$FunctionalWithDefaults;
    Exceptions:
      throws java.lang.Exception
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void executableAsFunctionalInterface2();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 507
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionObject
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionObject.<init>:()V
            astore 1 /* executable */
        start local 1 // com.oracle.truffle.api.interop.TruffleObject executable
         1: .line 508
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* executable */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$FunctionalWithObjectMethodOverrides;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithObjectMethodOverrides
            astore 2 /* f */
        start local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithObjectMethodOverrides f
         2: .line 509
            bipush 50
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 2 /* f */
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            bipush 13
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            bipush 37
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithObjectMethodOverrides.call:([Ljava/lang/Object;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         3: .line 510
            aload 2 /* f */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithObjectMethodOverrides.hashCode:()I
            pop
         4: .line 511
            aload 2 /* f */
            aconst_null
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithObjectMethodOverrides.equals:(Ljava/lang/Object;)Z
            pop
         5: .line 512
            aload 2 /* f */
            aload 2 /* f */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithObjectMethodOverrides.equals:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         6: .line 513
            aload 2 /* f */
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* executable */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$FunctionalWithObjectMethodOverrides;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         7: .line 514
            aload 2 /* f */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithObjectMethodOverrides.toString:()Ljava/lang/String;
            pop
         8: .line 515
            return
        end local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithObjectMethodOverrides f
        end local 1 // com.oracle.truffle.api.interop.TruffleObject executable
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0        this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    9     1  executable  Lcom/oracle/truffle/api/interop/TruffleObject;
            2    9     2           f  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$FunctionalWithObjectMethodOverrides;
    Exceptions:
      throws java.lang.Exception
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void executableAsFunctionalInterface3();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 520
            ldc "JDK 9 or later"
            ldc "java.specification.version"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            ldc "1.9"
            invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
            iflt 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack: java.lang.String
         1: iconst_0
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
      StackMap stack: java.lang.String int
         2: invokestatic org.junit.Assume.assumeTrue:(Ljava/lang/String;Z)V
         3: .line 521
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionObject
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionObject.<init>:()V
            astore 1 /* executable */
        start local 1 // com.oracle.truffle.api.interop.TruffleObject executable
         4: .line 522
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* executable */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$FunctionalWithDefaults;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithDefaults
            astore 2 /* f */
        start local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithDefaults f
         5: .line 523
            bipush 42
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 2 /* f */
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            bipush 13
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            bipush 29
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithDefaults.call:([Ljava/lang/Object;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 524
            ldc 50
            aload 2 /* f */
            bipush 13
            bipush 37
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithDefaults.call:(II)I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         7: .line 525
            aload 2 /* f */
            invokevirtual java.lang.Object.hashCode:()I
            pop
         8: .line 526
            aload 2 /* f */
            aconst_null
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            pop
         9: .line 527
            aload 2 /* f */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            pop
        10: .line 528
            return
        end local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithDefaults f
        end local 1 // com.oracle.truffle.api.interop.TruffleObject executable
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   11     0        this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            4   11     1  executable  Lcom/oracle/truffle/api/interop/TruffleObject;
            5   11     2           f  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$FunctionalWithDefaults;
    Exceptions:
      throws java.lang.Exception
    RuntimeVisibleAnnotations: 
      org.junit.Ignore(value = "Interface not accessible")
      org.junit.Test()

  public void listUnwrapsTruffleObject();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 532
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 1 /* data */
        start local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
         1: .line 533
            aload 1 /* data */
            iconst_1
            anewarray com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            iconst_0
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            aastore
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.data:[Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
         2: .line 534
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* data */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus
            astore 2 /* xyp */
        start local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
         3: .line 535
            aload 2 /* xyp */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.data:()Ljava/util/List;
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            astore 3 /* value */
        start local 3 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data value
         4: .line 536
            aload 1 /* data */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.data:[Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            iconst_0
            aaload
            aload 3 /* value */
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
         5: .line 537
            return
        end local 3 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data value
        end local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
        end local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    6     1   data  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            3    6     2    xyp  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            4    6     3  value  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void mapUnwrapsTruffleObject();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 541
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 1 /* data */
        start local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
         1: .line 542
            aload 1 /* data */
            aload 1 /* data */
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.dataMap:Ljava/lang/Object;
         2: .line 543
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* data */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus
            astore 2 /* xyp */
        start local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
         3: .line 544
            aload 2 /* xyp */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.dataMap:()Ljava/util/Map;
            ldc "dataMap"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            astore 3 /* value */
        start local 3 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data value
         4: .line 545
            aload 1 /* data */
            aload 3 /* value */
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
         5: .line 547
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 4 /* newValue */
        start local 4 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data newValue
         6: .line 548
            aload 2 /* xyp */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.dataMap:()Ljava/util/Map;
            ldc "dataMap"
            aload 4 /* newValue */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            astore 5 /* previousValue */
        start local 5 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data previousValue
         7: .line 549
            aload 1 /* data */
            aload 5 /* previousValue */
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
         8: .line 551
            aload 4 /* newValue */
            aload 1 /* data */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.dataMap:Ljava/lang/Object;
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
         9: .line 552
            return
        end local 5 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data previousValue
        end local 4 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data newValue
        end local 3 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data value
        end local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
        end local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   10     0           this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   10     1           data  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            3   10     2            xyp  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            4   10     3          value  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            6   10     4       newValue  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            7   10     5  previousValue  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void mapEntrySetUnwrapsTruffleObject();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=9, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 556
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 1 /* data */
        start local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
         1: .line 557
            aload 1 /* data */
            aload 1 /* data */
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.dataMap:Ljava/lang/Object;
         2: .line 558
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* data */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus
            astore 2 /* xyp */
        start local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
         3: .line 559
            aload 2 /* xyp */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.dataMap:()Ljava/util/Map;
            astore 3 /* map */
        start local 3 // java.util.Map map
         4: .line 560
            aload 3 /* map */
            ldc "dataMap"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            astore 4 /* value */
        start local 4 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data value
         5: .line 561
            aload 1 /* data */
            aload 4 /* value */
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 563
            aload 2 /* xyp */
            invokeinterface com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus.dataMap:()Ljava/util/Map;
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 6
            goto 15
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus java.util.Map com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data top java.util.Iterator
      StackMap stack:
         7: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 5 /* entry */
        start local 5 // java.util.Map$Entry entry
         8: .line 564
            ldc "dataMap"
            aload 5 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 15
         9: .line 565
            aload 4 /* value */
            aload 5 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 566
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 7 /* newValue */
        start local 7 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data newValue
        11: .line 567
            aload 5 /* entry */
            aload 7 /* newValue */
            invokeinterface java.util.Map$Entry.setValue:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            astore 8 /* prev */
        start local 8 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data prev
        12: .line 568
            aload 4 /* value */
            aload 8 /* prev */
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        13: .line 569
            aload 7 /* newValue */
            aload 3 /* map */
            ldc "dataMap"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 570
            return
        end local 8 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data prev
        end local 7 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data newValue
        end local 5 // java.util.Map$Entry entry
        15: .line 563
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        16: .line 573
            ldc "Entry dataMap not found"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        17: .line 574
            return
        end local 4 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data value
        end local 3 // java.util.Map map
        end local 2 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus xyp
        end local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   18     0      this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   18     1      data  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            3   18     2       xyp  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$XYPlus;
            4   18     3       map  Ljava/util/Map<Ljava/lang/String;Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;>;
            5   18     4     value  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            8   15     5     entry  Ljava/util/Map$Entry<Ljava/lang/String;Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;>;
           11   15     7  newValue  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
           12   15     8      prev  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testNewClass();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 578
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            ldc Ljava/util/HashMap;
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* hashMapClass */
        start local 1 // org.graalvm.polyglot.Value hashMapClass
         1: .line 579
            aload 1 /* hashMapClass */
            invokevirtual org.graalvm.polyglot.Value.canInstantiate:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 580
            aload 1 /* hashMapClass */
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.polyglot.Value.newInstance:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* hashMap */
        start local 2 // org.graalvm.polyglot.Value hashMap
         3: .line 581
            aload 2 /* hashMap */
            invokevirtual org.graalvm.polyglot.Value.isHostObject:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         4: .line 582
            aload 2 /* hashMap */
            invokevirtual org.graalvm.polyglot.Value.asHostObject:()Ljava/lang/Object;
            instanceof java.util.HashMap
            invokestatic org.junit.Assert.assertTrue:(Z)V
         5: .line 583
            return
        end local 2 // org.graalvm.polyglot.Value hashMap
        end local 1 // org.graalvm.polyglot.Value hashMapClass
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    6     0          this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    6     1  hashMapClass  Lorg/graalvm/polyglot/Value;
            3    6     2       hashMap  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testNewObject();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 587
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            ldc Ljava/lang/Object;
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* objectClass */
        start local 1 // org.graalvm.polyglot.Value objectClass
         1: .line 588
            aload 1 /* objectClass */
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.polyglot.Value.newInstance:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* object */
        start local 2 // org.graalvm.polyglot.Value object
         2: .line 589
            aload 2 /* object */
            invokevirtual org.graalvm.polyglot.Value.isHostObject:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         3: .line 590
            return
        end local 2 // org.graalvm.polyglot.Value object
        end local 1 // org.graalvm.polyglot.Value objectClass
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    4     0         this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    4     1  objectClass  Lorg/graalvm/polyglot/Value;
            2    4     2       object  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testNewArray();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 594
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            ldc [J
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* objectClass */
        start local 1 // org.graalvm.polyglot.Value objectClass
         1: .line 595
            aload 1 /* objectClass */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_4
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual org.graalvm.polyglot.Value.newInstance:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* object */
        start local 2 // org.graalvm.polyglot.Value object
         2: .line 596
            aload 2 /* object */
            invokevirtual org.graalvm.polyglot.Value.isHostObject:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         3: .line 597
            aload 2 /* object */
            invokevirtual org.graalvm.polyglot.Value.hasArrayElements:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         4: .line 598
            ldc 4
            aload 2 /* object */
            invokevirtual org.graalvm.polyglot.Value.getArraySize:()J
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         5: .line 599
            return
        end local 2 // org.graalvm.polyglot.Value object
        end local 1 // org.graalvm.polyglot.Value objectClass
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    6     0         this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    6     1  objectClass  Lorg/graalvm/polyglot/Value;
            2    6     2       object  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testMultiDimArray();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 603
            iconst_3
            anewarray long[]
            dup
            iconst_0
         1: .line 604
            iconst_2
            newarray 11
            dup
            iconst_0
            lconst_1
            lastore
            dup
            iconst_1
            ldc 2
            lastore
            aastore
            dup
            iconst_1
         2: .line 605
            iconst_2
            newarray 11
            dup
            iconst_0
            ldc 3
            lastore
            dup
            iconst_1
            ldc 4
            lastore
            aastore
            dup
            iconst_2
         3: .line 606
            iconst_2
            newarray 11
            dup
            iconst_0
            ldc 5
            lastore
            dup
            iconst_1
            ldc 6
            lastore
            aastore
         4: .line 603
            astore 1 /* matrix */
        start local 1 // long[][] matrix
         5: .line 609
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* matrix */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* object */
        start local 2 // org.graalvm.polyglot.Value object
         6: .line 610
            aload 2 /* object */
            invokevirtual org.graalvm.polyglot.Value.isHostObject:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         7: .line 611
            aload 2 /* object */
            invokevirtual org.graalvm.polyglot.Value.hasArrayElements:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         8: .line 612
            ldc 3
            aload 2 /* object */
            invokevirtual org.graalvm.polyglot.Value.getArraySize:()J
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         9: .line 614
            aload 2 /* object */
            lconst_1
            invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
            astore 3 /* row */
        start local 3 // org.graalvm.polyglot.Value row
        10: .line 615
            aload 3 /* row */
            invokevirtual org.graalvm.polyglot.Value.hasArrayElements:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        11: .line 616
            ldc 2
            aload 3 /* row */
            invokevirtual org.graalvm.polyglot.Value.getArraySize:()J
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        12: .line 617
            ldc 3
            aload 3 /* row */
            lconst_0
            invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        13: .line 618
            ldc 4
            aload 3 /* row */
            lconst_1
            invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        14: .line 619
            return
        end local 3 // org.graalvm.polyglot.Value row
        end local 2 // org.graalvm.polyglot.Value object
        end local 1 // long[][] matrix
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0    this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            5   15     1  matrix  [[J
            6   15     2  object  Lorg/graalvm/polyglot/Value;
           10   15     3     row  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testNewMultiDimArray();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 623
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            ldc [[J
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* objectClass */
        start local 1 // org.graalvm.polyglot.Value objectClass
         1: .line 627
            aload 1 /* objectClass */
            invokedynamic call(Lorg/graalvm/polyglot/Value;)Ljava/util/concurrent/Callable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  com/oracle/truffle/api/test/polyglot/ValueHostInteropTest.lambda$2(Lorg/graalvm/polyglot/Value;)Ljava/lang/Object; (6)
                  ()Ljava/lang/Object;
            ldc Ljava/lang/IllegalArgumentException;
            invokestatic com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.assertFails:(Ljava/util/concurrent/Callable;Ljava/lang/Class;)V
         2: .line 629
            aload 1 /* objectClass */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_4
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual org.graalvm.polyglot.Value.newInstance:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* object */
        start local 2 // org.graalvm.polyglot.Value object
         3: .line 630
            aload 2 /* object */
            invokevirtual org.graalvm.polyglot.Value.isHostObject:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         4: .line 631
            aload 2 /* object */
            invokevirtual org.graalvm.polyglot.Value.hasArrayElements:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         5: .line 632
            ldc 4
            aload 2 /* object */
            invokevirtual org.graalvm.polyglot.Value.getArraySize:()J
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         6: .line 634
            aload 2 /* object */
            lconst_0
            invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
            astore 3 /* row */
        start local 3 // org.graalvm.polyglot.Value row
         7: .line 635
            aload 3 /* row */
            invokevirtual org.graalvm.polyglot.Value.isNull:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         8: .line 637
            aload 2 /* object */
            lconst_0
            iconst_2
            newarray 11
            dup
            iconst_0
            ldc 3
            lastore
            dup
            iconst_1
            ldc 4
            lastore
            invokevirtual org.graalvm.polyglot.Value.setArrayElement:(JLjava/lang/Object;)V
         9: .line 638
            aload 2 /* object */
            lconst_0
            invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
            astore 3 /* row */
        10: .line 639
            aload 3 /* row */
            invokevirtual org.graalvm.polyglot.Value.hasArrayElements:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        11: .line 640
            ldc 2
            aload 3 /* row */
            invokevirtual org.graalvm.polyglot.Value.getArraySize:()J
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        12: .line 641
            ldc 3
            aload 3 /* row */
            lconst_0
            invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        13: .line 642
            ldc 4
            aload 3 /* row */
            lconst_1
            invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        14: .line 643
            return
        end local 3 // org.graalvm.polyglot.Value row
        end local 2 // org.graalvm.polyglot.Value object
        end local 1 // org.graalvm.polyglot.Value objectClass
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   15     0         this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   15     1  objectClass  Lorg/graalvm/polyglot/Value;
            3   15     2       object  Lorg/graalvm/polyglot/Value;
            7   15     3          row  Lorg/graalvm/polyglot/Value;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testException();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 647
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* iterator */
        start local 1 // org.graalvm.polyglot.Value iterator
         1: .line 649
            aload 1 /* iterator */
            ldc "next"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            pop
         2: .line 650
            ldc "expected an exception but none was thrown"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
         3: .line 651
            goto 7
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest org.graalvm.polyglot.Value
      StackMap stack: org.graalvm.polyglot.PolyglotException
         4: astore 2 /* ex */
        start local 2 // org.graalvm.polyglot.PolyglotException ex
         5: .line 652
            new java.lang.StringBuilder
            dup
            ldc "expected HostException but was: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* ex */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* ex */
            invokevirtual org.graalvm.polyglot.PolyglotException.isHostException:()Z
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
         6: .line 653
            aload 2 /* ex */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            ldc Ljava/util/NoSuchElementException;
            invokestatic org.hamcrest.CoreMatchers.instanceOf:(Ljava/lang/Class;)Lorg/hamcrest/Matcher;
            invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
        end local 2 // org.graalvm.polyglot.PolyglotException ex
         7: .line 655
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.graalvm.polyglot.Value iterator
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    8     0      this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1    8     1  iterator  Lorg/graalvm/polyglot/Value;
            5    7     2        ex  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           1     3       4  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testException2();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 659
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            ldc Ljava/util/HashMap;
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 1 /* hashMapClass */
        start local 1 // org.graalvm.polyglot.Value hashMapClass
         1: .line 661
            aload 1 /* hashMapClass */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_m1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual org.graalvm.polyglot.Value.newInstance:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            pop
         2: .line 662
            ldc "expected an exception but none was thrown"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
         3: .line 663
            goto 7
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest org.graalvm.polyglot.Value
      StackMap stack: org.graalvm.polyglot.PolyglotException
         4: astore 2 /* ex */
        start local 2 // org.graalvm.polyglot.PolyglotException ex
         5: .line 664
            new java.lang.StringBuilder
            dup
            ldc "expected HostException but was: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* ex */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* ex */
            invokevirtual org.graalvm.polyglot.PolyglotException.isHostException:()Z
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
         6: .line 665
            aload 2 /* ex */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            ldc Ljava/lang/IllegalArgumentException;
            invokestatic org.hamcrest.CoreMatchers.instanceOf:(Ljava/lang/Class;)Lorg/hamcrest/Matcher;
            invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
        end local 2 // org.graalvm.polyglot.PolyglotException ex
         7: .line 668
      StackMap locals:
      StackMap stack:
            aload 1 /* hashMapClass */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            ldc ""
            aastore
            invokevirtual org.graalvm.polyglot.Value.newInstance:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            pop
         8: .line 669
            ldc "expected an exception but none was thrown"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
         9: .line 670
            goto 11
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
        10: pop
        11: .line 672
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.graalvm.polyglot.Value hashMapClass
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   12     0          this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   12     1  hashMapClass  Lorg/graalvm/polyglot/Value;
            5    7     2            ex  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           1     3       4  Class org.graalvm.polyglot.PolyglotException
           7     9      10  Class java.lang.IllegalArgumentException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRemoveMessage();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 676
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 1 /* data */
        start local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
         1: .line 677
            aload 1 /* data */
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "Hello"
            aastore
            dup
            iconst_1
            ldc "World"
            aastore
            dup
            iconst_2
            ldc "!"
            aastore
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.arr:[Ljava/lang/String;
         2: .line 678
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            new java.util.ArrayList
            dup
            aload 1 /* data */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.arr:[Ljava/lang/String;
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 2 /* truffleList */
        start local 2 // org.graalvm.polyglot.Value truffleList
         3: .line 679
            ldc 3
            aload 2 /* truffleList */
            invokevirtual org.graalvm.polyglot.Value.getArraySize:()J
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         4: .line 680
            iconst_1
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            aload 2 /* truffleList */
            lconst_1
            invokevirtual org.graalvm.polyglot.Value.removeArrayElement:(J)Z
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         5: .line 681
            ldc 2
            aload 2 /* truffleList */
            invokevirtual org.graalvm.polyglot.Value.getArraySize:()J
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         6: .line 683
            aload 2 /* truffleList */
            ldc 10
            invokevirtual org.graalvm.polyglot.Value.removeArrayElement:(J)Z
            pop
         7: .line 684
            ldc "Out of bounds."
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
         8: .line 685
            goto 10
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data org.graalvm.polyglot.Value
      StackMap stack: java.lang.ArrayIndexOutOfBoundsException
         9: pop
        10: .line 688
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* data */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.arr:[Ljava/lang/String;
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 3 /* arrObj */
        start local 3 // org.graalvm.polyglot.Value arrObj
        11: .line 690
            aload 3 /* arrObj */
            lconst_0
            invokevirtual org.graalvm.polyglot.Value.removeArrayElement:(J)Z
            pop
        12: .line 691
            ldc "Remove of elements of an array is not supported."
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        13: .line 692
            goto 15
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data org.graalvm.polyglot.Value org.graalvm.polyglot.Value
      StackMap stack: java.lang.UnsupportedOperationException
        14: pop
        15: .line 695
      StackMap locals:
      StackMap stack:
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 4 /* map */
        start local 4 // java.util.Map map
        16: .line 696
            aload 4 /* map */
            ldc "a"
            ldc "aa"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        17: .line 697
            aload 4 /* map */
            ldc "b"
            ldc "bb"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        18: .line 698
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 4 /* map */
            invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 5 /* truffleMap */
        start local 5 // org.graalvm.polyglot.Value truffleMap
        19: .line 699
            iconst_1
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            aload 5 /* truffleMap */
            ldc "a"
            invokevirtual org.graalvm.polyglot.Value.removeMember:(Ljava/lang/String;)Z
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        20: .line 700
            lconst_1
            aload 4 /* map */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        21: .line 701
            aload 5 /* truffleMap */
            ldc "a"
            invokevirtual org.graalvm.polyglot.Value.removeMember:(Ljava/lang/String;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        22: .line 702
            return
        end local 5 // org.graalvm.polyglot.Value truffleMap
        end local 4 // java.util.Map map
        end local 3 // org.graalvm.polyglot.Value arrObj
        end local 2 // org.graalvm.polyglot.Value truffleList
        end local 1 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   23     0         this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   23     1         data  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
            3   23     2  truffleList  Lorg/graalvm/polyglot/Value;
           11   23     3       arrObj  Lorg/graalvm/polyglot/Value;
           16   23     4          map  Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
           19   23     5   truffleMap  Lorg/graalvm/polyglot/Value;
      Exception table:
        from    to  target  type
           6     8       9  Class java.lang.ArrayIndexOutOfBoundsException
          11    13      14  Class java.lang.UnsupportedOperationException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRemoveList();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 707
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$ArrayTruffleObject
            dup
            bipush 100
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$ArrayTruffleObject.<init>:(I)V
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Ljava/util/List;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast java.util.List
            astore 1 /* list */
        start local 1 // java.util.List list
         1: .line 708
            ldc 100
            aload 1 /* list */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         2: .line 709
            aload 1 /* list */
            bipush 10
            invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 2 /* value */
        start local 2 // java.lang.Integer value
         3: .line 710
            bipush 90
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 2 /* value */
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         4: .line 711
            ldc 99
            aload 1 /* list */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         5: .line 712
            aload 1 /* list */
            bipush 20
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
            istore 3 /* success */
        start local 3 // boolean success
         6: .line 713
            iload 3 /* success */
            invokestatic org.junit.Assert.assertTrue:(Z)V
         7: .line 714
            ldc 98
            aload 1 /* list */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         8: .line 716
            aload 1 /* list */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4 /* liter */
        start local 4 // java.util.Iterator liter
         9: .line 718
            aload 4 /* liter */
            invokeinterface java.util.Iterator.remove:()V
        10: .line 719
            ldc "IllegalStateException"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        11: .line 720
            goto 13
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest java.util.List java.lang.Integer int java.util.Iterator
      StackMap stack: java.lang.IllegalStateException
        12: pop
        13: .line 723
      StackMap locals:
      StackMap stack:
            bipush 98
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 4 /* liter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 724
            bipush 97
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 4 /* liter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 725
            aload 4 /* liter */
            invokeinterface java.util.Iterator.remove:()V
        16: .line 726
            ldc 97
            aload 1 /* list */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        17: .line 728
            aload 4 /* liter */
            invokeinterface java.util.Iterator.remove:()V
        18: .line 729
            ldc "IllegalStateException"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        19: .line 730
            goto 21
      StackMap locals:
      StackMap stack: java.lang.IllegalStateException
        20: pop
        21: .line 733
      StackMap locals:
      StackMap stack:
            bipush 96
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 4 /* liter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        22: .line 734
            aload 4 /* liter */
            invokeinterface java.util.Iterator.remove:()V
        23: .line 735
            ldc 96
            aload 1 /* list */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        24: .line 737
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "Hello"
            aastore
            dup
            iconst_1
            ldc "World"
            aastore
            dup
            iconst_2
            ldc "!"
            aastore
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            getstatic com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.LIST_STRING:Lorg/graalvm/polyglot/TypeLiteral;
            invokevirtual org.graalvm.polyglot.Value.as:(Lorg/graalvm/polyglot/TypeLiteral;)Ljava/lang/Object;
            checkcast java.util.List
            astore 5 /* arr */
        start local 5 // java.util.List arr
        25: .line 739
            ldc "World"
            aload 5 /* arr */
            iconst_1
            invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        26: .line 740
            ldc "Remove of elements of an array is not supported."
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        27: .line 741
            goto 29
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest java.util.List java.lang.Integer int java.util.Iterator java.util.List
      StackMap stack: java.lang.UnsupportedOperationException
        28: pop
        29: .line 744
      StackMap locals:
      StackMap stack:
            return
        end local 5 // java.util.List arr
        end local 4 // java.util.Iterator liter
        end local 3 // boolean success
        end local 2 // java.lang.Integer value
        end local 1 // java.util.List list
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   30     0     this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   30     1     list  Ljava/util/List<Ljava/lang/Integer;>;
            3   30     2    value  Ljava/lang/Integer;
            6   30     3  success  Z
            9   30     4    liter  Ljava/util/Iterator<Ljava/lang/Integer;>;
           25   30     5      arr  Ljava/util/List<Ljava/lang/String;>;
      Exception table:
        from    to  target  type
           9    11      12  Class java.lang.IllegalStateException
          17    19      20  Class java.lang.IllegalStateException
          25    27      28  Class java.lang.UnsupportedOperationException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRemoveMap();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=15, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
         0: .line 752
            bipush 15
            istore 1 /* size */
        start local 1 // int size
         1: .line 753
            new java.util.LinkedHashMap
            dup
            invokespecial java.util.LinkedHashMap.<init>:()V
            astore 2 /* map */
        start local 2 // java.util.Map map
         2: .line 754
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         3: goto 7
         4: .line 755
      StackMap locals: int java.util.Map int
      StackMap stack:
            bipush 97
            iload 3 /* i */
            iadd
            i2c
            istore 4 /* c */
        start local 4 // char c
         5: .line 756
            aload 2 /* map */
            new java.lang.String
            dup
            iconst_1
            newarray 5
            dup
            iconst_0
            iload 4 /* c */
            castore
            invokespecial java.lang.String.<init>:([C)V
            new java.lang.String
            dup
            iconst_2
            newarray 5
            dup
            iconst_0
            iload 4 /* c */
            castore
            dup
            iconst_1
            iload 4 /* c */
            castore
            invokespecial java.lang.String.<init>:([C)V
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 4 // char c
         6: .line 754
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 3 /* i */
            iload 1 /* size */
            if_icmplt 4
        end local 3 // int i
         8: .line 758
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$RemoveKeysObject
            dup
            aload 2 /* map */
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$RemoveKeysObject.<init>:(Ljava/util/Map;)V
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            getstatic com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.MAP_STRING_STRING:Lorg/graalvm/polyglot/TypeLiteral;
            invokevirtual org.graalvm.polyglot.Value.as:(Lorg/graalvm/polyglot/TypeLiteral;)Ljava/lang/Object;
            checkcast java.util.Map
            astore 3 /* jmap */
        start local 3 // java.util.Map jmap
         9: .line 759
            iload 1 /* size */
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        10: .line 760
            aload 3 /* jmap */
            ldc "a"
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* value */
        start local 4 // java.lang.String value
        11: .line 761
            ldc "aa"
            aload 4 /* value */
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 762
            iload 1 /* size */
            iconst_1
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        13: .line 763
            aload 3 /* jmap */
            ldc "b"
            ldc "c"
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;Ljava/lang/Object;)Z
            istore 5 /* success */
        start local 5 // boolean success
        14: .line 764
            iload 5 /* success */
            invokestatic org.junit.Assert.assertFalse:(Z)V
        15: .line 765
            iload 1 /* size */
            iconst_1
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        16: .line 766
            aload 3 /* jmap */
            ldc "b"
            ldc "bb"
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;Ljava/lang/Object;)Z
            istore 5 /* success */
        17: .line 767
            iload 5 /* success */
            invokestatic org.junit.Assert.assertTrue:(Z)V
        18: .line 768
            iload 1 /* size */
            iconst_2
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        19: .line 770
            aload 3 /* jmap */
            invokeinterface java.util.Map.keySet:()Ljava/util/Set;
            astore 6 /* keySet */
        start local 6 // java.util.Set keySet
        20: .line 771
            aload 6 /* keySet */
            ldc "c"
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            istore 5 /* success */
        21: .line 772
            iload 5 /* success */
            invokestatic org.junit.Assert.assertTrue:(Z)V
        22: .line 773
            iload 1 /* size */
            iconst_3
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        23: .line 774
            aload 6 /* keySet */
            ldc "xx"
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            istore 5 /* success */
        24: .line 775
            iload 5 /* success */
            invokestatic org.junit.Assert.assertFalse:(Z)V
        25: .line 776
            iload 1 /* size */
            iconst_3
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        26: .line 777
            iload 1 /* size */
            iconst_3
            isub
            i2l
            aload 6 /* keySet */
            invokeinterface java.util.Set.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        27: .line 779
            aload 6 /* keySet */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 7 /* siter */
        start local 7 // java.util.Iterator siter
        28: .line 781
            aload 7 /* siter */
            invokeinterface java.util.Iterator.remove:()V
        29: .line 782
            ldc "IllegalStateException"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        30: .line 783
            goto 32
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest int java.util.Map java.util.Map java.lang.String int java.util.Set java.util.Iterator
      StackMap stack: java.lang.IllegalStateException
        31: pop
        32: .line 786
      StackMap locals:
      StackMap stack:
            ldc "d"
            aload 7 /* siter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        33: .line 787
            aload 7 /* siter */
            invokeinterface java.util.Iterator.remove:()V
        34: .line 788
            iload 1 /* size */
            iconst_4
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        35: .line 790
            aload 7 /* siter */
            invokeinterface java.util.Iterator.remove:()V
        36: .line 791
            ldc "IllegalStateException"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        37: .line 792
            goto 39
      StackMap locals:
      StackMap stack: java.lang.IllegalStateException
        38: pop
        39: .line 795
      StackMap locals:
      StackMap stack:
            ldc "e"
            aload 7 /* siter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        40: .line 796
            aload 7 /* siter */
            invokeinterface java.util.Iterator.remove:()V
        41: .line 797
            iload 1 /* size */
            iconst_5
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        42: .line 799
            aload 3 /* jmap */
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            astore 8 /* entrySet */
        start local 8 // java.util.Set entrySet
        43: .line 800
            aload 8 /* entrySet */
            new java.util.AbstractMap$SimpleEntry
            dup
            ldc "f"
            ldc "ff"
            invokespecial java.util.AbstractMap$SimpleEntry.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            istore 5 /* success */
        44: .line 801
            iload 5 /* success */
            invokestatic org.junit.Assert.assertTrue:(Z)V
        45: .line 802
            iload 1 /* size */
            bipush 6
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        46: .line 803
            aload 8 /* entrySet */
            new java.util.AbstractMap$SimpleEntry
            dup
            ldc "g"
            ldc "xx"
            invokespecial java.util.AbstractMap$SimpleEntry.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            istore 5 /* success */
        47: .line 804
            iload 5 /* success */
            invokestatic org.junit.Assert.assertFalse:(Z)V
        48: .line 805
            aload 8 /* entrySet */
            new java.util.AbstractMap$SimpleEntry
            dup
            ldc "xx"
            ldc "gg"
            invokespecial java.util.AbstractMap$SimpleEntry.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            istore 5 /* success */
        49: .line 806
            iload 5 /* success */
            invokestatic org.junit.Assert.assertFalse:(Z)V
        50: .line 807
            iload 1 /* size */
            bipush 6
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        51: .line 808
            aload 8 /* entrySet */
            new java.util.AbstractMap$SimpleEntry
            dup
            ldc "g"
            ldc "gg"
            invokespecial java.util.AbstractMap$SimpleEntry.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            istore 5 /* success */
        52: .line 809
            iload 5 /* success */
            invokestatic org.junit.Assert.assertTrue:(Z)V
        53: .line 810
            iload 1 /* size */
            bipush 7
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        54: .line 811
            iload 1 /* size */
            bipush 7
            isub
            i2l
            aload 8 /* entrySet */
            invokeinterface java.util.Set.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        55: .line 813
            aload 8 /* entrySet */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 9 /* esiter */
        start local 9 // java.util.Iterator esiter
        56: .line 815
            aload 9 /* esiter */
            invokeinterface java.util.Iterator.remove:()V
        57: .line 816
            ldc "IllegalStateException"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        58: .line 817
            goto 60
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest int java.util.Map java.util.Map java.lang.String int java.util.Set java.util.Iterator java.util.Set java.util.Iterator
      StackMap stack: java.lang.IllegalStateException
        59: pop
        60: .line 820
      StackMap locals:
      StackMap stack:
            aload 9 /* esiter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 10 /* nextEntry */
        start local 10 // java.util.Map$Entry nextEntry
        61: .line 821
            ldc "h"
            aload 10 /* nextEntry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        62: .line 822
            ldc "hh"
            aload 10 /* nextEntry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        63: .line 823
            aload 9 /* esiter */
            invokeinterface java.util.Iterator.remove:()V
        64: .line 824
            iload 1 /* size */
            bipush 8
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        65: .line 826
            aload 3 /* jmap */
            invokeinterface java.util.Map.values:()Ljava/util/Collection;
            astore 11 /* values */
        start local 11 // java.util.Collection values
        66: .line 827
            aload 11 /* values */
            ldc "ii"
            invokeinterface java.util.Collection.remove:(Ljava/lang/Object;)Z
            istore 5 /* success */
        67: .line 828
            iload 5 /* success */
            invokestatic org.junit.Assert.assertTrue:(Z)V
        68: .line 829
            iload 1 /* size */
            bipush 9
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        69: .line 830
            aload 11 /* values */
            ldc "xxx"
            invokeinterface java.util.Collection.remove:(Ljava/lang/Object;)Z
            istore 5 /* success */
        70: .line 831
            iload 5 /* success */
            invokestatic org.junit.Assert.assertFalse:(Z)V
        71: .line 832
            iload 1 /* size */
            bipush 9
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        72: .line 834
            aload 11 /* values */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 12 /* viter */
        start local 12 // java.util.Iterator viter
        73: .line 836
            aload 12 /* viter */
            invokeinterface java.util.Iterator.remove:()V
        74: .line 837
            ldc "IllegalStateException"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        75: .line 838
            goto 77
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest int java.util.Map java.util.Map java.lang.String int java.util.Set java.util.Iterator java.util.Set java.util.Iterator java.util.Map$Entry java.util.Collection java.util.Iterator
      StackMap stack: java.lang.IllegalStateException
        76: pop
        77: .line 841
      StackMap locals:
      StackMap stack:
            ldc "jj"
            aload 12 /* viter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        78: .line 842
            aload 12 /* viter */
            invokeinterface java.util.Iterator.remove:()V
        79: .line 843
            iload 1 /* size */
            bipush 10
            isub
            i2l
            aload 3 /* jmap */
            invokeinterface java.util.Map.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        80: .line 844
            iload 1 /* size */
            bipush 10
            isub
            i2l
            aload 11 /* values */
            invokeinterface java.util.Collection.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        81: .line 846
            new com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data
            dup
            invokespecial com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.<init>:()V
            astore 13 /* data */
        start local 13 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        82: .line 847
            aload 13 /* data */
            aload 13 /* data */
            putfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data.map:Ljava/lang/Object;
        83: .line 848
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueHostInteropTest.context:Lorg/graalvm/polyglot/Context;
            aload 13 /* data */
            invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            ldc Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Value.as:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast java.util.Map
            astore 14 /* dmap */
        start local 14 // java.util.Map dmap
        84: .line 850
            aload 14 /* dmap */
            ldc "x"
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
        85: .line 851
            ldc "Remove of object fields is not supported."
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        86: .line 852
            goto 88
      StackMap locals: com.oracle.truffle.api.test.polyglot.ValueHostInteropTest int java.util.Map java.util.Map java.lang.String int java.util.Set java.util.Iterator java.util.Set java.util.Iterator java.util.Map$Entry java.util.Collection java.util.Iterator com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data java.util.Map
      StackMap stack: java.lang.UnsupportedOperationException
        87: pop
        88: .line 855
      StackMap locals:
      StackMap stack:
            return
        end local 14 // java.util.Map dmap
        end local 13 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data data
        end local 12 // java.util.Iterator viter
        end local 11 // java.util.Collection values
        end local 10 // java.util.Map$Entry nextEntry
        end local 9 // java.util.Iterator esiter
        end local 8 // java.util.Set entrySet
        end local 7 // java.util.Iterator siter
        end local 6 // java.util.Set keySet
        end local 5 // boolean success
        end local 4 // java.lang.String value
        end local 3 // java.util.Map jmap
        end local 2 // java.util.Map map
        end local 1 // int size
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueHostInteropTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   89     0       this  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest;
            1   89     1       size  I
            2   89     2        map  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            3    8     3          i  I
            5    6     4          c  C
            9   89     3       jmap  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
           11   89     4      value  Ljava/lang/String;
           14   89     5    success  Z
           20   89     6     keySet  Ljava/util/Set<Ljava/lang/String;>;
           28   89     7      siter  Ljava/util/Iterator<Ljava/lang/String;>;
           43   89     8   entrySet  Ljava/util/Set<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;
           56   89     9     esiter  Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;
           61   89    10  nextEntry  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
           66   89    11     values  Ljava/util/Collection<Ljava/lang/String;>;
           73   89    12      viter  Ljava/util/Iterator<Ljava/lang/String;>;
           82   89    13       data  Lcom/oracle/truffle/api/test/polyglot/ValueHostInteropTest$Data;
           84   89    14       dmap  Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
      Exception table:
        from    to  target  type
          28    30      31  Class java.lang.IllegalStateException
          35    37      38  Class java.lang.IllegalStateException
          56    58      59  Class java.lang.IllegalStateException
          73    75      76  Class java.lang.IllegalStateException
          84    86      87  Class java.lang.UnsupportedOperationException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private static java.lang.Object lambda$0(org.graalvm.polyglot.Value, java.lang.String);
    descriptor: (Lorg/graalvm/polyglot/Value;Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 286
            aload 0
            aload 1
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception

  private static java.lang.Object lambda$1(java.lang.Object[]);
    descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Object[] args
         0: .line 465
            aload 0 /* args */
            arraylength
            iconst_1
            if_icmplt 1
            aload 0 /* args */
            iconst_0
            aaload
            goto 2
      StackMap locals:
      StackMap stack:
         1: aconst_null
      StackMap locals:
      StackMap stack: java.lang.Object
         2: areturn
        end local 0 // java.lang.Object[] args
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  args  [Ljava/lang/Object;

  private static java.lang.Object lambda$2(org.graalvm.polyglot.Value);
    descriptor: (Lorg/graalvm/polyglot/Value;)Ljava/lang/Object;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=5, locals=1, args_size=1
         0: .line 627
            aload 0
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_4
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual org.graalvm.polyglot.Value.newInstance:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception
}
SourceFile: "ValueHostInteropTest.java"
NestMembers:
  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$1  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$2  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$3  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$ArrayTruffleObject  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionObject  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithDefaults  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithObjectMethodOverrides  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$ListArray  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PrivatePOJO  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PublicPOJO  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$RemoveKeysObject  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$RemoveKeysObject$1  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus
InnerClasses:
  public final Env = com.oracle.truffle.api.TruffleLanguage$Env of com.oracle.truffle.api.TruffleLanguage
  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$1
  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$2
  com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$3
  final ArrayTruffleObject = com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$ArrayTruffleObject of com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
  public Data = com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$Data of com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
  final FunctionObject = com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionObject of com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
  public abstract FunctionalWithDefaults = com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithDefaults of com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
  public abstract FunctionalWithObjectMethodOverrides = com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$FunctionalWithObjectMethodOverrides of com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
  ListArray = com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$ListArray of com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
  PrivatePOJO = com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PrivatePOJO of com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
  public PublicPOJO = com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$PublicPOJO of com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
  final RemoveKeysObject = com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$RemoveKeysObject of com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
  public abstract XYPlus = com.oracle.truffle.api.test.polyglot.ValueHostInteropTest$XYPlus of com.oracle.truffle.api.test.polyglot.ValueHostInteropTest
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public SimpleEntry = java.util.AbstractMap$SimpleEntry of java.util.AbstractMap
  public abstract Entry = java.util.Map$Entry of java.util.Map