final class jdk.incubator.http.internal.hpack.StringWriter
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.incubator.http.internal.hpack.StringWriter
  super_class: java.lang.Object
{
  private static final int NEW;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

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

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

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

  private final jdk.incubator.http.internal.hpack.IntegerWriter intWriter;
    descriptor: Ljdk/incubator/http/internal/hpack/IntegerWriter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.incubator.http.internal.hpack.Huffman$Writer huffmanWriter;
    descriptor: Ljdk/incubator/http/internal/hpack/Huffman$Writer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.incubator.http.internal.hpack.ISO_8859_1$Writer plainWriter;
    descriptor: Ljdk/incubator/http/internal/hpack/ISO_8859_1$Writer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int state;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private boolean huffman;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.hpack.StringWriter this
         0: .line 47
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 54
            aload 0 /* this */
            new jdk.incubator.http.internal.hpack.IntegerWriter
            dup
            invokespecial jdk.incubator.http.internal.hpack.IntegerWriter.<init>:()V
            putfield jdk.incubator.http.internal.hpack.StringWriter.intWriter:Ljdk/incubator/http/internal/hpack/IntegerWriter;
         2: .line 55
            aload 0 /* this */
            new jdk.incubator.http.internal.hpack.Huffman$Writer
            dup
            invokespecial jdk.incubator.http.internal.hpack.Huffman$Writer.<init>:()V
            putfield jdk.incubator.http.internal.hpack.StringWriter.huffmanWriter:Ljdk/incubator/http/internal/hpack/Huffman$Writer;
         3: .line 56
            aload 0 /* this */
            new jdk.incubator.http.internal.hpack.ISO_8859_1$Writer
            dup
            invokespecial jdk.incubator.http.internal.hpack.ISO_8859_1$Writer.<init>:()V
            putfield jdk.incubator.http.internal.hpack.StringWriter.plainWriter:Ljdk/incubator/http/internal/hpack/ISO_8859_1$Writer;
         4: .line 58
            aload 0 /* this */
            iconst_0
            putfield jdk.incubator.http.internal.hpack.StringWriter.state:I
         5: .line 47
            return
        end local 0 // jdk.incubator.http.internal.hpack.StringWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/incubator/http/internal/hpack/StringWriter;

  jdk.incubator.http.internal.hpack.StringWriter configure(java.lang.CharSequence, boolean);
    descriptor: (Ljava/lang/CharSequence;Z)Ljdk/incubator/http/internal/hpack/StringWriter;
    flags: (0x0000) 
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // jdk.incubator.http.internal.hpack.StringWriter this
        start local 1 // java.lang.CharSequence input
        start local 2 // boolean huffman
         0: .line 62
            aload 0 /* this */
            aload 1 /* input */
            iconst_0
            aload 1 /* input */
            invokeinterface java.lang.CharSequence.length:()I
            iload 2 /* huffman */
            invokevirtual jdk.incubator.http.internal.hpack.StringWriter.configure:(Ljava/lang/CharSequence;IIZ)Ljdk/incubator/http/internal/hpack/StringWriter;
            areturn
        end local 2 // boolean huffman
        end local 1 // java.lang.CharSequence input
        end local 0 // jdk.incubator.http.internal.hpack.StringWriter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Ljdk/incubator/http/internal/hpack/StringWriter;
            0    1     1    input  Ljava/lang/CharSequence;
            0    1     2  huffman  Z
    MethodParameters:
         Name  Flags
      input    
      huffman  

  jdk.incubator.http.internal.hpack.StringWriter configure(java.lang.CharSequence, int, int, boolean);
    descriptor: (Ljava/lang/CharSequence;IIZ)Ljdk/incubator/http/internal/hpack/StringWriter;
    flags: (0x0000) 
    Code:
      stack=7, locals=5, args_size=5
        start local 0 // jdk.incubator.http.internal.hpack.StringWriter this
        start local 1 // java.lang.CharSequence input
        start local 2 // int start
        start local 3 // int end
        start local 4 // boolean huffman
         0: .line 69
            iload 2 /* start */
            iflt 1
            iload 3 /* end */
            iflt 1
            iload 3 /* end */
            aload 1 /* input */
            invokeinterface java.lang.CharSequence.length:()I
            if_icmpgt 1
            iload 2 /* start */
            iload 3 /* end */
            if_icmple 6
         1: .line 70
      StackMap locals:
      StackMap stack:
            new java.lang.IndexOutOfBoundsException
            dup
         2: .line 71
            ldc "input.length()=%s, start=%s, end=%s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 72
            aload 1 /* input */
            invokeinterface java.lang.CharSequence.length:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 2 /* start */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            iload 3 /* end */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
         4: .line 71
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         5: .line 70
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 74
      StackMap locals:
      StackMap stack:
            iload 4 /* huffman */
            ifne 10
         7: .line 75
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.plainWriter:Ljdk/incubator/http/internal/hpack/ISO_8859_1$Writer;
            aload 1 /* input */
            iload 2 /* start */
            iload 3 /* end */
            invokevirtual jdk.incubator.http.internal.hpack.ISO_8859_1$Writer.configure:(Ljava/lang/CharSequence;II)Ljdk/incubator/http/internal/hpack/ISO_8859_1$Writer;
            pop
         8: .line 76
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.intWriter:Ljdk/incubator/http/internal/hpack/IntegerWriter;
            iload 3 /* end */
            iload 2 /* start */
            isub
            bipush 7
            iconst_0
            invokevirtual jdk.incubator.http.internal.hpack.IntegerWriter.configure:(III)Ljdk/incubator/http/internal/hpack/IntegerWriter;
            pop
         9: .line 77
            goto 14
        10: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.huffmanWriter:Ljdk/incubator/http/internal/hpack/Huffman$Writer;
            aload 1 /* input */
            iload 2 /* start */
            iload 3 /* end */
            invokevirtual jdk.incubator.http.internal.hpack.Huffman$Writer.from:(Ljava/lang/CharSequence;II)Ljdk/incubator/http/internal/hpack/Huffman$Writer;
            pop
        11: .line 79
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.intWriter:Ljdk/incubator/http/internal/hpack/IntegerWriter;
            getstatic jdk.incubator.http.internal.hpack.Huffman.INSTANCE:Ljdk/incubator/http/internal/hpack/Huffman;
            aload 1 /* input */
            iload 2 /* start */
            iload 3 /* end */
            invokevirtual jdk.incubator.http.internal.hpack.Huffman.lengthOf:(Ljava/lang/CharSequence;II)I
        12: .line 80
            bipush 7
            sipush 128
        13: .line 79
            invokevirtual jdk.incubator.http.internal.hpack.IntegerWriter.configure:(III)Ljdk/incubator/http/internal/hpack/IntegerWriter;
            pop
        14: .line 83
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 4 /* huffman */
            putfield jdk.incubator.http.internal.hpack.StringWriter.huffman:Z
        15: .line 84
            aload 0 /* this */
            iconst_1
            putfield jdk.incubator.http.internal.hpack.StringWriter.state:I
        16: .line 85
            aload 0 /* this */
            areturn
        end local 4 // boolean huffman
        end local 3 // int end
        end local 2 // int start
        end local 1 // java.lang.CharSequence input
        end local 0 // jdk.incubator.http.internal.hpack.StringWriter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   17     0     this  Ljdk/incubator/http/internal/hpack/StringWriter;
            0   17     1    input  Ljava/lang/CharSequence;
            0   17     2    start  I
            0   17     3      end  I
            0   17     4  huffman  Z
    MethodParameters:
         Name  Flags
      input    
      start    
      end      
      huffman  

  boolean write(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Z
    flags: (0x0000) 
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // jdk.incubator.http.internal.hpack.StringWriter this
        start local 1 // java.nio.ByteBuffer output
         0: .line 89
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.state:I
            iconst_4
            if_icmpne 2
         1: .line 90
            iconst_1
            ireturn
         2: .line 92
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.state:I
            ifne 4
         3: .line 93
            new java.lang.IllegalStateException
            dup
            ldc "Configure first"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 95
      StackMap locals:
      StackMap stack:
            aload 1 /* output */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 6
         5: .line 96
            iconst_0
            ireturn
         6: .line 98
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.state:I
            iconst_1
            if_icmpne 11
         7: .line 99
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.intWriter:Ljdk/incubator/http/internal/hpack/IntegerWriter;
            aload 1 /* output */
            invokevirtual jdk.incubator.http.internal.hpack.IntegerWriter.write:(Ljava/nio/ByteBuffer;)Z
            ifeq 10
         8: .line 100
            aload 0 /* this */
            iconst_2
            putfield jdk.incubator.http.internal.hpack.StringWriter.state:I
         9: .line 101
            goto 11
        10: .line 102
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        11: .line 105
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.state:I
            iconst_2
            if_icmpne 20
        12: .line 106
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.huffman:Z
            ifeq 14
        13: .line 107
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.huffmanWriter:Ljdk/incubator/http/internal/hpack/Huffman$Writer;
            aload 1 /* output */
            invokevirtual jdk.incubator.http.internal.hpack.Huffman$Writer.write:(Ljava/nio/ByteBuffer;)Z
            goto 15
        14: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.plainWriter:Ljdk/incubator/http/internal/hpack/ISO_8859_1$Writer;
            aload 1 /* output */
            invokevirtual jdk.incubator.http.internal.hpack.ISO_8859_1$Writer.write:(Ljava/nio/ByteBuffer;)Z
        15: .line 106
      StackMap locals:
      StackMap stack: int
            istore 2 /* written */
        start local 2 // boolean written
        16: .line 109
            iload 2 /* written */
            ifeq 19
        17: .line 110
            aload 0 /* this */
            iconst_4
            putfield jdk.incubator.http.internal.hpack.StringWriter.state:I
        18: .line 111
            iconst_1
            ireturn
        19: .line 113
      StackMap locals: int
      StackMap stack:
            iconst_0
            ireturn
        end local 2 // boolean written
        20: .line 116
      StackMap locals:
      StackMap stack:
            new java.lang.InternalError
            dup
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.state:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.huffman:Z
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            aastore
            invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.nio.ByteBuffer output
        end local 0 // jdk.incubator.http.internal.hpack.StringWriter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   21     0     this  Ljdk/incubator/http/internal/hpack/StringWriter;
            0   21     1   output  Ljava/nio/ByteBuffer;
           16   20     2  written  Z
    MethodParameters:
        Name  Flags
      output  

  void reset();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.hpack.StringWriter this
         0: .line 120
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.intWriter:Ljdk/incubator/http/internal/hpack/IntegerWriter;
            invokevirtual jdk.incubator.http.internal.hpack.IntegerWriter.reset:()Ljdk/incubator/http/internal/hpack/IntegerWriter;
            pop
         1: .line 121
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.huffman:Z
            ifeq 4
         2: .line 122
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.huffmanWriter:Ljdk/incubator/http/internal/hpack/Huffman$Writer;
            invokevirtual jdk.incubator.http.internal.hpack.Huffman$Writer.reset:()Ljdk/incubator/http/internal/hpack/Huffman$Writer;
            pop
         3: .line 123
            goto 5
         4: .line 124
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.StringWriter.plainWriter:Ljdk/incubator/http/internal/hpack/ISO_8859_1$Writer;
            invokevirtual jdk.incubator.http.internal.hpack.ISO_8859_1$Writer.reset:()Ljdk/incubator/http/internal/hpack/ISO_8859_1$Writer;
            pop
         5: .line 126
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield jdk.incubator.http.internal.hpack.StringWriter.state:I
         6: .line 127
            return
        end local 0 // jdk.incubator.http.internal.hpack.StringWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/incubator/http/internal/hpack/StringWriter;
}
SourceFile: "StringWriter.java"
InnerClasses:
  final Writer = jdk.incubator.http.internal.hpack.Huffman$Writer of jdk.incubator.http.internal.hpack.Huffman
  public final Writer = jdk.incubator.http.internal.hpack.ISO_8859_1$Writer of jdk.incubator.http.internal.hpack.ISO_8859_1