public final class jdk.nashorn.internal.runtime.arrays.ArrayIndex
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.nashorn.internal.runtime.arrays.ArrayIndex
  super_class: java.lang.Object
{
  private static final int INVALID_ARRAY_INDEX;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: -1

  private static final long MAX_ARRAY_INDEX;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4294967294

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 37
            ldc Ljdk/nashorn/internal/runtime/arrays/ArrayIndex;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.$assertionsDisabled:Z
         3: .line 40
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.arrays.ArrayIndex this
         0: .line 42
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 43
            return
        end local 0 // jdk.nashorn.internal.runtime.arrays.ArrayIndex this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/nashorn/internal/runtime/arrays/ArrayIndex;

  private static long fromString(java.lang.String);
    descriptor: (Ljava/lang/String;)J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // java.lang.String key
         0: .line 51
            lconst_0
            lstore 1 /* value */
        start local 1 // long value
         1: .line 52
            aload 0 /* key */
            invokevirtual java.lang.String.length:()I
            istore 3 /* length */
        start local 3 // int length
         2: .line 55
            iload 3 /* length */
            ifeq 3
            iload 3 /* length */
            iconst_1
            if_icmple 4
            aload 0 /* key */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 48
            if_icmpne 4
         3: .line 56
      StackMap locals: long int
      StackMap stack:
            ldc -1
            lreturn
         4: .line 60
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         5: goto 13
         6: .line 61
      StackMap locals: int
      StackMap stack:
            aload 0 /* key */
            iload 4 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 5 /* digit */
        start local 5 // char digit
         7: .line 64
            iload 5 /* digit */
            bipush 48
            if_icmplt 8
            iload 5 /* digit */
            bipush 57
            if_icmple 9
         8: .line 65
      StackMap locals: int
      StackMap stack:
            ldc -1
            lreturn
         9: .line 69
      StackMap locals:
      StackMap stack:
            lload 1 /* value */
            ldc 10
            lmul
            iload 5 /* digit */
            i2l
            ladd
            ldc 48
            lsub
            lstore 1 /* value */
        10: .line 72
            lload 1 /* value */
            ldc 4294967294
            lcmp
            ifle 12
        11: .line 73
            ldc -1
            lreturn
        end local 5 // char digit
        12: .line 60
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        13: iload 4 /* i */
            iload 3 /* length */
            if_icmplt 6
        end local 4 // int i
        14: .line 77
            lload 1 /* value */
            lreturn
        end local 3 // int length
        end local 1 // long value
        end local 0 // java.lang.String key
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0     key  Ljava/lang/String;
            1   15     1   value  J
            2   15     3  length  I
            5   14     4       i  I
            7   12     5   digit  C
    MethodParameters:
      Name  Flags
      key   final

  public static int getArrayIndex(java.lang.Object);
    descriptor: (Ljava/lang/Object;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Object key
         0: .line 95
            aload 0 /* key */
            instanceof java.lang.Integer
            ifeq 2
         1: .line 96
            aload 0 /* key */
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex:(I)I
            ireturn
         2: .line 97
      StackMap locals:
      StackMap stack:
            aload 0 /* key */
            instanceof java.lang.Double
            ifeq 4
         3: .line 98
            aload 0 /* key */
            checkcast java.lang.Double
            invokevirtual java.lang.Double.doubleValue:()D
            invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex:(D)I
            ireturn
         4: .line 99
      StackMap locals:
      StackMap stack:
            aload 0 /* key */
            instanceof java.lang.String
            ifeq 6
         5: .line 100
            aload 0 /* key */
            checkcast java.lang.String
            invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.fromString:(Ljava/lang/String;)J
            l2i
            ireturn
         6: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* key */
            instanceof java.lang.Long
            ifeq 8
         7: .line 102
            aload 0 /* key */
            checkcast java.lang.Long
            invokevirtual java.lang.Long.longValue:()J
            invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex:(J)I
            ireturn
         8: .line 103
      StackMap locals:
      StackMap stack:
            aload 0 /* key */
            instanceof jdk.nashorn.internal.runtime.ConsString
            ifeq 10
         9: .line 104
            aload 0 /* key */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.fromString:(Ljava/lang/String;)J
            l2i
            ireturn
        10: .line 107
      StackMap locals:
      StackMap stack:
            getstatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.$assertionsDisabled:Z
            ifne 11
            aload 0 /* key */
            instanceof jdk.nashorn.internal.runtime.ScriptObject
            ifeq 11
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        11: .line 108
      StackMap locals:
      StackMap stack:
            iconst_m1
            ireturn
        end local 0 // java.lang.Object key
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0   key  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      key   final

  public static int getArrayIndex(int);
    descriptor: (I)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // int key
         0: .line 118
            iload 0 /* key */
            iflt 1
            iload 0 /* key */
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_m1
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // int key
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0   key  I
    MethodParameters:
      Name  Flags
      key   final

  public static int getArrayIndex(long);
    descriptor: (J)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // long key
         0: .line 130
            lload 0 /* key */
            lconst_0
            lcmp
            iflt 2
            lload 0 /* key */
            ldc 4294967294
            lcmp
            ifgt 2
         1: .line 131
            lload 0 /* key */
            l2i
            ireturn
         2: .line 134
      StackMap locals:
      StackMap stack:
            iconst_m1
            ireturn
        end local 0 // long key
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0   key  J
    MethodParameters:
      Name  Flags
      key   final

  public static int getArrayIndex(double);
    descriptor: (D)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // double key
         0: .line 150
            dload 0 /* key */
            invokestatic jdk.nashorn.internal.runtime.JSType.isRepresentableAsInt:(D)Z
            ifeq 2
         1: .line 151
            dload 0 /* key */
            d2i
            invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex:(I)I
            ireturn
         2: .line 152
      StackMap locals:
      StackMap stack:
            dload 0 /* key */
            invokestatic jdk.nashorn.internal.runtime.JSType.isRepresentableAsLong:(D)Z
            ifeq 4
         3: .line 153
            dload 0 /* key */
            d2l
            invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex:(J)I
            ireturn
         4: .line 156
      StackMap locals:
      StackMap stack:
            iconst_m1
            ireturn
        end local 0 // double key
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0   key  D
    MethodParameters:
      Name  Flags
      key   final

  public static int getArrayIndex(java.lang.String);
    descriptor: (Ljava/lang/String;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String key
         0: .line 169
            aload 0 /* key */
            invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.fromString:(Ljava/lang/String;)J
            l2i
            ireturn
        end local 0 // java.lang.String key
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   key  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      key   final

  public static boolean isValidArrayIndex(int);
    descriptor: (I)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // int index
         0: .line 181
            iload 0 /* index */
            iconst_m1
            if_icmpeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // int index
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0  index  I
    MethodParameters:
       Name  Flags
      index  final

  public static long toLongIndex(int);
    descriptor: (I)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // int index
         0: .line 193
            iload 0 /* index */
            invokestatic jdk.nashorn.internal.runtime.JSType.toUint32:(I)J
            lreturn
        end local 0 // int index
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  index  I
    MethodParameters:
       Name  Flags
      index  final

  public static java.lang.String toKey(int);
    descriptor: (I)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // int index
         0: .line 204
            iload 0 /* index */
            invokestatic jdk.nashorn.internal.runtime.JSType.toUint32:(I)J
            invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
            areturn
        end local 0 // int index
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  index  I
    MethodParameters:
       Name  Flags
      index  final
}
SourceFile: "ArrayIndex.java"