final class jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer<E>
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer
  super_class: java.lang.Object
{
  int tail;
    descriptor: I
    flags: (0x0000) 

  int head;
    descriptor: I
    flags: (0x0000) 

  int size;
    descriptor: I
    flags: (0x0000) 

  int capacity;
    descriptor: I
    flags: (0x0000) 

  java.lang.Object[] elements;
    descriptor: [Ljava/lang/Object;
    flags: (0x0000) 

  void <init>(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer this
        start local 1 // int capacity
         0: .line 486
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 487
            aload 0 /* this */
            iload 1 /* capacity */
            putfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.capacity:I
         2: .line 488
            aload 0 /* this */
            iload 1 /* capacity */
            anewarray java.lang.Object
            putfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
         3: .line 489
            return
        end local 1 // int capacity
        end local 0 // jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Ljdk/incubator/http/internal/hpack/HeaderTable$CircularBuffer<TE;>;
            0    4     1  capacity  I
    MethodParameters:
          Name  Flags
      capacity  

  void add();
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0000) 
    Code:
      stack=7, locals=2, args_size=2
        start local 0 // jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer this
        start local 1 // java.lang.Object elem
         0: .line 492
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.capacity:I
            if_icmpne 4
         1: .line 493
            new java.lang.IllegalStateException
            dup
         2: .line 494
            ldc "No room for '%s': capacity=%s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* elem */
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.capacity:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         3: .line 493
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 496
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.head:I
            aload 1 /* elem */
            aastore
         5: .line 497
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.head:I
            iconst_1
            iadd
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.capacity:I
            irem
            putfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.head:I
         6: .line 498
            aload 0 /* this */
            dup
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
            iconst_1
            iadd
            putfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
         7: .line 499
            return
        end local 1 // java.lang.Object elem
        end local 0 // jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/incubator/http/internal/hpack/HeaderTable$CircularBuffer<TE;>;
            0    8     1  elem  TE;
    Signature: (TE;)V
    MethodParameters:
      Name  Flags
      elem  

  E remove();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer this
         0: .line 503
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
            ifne 2
         1: .line 504
            new java.util.NoSuchElementException
            dup
            ldc "Empty"
            invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 506
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.tail:I
            aaload
            astore 1 /* elem */
        start local 1 // java.lang.Object elem
         3: .line 507
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.tail:I
            aconst_null
            aastore
         4: .line 508
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.tail:I
            iconst_1
            iadd
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.capacity:I
            irem
            putfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.tail:I
         5: .line 509
            aload 0 /* this */
            dup
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
            iconst_1
            isub
            putfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
         6: .line 510
            aload 1 /* elem */
            areturn
        end local 1 // java.lang.Object elem
        end local 0 // jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/incubator/http/internal/hpack/HeaderTable$CircularBuffer<TE;>;
            3    7     1  elem  TE;
    Signature: ()TE;

  E get();
    descriptor: (I)Ljava/lang/Object;
    flags: (0x0000) 
    Code:
      stack=7, locals=3, args_size=2
        start local 0 // jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer this
        start local 1 // int index
         0: .line 515
            iload 1 /* index */
            iflt 1
            iload 1 /* index */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
            if_icmplt 6
         1: .line 516
      StackMap locals:
      StackMap stack:
            new java.lang.IndexOutOfBoundsException
            dup
         2: .line 517
            ldc "0 <= index <= capacity: index=%s, capacity=%s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 518
            iload 1 /* index */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.capacity:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
         4: .line 517
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         5: .line 516
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 520
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.tail:I
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
            iload 1 /* index */
            isub
            iconst_1
            isub
            iadd
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.capacity:I
            irem
            istore 2 /* idx */
        start local 2 // int idx
         7: .line 521
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
            iload 2 /* idx */
            aaload
            areturn
        end local 2 // int idx
        end local 1 // int index
        end local 0 // jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    8     0   this  Ljdk/incubator/http/internal/hpack/HeaderTable$CircularBuffer<TE;>;
            0    8     1  index  I
            7    8     2    idx  I
    Signature: (I)TE;
    MethodParameters:
       Name  Flags
      index  

  public void resize(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=3, args_size=2
        start local 0 // jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer this
        start local 1 // int newCapacity
         0: .line 525
            iload 1 /* newCapacity */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
            if_icmpge 6
         1: .line 526
            new java.lang.IllegalStateException
            dup
         2: .line 527
            ldc "newCapacity >= size: newCapacity=%s, size=%s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 528
            iload 1 /* newCapacity */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
         4: .line 527
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         5: .line 526
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 531
      StackMap locals:
      StackMap stack:
            iload 1 /* newCapacity */
            anewarray java.lang.Object
            astore 2 /* newElements */
        start local 2 // java.lang.Object[] newElements
         7: .line 533
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.tail:I
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.head:I
            if_icmplt 8
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
            ifne 10
         8: .line 534
      StackMap locals: java.lang.Object[]
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.tail:I
            aload 2 /* newElements */
            iconst_0
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         9: .line 535
            goto 12
        10: .line 536
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.tail:I
            aload 2 /* newElements */
            iconst_0
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
            arraylength
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.tail:I
            isub
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        11: .line 537
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
            iconst_0
            aload 2 /* newElements */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
            arraylength
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.tail:I
            isub
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.head:I
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        12: .line 540
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* newElements */
            putfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
        13: .line 541
            aload 0 /* this */
            iconst_0
            putfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.tail:I
        14: .line 542
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.size:I
            putfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.head:I
        15: .line 543
            aload 0 /* this */
            iload 1 /* newCapacity */
            putfield jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer.capacity:I
        16: .line 544
            return
        end local 2 // java.lang.Object[] newElements
        end local 1 // int newCapacity
        end local 0 // jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   17     0         this  Ljdk/incubator/http/internal/hpack/HeaderTable$CircularBuffer<TE;>;
            0   17     1  newCapacity  I
            7   17     2  newElements  [Ljava/lang/Object;
    MethodParameters:
             Name  Flags
      newCapacity  
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "HeaderTable.java"
NestHost: jdk.incubator.http.internal.hpack.HeaderTable
InnerClasses:
  final CircularBuffer = jdk.incubator.http.internal.hpack.HeaderTable$CircularBuffer of jdk.incubator.http.internal.hpack.HeaderTable