final class com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray implements com.oracle.truffle.api.interop.TruffleObject
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray
  super_class: java.lang.Object
{
  private final java.lang.String[] members;
    descriptor: [Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$CompilationFinal(dimensions = 1)

  void <init>(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray this
        start local 1 // java.lang.String[] members
         0: .line 1998
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 1999
            aload 0 /* this */
            aload 1 /* members */
            putfield com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray.members:[Ljava/lang/String;
         2: .line 2000
            return
        end local 1 // java.lang.String[] members
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lcom/oracle/truffle/api/test/polyglot/ValueAPITest$TestArray;
            0    3     1  members  [Ljava/lang/String;
    MethodParameters:
         Name  Flags
      members  

  boolean hasArrayElements();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray this
         0: .line 2005
            iconst_1
            ireturn
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueAPITest$TestArray;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.library.ExportMessage()

  long getArraySize();
    descriptor: ()J
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray this
         0: .line 2010
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray.members:[Ljava/lang/String;
            arraylength
            i2l
            lreturn
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueAPITest$TestArray;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.library.ExportMessage()

  boolean isArrayElementReadable(long);
    descriptor: (J)Z
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray this
        start local 1 // long idx
         0: .line 2015
            lconst_0
            lload 1 /* idx */
            lcmp
            ifgt 1
            lload 1 /* idx */
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray.members:[Ljava/lang/String;
            arraylength
            i2l
            lcmp
            ifge 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 1 // long idx
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/api/test/polyglot/ValueAPITest$TestArray;
            0    2     1   idx  J
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.library.ExportMessage()
    MethodParameters:
      Name  Flags
      idx   

  java.lang.String readArrayElement(long, com.oracle.truffle.api.profiles.BranchProfile);
    descriptor: (JLcom/oracle/truffle/api/profiles/BranchProfile;)Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray this
        start local 1 // long idx
        start local 3 // com.oracle.truffle.api.profiles.BranchProfile exception
         0: .line 2021
            aload 0 /* this */
            lload 1 /* idx */
            invokevirtual com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray.isArrayElementReadable:(J)Z
            ifne 3
         1: .line 2022
            aload 3 /* exception */
            invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
         2: .line 2023
            lload 1 /* idx */
            invokestatic com.oracle.truffle.api.interop.InvalidArrayIndexException.create:(J)Lcom/oracle/truffle/api/interop/InvalidArrayIndexException;
            athrow
         3: .line 2025
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray.members:[Ljava/lang/String;
            lload 1 /* idx */
            l2i
            aaload
            areturn
        end local 3 // com.oracle.truffle.api.profiles.BranchProfile exception
        end local 1 // long idx
        end local 0 // com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lcom/oracle/truffle/api/test/polyglot/ValueAPITest$TestArray;
            0    4     1        idx  J
            0    4     3  exception  Lcom/oracle/truffle/api/profiles/BranchProfile;
    Exceptions:
      throws com.oracle.truffle.api.interop.InvalidArrayIndexException
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.library.ExportMessage()
    RuntimeInvisibleParameterAnnotations: 
      0:
      1:
        com.oracle.truffle.api.dsl.Cached()
    MethodParameters:
           Name  Flags
      idx        
      exception  
}
SourceFile: "ValueAPITest.java"
NestHost: com.oracle.truffle.api.test.polyglot.ValueAPITest
InnerClasses:
  public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
  final TestArray = com.oracle.truffle.api.test.polyglot.ValueAPITest$TestArray of com.oracle.truffle.api.test.polyglot.ValueAPITest
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;)