public final class jdk.nashorn.internal.runtime.ConsString implements java.lang.CharSequence
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.nashorn.internal.runtime.ConsString
  super_class: java.lang.Object
{
  private java.lang.CharSequence left;
    descriptor: Ljava/lang/CharSequence;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.CharSequence right;
    descriptor: Ljava/lang/CharSequence;
    flags: (0x0002) ACC_PRIVATE

  private final int length;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile int state;
    descriptor: I
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private static final int STATE_NEW;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  private static final int STATE_THRESHOLD;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  private static final int STATE_FLATTENED;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: -1

  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 38
            ldc Ljdk/nashorn/internal/runtime/ConsString;
            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.ConsString.$assertionsDisabled:Z
         3: .line 46
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.lang.CharSequence, java.lang.CharSequence);
    descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.nashorn.internal.runtime.ConsString this
        start local 1 // java.lang.CharSequence left
        start local 2 // java.lang.CharSequence right
         0: .line 56
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 42
            aload 0 /* this */
            iconst_0
            putfield jdk.nashorn.internal.runtime.ConsString.state:I
         2: .line 57
            getstatic jdk.nashorn.internal.runtime.ConsString.$assertionsDisabled:Z
            ifne 3
            aload 1 /* left */
            invokestatic jdk.nashorn.internal.runtime.JSType.isString:(Ljava/lang/Object;)Z
            ifne 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 58
      StackMap locals: jdk.nashorn.internal.runtime.ConsString java.lang.CharSequence java.lang.CharSequence
      StackMap stack:
            getstatic jdk.nashorn.internal.runtime.ConsString.$assertionsDisabled:Z
            ifne 4
            aload 2 /* right */
            invokestatic jdk.nashorn.internal.runtime.JSType.isString:(Ljava/lang/Object;)Z
            ifne 4
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         4: .line 59
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* left */
            putfield jdk.nashorn.internal.runtime.ConsString.left:Ljava/lang/CharSequence;
         5: .line 60
            aload 0 /* this */
            aload 2 /* right */
            putfield jdk.nashorn.internal.runtime.ConsString.right:Ljava/lang/CharSequence;
         6: .line 61
            aload 0 /* this */
            aload 1 /* left */
            invokeinterface java.lang.CharSequence.length:()I
            aload 2 /* right */
            invokeinterface java.lang.CharSequence.length:()I
            iadd
            putfield jdk.nashorn.internal.runtime.ConsString.length:I
         7: .line 62
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ConsString.length:I
            ifge 9
         8: .line 63
            new java.lang.IllegalArgumentException
            dup
            ldc "too big concatenated String"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 65
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.CharSequence right
        end local 1 // java.lang.CharSequence left
        end local 0 // jdk.nashorn.internal.runtime.ConsString this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0   this  Ljdk/nashorn/internal/runtime/ConsString;
            0   10     1   left  Ljava/lang/CharSequence;
            0   10     2  right  Ljava/lang/CharSequence;
    MethodParameters:
       Name  Flags
      left   final
      right  final

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.ConsString this
         0: .line 69
            aload 0 /* this */
            iconst_1
            invokevirtual jdk.nashorn.internal.runtime.ConsString.flattened:(Z)Ljava/lang/CharSequence;
            checkcast java.lang.String
            areturn
        end local 0 // jdk.nashorn.internal.runtime.ConsString this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/runtime/ConsString;

  public int length();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.ConsString this
         0: .line 74
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ConsString.length:I
            ireturn
        end local 0 // jdk.nashorn.internal.runtime.ConsString this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/runtime/ConsString;

  public char charAt(int);
    descriptor: (I)C
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.nashorn.internal.runtime.ConsString this
        start local 1 // int index
         0: .line 79
            aload 0 /* this */
            iconst_1
            invokevirtual jdk.nashorn.internal.runtime.ConsString.flattened:(Z)Ljava/lang/CharSequence;
            iload 1 /* index */
            invokeinterface java.lang.CharSequence.charAt:(I)C
            ireturn
        end local 1 // int index
        end local 0 // jdk.nashorn.internal.runtime.ConsString this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Ljdk/nashorn/internal/runtime/ConsString;
            0    1     1  index  I
    MethodParameters:
       Name  Flags
      index  final

  public java.lang.CharSequence subSequence(int, int);
    descriptor: (II)Ljava/lang/CharSequence;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.nashorn.internal.runtime.ConsString this
        start local 1 // int start
        start local 2 // int end
         0: .line 84
            aload 0 /* this */
            iconst_1
            invokevirtual jdk.nashorn.internal.runtime.ConsString.flattened:(Z)Ljava/lang/CharSequence;
            iload 1 /* start */
            iload 2 /* end */
            invokeinterface java.lang.CharSequence.subSequence:(II)Ljava/lang/CharSequence;
            areturn
        end local 2 // int end
        end local 1 // int start
        end local 0 // jdk.nashorn.internal.runtime.ConsString this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Ljdk/nashorn/internal/runtime/ConsString;
            0    1     1  start  I
            0    1     2    end  I
    MethodParameters:
       Name  Flags
      start  final
      end    final

  public synchronized java.lang.CharSequence[] getComponents();
    descriptor: ()[Ljava/lang/CharSequence;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.ConsString this
         0: .line 93
            iconst_2
            anewarray java.lang.CharSequence
            dup
            iconst_0
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ConsString.left:Ljava/lang/CharSequence;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ConsString.right:Ljava/lang/CharSequence;
            aastore
            areturn
        end local 0 // jdk.nashorn.internal.runtime.ConsString this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/runtime/ConsString;

  private java.lang.CharSequence flattened(boolean);
    descriptor: (Z)Ljava/lang/CharSequence;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.nashorn.internal.runtime.ConsString this
        start local 1 // boolean flattenNested
         0: .line 97
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ConsString.state:I
            iconst_m1
            if_icmpeq 2
         1: .line 98
            aload 0 /* this */
            iload 1 /* flattenNested */
            invokevirtual jdk.nashorn.internal.runtime.ConsString.flatten:(Z)V
         2: .line 100
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ConsString.left:Ljava/lang/CharSequence;
            areturn
        end local 1 // boolean flattenNested
        end local 0 // jdk.nashorn.internal.runtime.ConsString this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    3     0           this  Ljdk/nashorn/internal/runtime/ConsString;
            0    3     1  flattenNested  Z
    MethodParameters:
               Name  Flags
      flattenNested  final

  private synchronized void flatten(boolean);
    descriptor: (Z)V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // jdk.nashorn.internal.runtime.ConsString this
        start local 1 // boolean flattenNested
         0: .line 105
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ConsString.length:I
            newarray 5
            astore 2 /* chars */
        start local 2 // char[] chars
         1: .line 106
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ConsString.length:I
            istore 3 /* pos */
        start local 3 // int pos
         2: .line 111
            new java.util.ArrayDeque
            dup
            invokespecial java.util.ArrayDeque.<init>:()V
            astore 4 /* stack */
        start local 4 // java.util.Deque stack
         3: .line 112
            aload 4 /* stack */
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ConsString.left:Ljava/lang/CharSequence;
            invokeinterface java.util.Deque.addFirst:(Ljava/lang/Object;)V
         4: .line 113
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ConsString.right:Ljava/lang/CharSequence;
            astore 5 /* cs */
        start local 5 // java.lang.CharSequence cs
         5: .line 116
      StackMap locals: jdk.nashorn.internal.runtime.ConsString int char[] int java.util.Deque java.lang.CharSequence
      StackMap stack:
            aload 5 /* cs */
            instanceof jdk.nashorn.internal.runtime.ConsString
            ifeq 13
         6: .line 117
            aload 5 /* cs */
            checkcast jdk.nashorn.internal.runtime.ConsString
            astore 6 /* cons */
        start local 6 // jdk.nashorn.internal.runtime.ConsString cons
         7: .line 120
            aload 6 /* cons */
            getfield jdk.nashorn.internal.runtime.ConsString.state:I
            iconst_m1
            if_icmpeq 8
            iload 1 /* flattenNested */
            ifeq 10
            aload 6 /* cons */
            dup
            getfield jdk.nashorn.internal.runtime.ConsString.state:I
            iconst_1
            iadd
            dup_x1
            putfield jdk.nashorn.internal.runtime.ConsString.state:I
            iconst_2
            if_icmplt 10
         8: .line 121
      StackMap locals: jdk.nashorn.internal.runtime.ConsString
      StackMap stack:
            aload 6 /* cons */
            iconst_0
            invokevirtual jdk.nashorn.internal.runtime.ConsString.flattened:(Z)Ljava/lang/CharSequence;
            astore 5 /* cs */
         9: .line 122
            goto 19
        10: .line 123
      StackMap locals:
      StackMap stack:
            aload 4 /* stack */
            aload 6 /* cons */
            getfield jdk.nashorn.internal.runtime.ConsString.left:Ljava/lang/CharSequence;
            invokeinterface java.util.Deque.addFirst:(Ljava/lang/Object;)V
        11: .line 124
            aload 6 /* cons */
            getfield jdk.nashorn.internal.runtime.ConsString.right:Ljava/lang/CharSequence;
            astore 5 /* cs */
        end local 6 // jdk.nashorn.internal.runtime.ConsString cons
        12: .line 126
            goto 19
        13: .line 127
      StackMap locals:
      StackMap stack:
            aload 5 /* cs */
            checkcast java.lang.String
            astore 6 /* str */
        start local 6 // java.lang.String str
        14: .line 128
            iload 3 /* pos */
            aload 6 /* str */
            invokevirtual java.lang.String.length:()I
            isub
            istore 3 /* pos */
        15: .line 129
            aload 6 /* str */
            iconst_0
            aload 6 /* str */
            invokevirtual java.lang.String.length:()I
            aload 2 /* chars */
            iload 3 /* pos */
            invokevirtual java.lang.String.getChars:(II[CI)V
        16: .line 130
            aload 4 /* stack */
            invokeinterface java.util.Deque.isEmpty:()Z
            ifeq 17
            aconst_null
            goto 18
      StackMap locals: java.lang.String
      StackMap stack:
        17: aload 4 /* stack */
            invokeinterface java.util.Deque.pollFirst:()Ljava/lang/Object;
            checkcast java.lang.CharSequence
      StackMap locals:
      StackMap stack: java.lang.CharSequence
        18: astore 5 /* cs */
        end local 6 // java.lang.String str
        19: .line 132
      StackMap locals:
      StackMap stack:
            aload 5 /* cs */
            ifnonnull 5
        20: .line 134
            aload 0 /* this */
            new java.lang.String
            dup
            aload 2 /* chars */
            invokespecial java.lang.String.<init>:([C)V
            putfield jdk.nashorn.internal.runtime.ConsString.left:Ljava/lang/CharSequence;
        21: .line 135
            aload 0 /* this */
            ldc ""
            putfield jdk.nashorn.internal.runtime.ConsString.right:Ljava/lang/CharSequence;
        22: .line 136
            aload 0 /* this */
            iconst_m1
            putfield jdk.nashorn.internal.runtime.ConsString.state:I
        23: .line 137
            return
        end local 5 // java.lang.CharSequence cs
        end local 4 // java.util.Deque stack
        end local 3 // int pos
        end local 2 // char[] chars
        end local 1 // boolean flattenNested
        end local 0 // jdk.nashorn.internal.runtime.ConsString this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   24     0           this  Ljdk/nashorn/internal/runtime/ConsString;
            0   24     1  flattenNested  Z
            1   24     2          chars  [C
            2   24     3            pos  I
            3   24     4          stack  Ljava/util/Deque<Ljava/lang/CharSequence;>;
            5   24     5             cs  Ljava/lang/CharSequence;
            7   12     6           cons  Ljdk/nashorn/internal/runtime/ConsString;
           14   19     6            str  Ljava/lang/String;
    MethodParameters:
               Name  Flags
      flattenNested  final
}
SourceFile: "ConsString.java"