public class java.io.BufferedWriter extends java.io.Writer
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: java.io.BufferedWriter
  super_class: java.io.Writer
{
  private java.io.Writer out;
    descriptor: Ljava/io/Writer;
    flags: (0x0002) ACC_PRIVATE

  private char[] cb;
    descriptor: [C
    flags: (0x0002) ACC_PRIVATE

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

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

  private static int defaultCharBufferSize;
    descriptor: I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 73
            sipush 8192
            putstatic java.io.BufferedWriter.defaultCharBufferSize:I
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.io.Writer);
    descriptor: (Ljava/io/Writer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.io.BufferedWriter this
        start local 1 // java.io.Writer out
         0: .line 82
            aload 0 /* this */
            aload 1 /* out */
            getstatic java.io.BufferedWriter.defaultCharBufferSize:I
            invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;I)V
         1: .line 83
            return
        end local 1 // java.io.Writer out
        end local 0 // java.io.BufferedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/io/BufferedWriter;
            0    2     1   out  Ljava/io/Writer;
    MethodParameters:
      Name  Flags
      out   

  public void <init>(java.io.Writer, int);
    descriptor: (Ljava/io/Writer;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // java.io.BufferedWriter this
        start local 1 // java.io.Writer out
        start local 2 // int sz
         0: .line 95
            aload 0 /* this */
            aload 1 /* out */
            invokespecial java.io.Writer.<init>:(Ljava/lang/Object;)V
         1: .line 96
            iload 2 /* sz */
            ifgt 3
         2: .line 97
            new java.lang.IllegalArgumentException
            dup
            ldc "Buffer size <= 0"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 98
      StackMap locals: java.io.BufferedWriter java.io.Writer int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* out */
            putfield java.io.BufferedWriter.out:Ljava/io/Writer;
         4: .line 99
            aload 0 /* this */
            iload 2 /* sz */
            newarray 5
            putfield java.io.BufferedWriter.cb:[C
         5: .line 100
            aload 0 /* this */
            iload 2 /* sz */
            putfield java.io.BufferedWriter.nChars:I
         6: .line 101
            aload 0 /* this */
            iconst_0
            putfield java.io.BufferedWriter.nextChar:I
         7: .line 102
            return
        end local 2 // int sz
        end local 1 // java.io.Writer out
        end local 0 // java.io.BufferedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljava/io/BufferedWriter;
            0    8     1   out  Ljava/io/Writer;
            0    8     2    sz  I
    MethodParameters:
      Name  Flags
      out   
      sz    

  private void ensureOpen();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.io.BufferedWriter this
         0: .line 106
            aload 0 /* this */
            getfield java.io.BufferedWriter.out:Ljava/io/Writer;
            ifnonnull 2
         1: .line 107
            new java.io.IOException
            dup
            ldc "Stream closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 108
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.io.BufferedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/io/BufferedWriter;
    Exceptions:
      throws java.io.IOException

  void flushBuffer();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // java.io.BufferedWriter this
         0: .line 116
            aload 0 /* this */
            getfield java.io.BufferedWriter.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 117
            aload 0 /* this */
            invokevirtual java.io.BufferedWriter.ensureOpen:()V
         2: .line 118
            aload 0 /* this */
            getfield java.io.BufferedWriter.nextChar:I
            ifne 5
         3: .line 119
            aload 1
            monitorexit
         4: return
         5: .line 120
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield java.io.BufferedWriter.out:Ljava/io/Writer;
            aload 0 /* this */
            getfield java.io.BufferedWriter.cb:[C
            iconst_0
            aload 0 /* this */
            getfield java.io.BufferedWriter.nextChar:I
            invokevirtual java.io.Writer.write:([CII)V
         6: .line 121
            aload 0 /* this */
            iconst_0
            putfield java.io.BufferedWriter.nextChar:I
         7: .line 116
            aload 1
            monitorexit
         8: goto 11
      StackMap locals:
      StackMap stack: java.lang.Throwable
         9: aload 1
            monitorexit
        10: athrow
        11: .line 123
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.io.BufferedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Ljava/io/BufferedWriter;
      Exception table:
        from    to  target  type
           1     4       9  any
           5     8       9  any
           9    10       9  any
    Exceptions:
      throws java.io.IOException

  public void write(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.io.BufferedWriter this
        start local 1 // int c
         0: .line 131
            aload 0 /* this */
            getfield java.io.BufferedWriter.lock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         1: .line 132
            aload 0 /* this */
            invokevirtual java.io.BufferedWriter.ensureOpen:()V
         2: .line 133
            aload 0 /* this */
            getfield java.io.BufferedWriter.nextChar:I
            aload 0 /* this */
            getfield java.io.BufferedWriter.nChars:I
            if_icmplt 4
         3: .line 134
            aload 0 /* this */
            invokevirtual java.io.BufferedWriter.flushBuffer:()V
         4: .line 135
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield java.io.BufferedWriter.cb:[C
            aload 0 /* this */
            dup
            getfield java.io.BufferedWriter.nextChar:I
            dup_x1
            iconst_1
            iadd
            putfield java.io.BufferedWriter.nextChar:I
            iload 1 /* c */
            i2c
            castore
         5: .line 131
            aload 2
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
         9: .line 137
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int c
        end local 0 // java.io.BufferedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Ljava/io/BufferedWriter;
            0   10     1     c  I
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      c     

  private int min(int, int);
    descriptor: (II)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // java.io.BufferedWriter this
        start local 1 // int a
        start local 2 // int b
         0: .line 144
            iload 1 /* a */
            iload 2 /* b */
            if_icmpge 1
            iload 1 /* a */
            ireturn
         1: .line 145
      StackMap locals:
      StackMap stack:
            iload 2 /* b */
            ireturn
        end local 2 // int b
        end local 1 // int a
        end local 0 // java.io.BufferedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/io/BufferedWriter;
            0    2     1     a  I
            0    2     2     b  I
    MethodParameters:
      Name  Flags
      a     
      b     

  public void write(char[], int, int);
    descriptor: ([CII)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=4
        start local 0 // java.io.BufferedWriter this
        start local 1 // char[] cbuf
        start local 2 // int off
        start local 3 // int len
         0: .line 170
            aload 0 /* this */
            getfield java.io.BufferedWriter.lock:Ljava/lang/Object;
            dup
            astore 4
            monitorenter
         1: .line 171
            aload 0 /* this */
            invokevirtual java.io.BufferedWriter.ensureOpen:()V
         2: .line 172
            iload 2 /* off */
            iflt 4
            iload 2 /* off */
            aload 1 /* cbuf */
            arraylength
            if_icmpgt 4
            iload 3 /* len */
            iflt 4
         3: .line 173
            iload 2 /* off */
            iload 3 /* len */
            iadd
            aload 1 /* cbuf */
            arraylength
            if_icmpgt 4
            iload 2 /* off */
            iload 3 /* len */
            iadd
            ifge 5
         4: .line 174
      StackMap locals: java.lang.Object
      StackMap stack:
            new java.lang.IndexOutOfBoundsException
            dup
            invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
            athrow
         5: .line 175
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            ifne 8
         6: .line 176
            aload 4
            monitorexit
         7: return
         8: .line 179
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            aload 0 /* this */
            getfield java.io.BufferedWriter.nChars:I
            if_icmplt 13
         9: .line 183
            aload 0 /* this */
            invokevirtual java.io.BufferedWriter.flushBuffer:()V
        10: .line 184
            aload 0 /* this */
            getfield java.io.BufferedWriter.out:Ljava/io/Writer;
            aload 1 /* cbuf */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.Writer.write:([CII)V
        11: .line 185
            aload 4
            monitorexit
        12: return
        13: .line 188
      StackMap locals:
      StackMap stack:
            iload 2 /* off */
            istore 5 /* b */
        start local 5 // int b
        14: iload 2 /* off */
            iload 3 /* len */
            iadd
            istore 6 /* t */
        start local 6 // int t
        15: .line 189
            goto 22
        16: .line 190
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield java.io.BufferedWriter.nChars:I
            aload 0 /* this */
            getfield java.io.BufferedWriter.nextChar:I
            isub
            iload 6 /* t */
            iload 5 /* b */
            isub
            invokevirtual java.io.BufferedWriter.min:(II)I
            istore 7 /* d */
        start local 7 // int d
        17: .line 191
            aload 1 /* cbuf */
            iload 5 /* b */
            aload 0 /* this */
            getfield java.io.BufferedWriter.cb:[C
            aload 0 /* this */
            getfield java.io.BufferedWriter.nextChar:I
            iload 7 /* d */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        18: .line 192
            iload 5 /* b */
            iload 7 /* d */
            iadd
            istore 5 /* b */
        19: .line 193
            aload 0 /* this */
            dup
            getfield java.io.BufferedWriter.nextChar:I
            iload 7 /* d */
            iadd
            putfield java.io.BufferedWriter.nextChar:I
        20: .line 194
            aload 0 /* this */
            getfield java.io.BufferedWriter.nextChar:I
            aload 0 /* this */
            getfield java.io.BufferedWriter.nChars:I
            if_icmplt 22
        21: .line 195
            aload 0 /* this */
            invokevirtual java.io.BufferedWriter.flushBuffer:()V
        end local 7 // int d
        22: .line 189
      StackMap locals:
      StackMap stack:
            iload 5 /* b */
            iload 6 /* t */
            if_icmplt 16
        end local 6 // int t
        end local 5 // int b
        23: .line 170
            aload 4
            monitorexit
        24: goto 27
      StackMap locals: java.io.BufferedWriter char[] int int java.lang.Object
      StackMap stack: java.lang.Throwable
        25: aload 4
            monitorexit
        26: athrow
        27: .line 198
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // char[] cbuf
        end local 0 // java.io.BufferedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   28     0  this  Ljava/io/BufferedWriter;
            0   28     1  cbuf  [C
            0   28     2   off  I
            0   28     3   len  I
           14   23     5     b  I
           15   23     6     t  I
           17   22     7     d  I
      Exception table:
        from    to  target  type
           1     7      25  any
           8    12      25  any
          13    24      25  any
          25    26      25  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      cbuf  
      off   
      len   

  public void write(java.lang.String, int, int);
    descriptor: (Ljava/lang/String;II)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=4
        start local 0 // java.io.BufferedWriter this
        start local 1 // java.lang.String s
        start local 2 // int off
        start local 3 // int len
         0: .line 223
            aload 0 /* this */
            getfield java.io.BufferedWriter.lock:Ljava/lang/Object;
            dup
            astore 4
            monitorenter
         1: .line 224
            aload 0 /* this */
            invokevirtual java.io.BufferedWriter.ensureOpen:()V
         2: .line 226
            iload 2 /* off */
            istore 5 /* b */
        start local 5 // int b
         3: iload 2 /* off */
            iload 3 /* len */
            iadd
            istore 6 /* t */
        start local 6 // int t
         4: .line 227
            goto 11
         5: .line 228
      StackMap locals: java.lang.Object int int
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield java.io.BufferedWriter.nChars:I
            aload 0 /* this */
            getfield java.io.BufferedWriter.nextChar:I
            isub
            iload 6 /* t */
            iload 5 /* b */
            isub
            invokevirtual java.io.BufferedWriter.min:(II)I
            istore 7 /* d */
        start local 7 // int d
         6: .line 229
            aload 1 /* s */
            iload 5 /* b */
            iload 5 /* b */
            iload 7 /* d */
            iadd
            aload 0 /* this */
            getfield java.io.BufferedWriter.cb:[C
            aload 0 /* this */
            getfield java.io.BufferedWriter.nextChar:I
            invokevirtual java.lang.String.getChars:(II[CI)V
         7: .line 230
            iload 5 /* b */
            iload 7 /* d */
            iadd
            istore 5 /* b */
         8: .line 231
            aload 0 /* this */
            dup
            getfield java.io.BufferedWriter.nextChar:I
            iload 7 /* d */
            iadd
            putfield java.io.BufferedWriter.nextChar:I
         9: .line 232
            aload 0 /* this */
            getfield java.io.BufferedWriter.nextChar:I
            aload 0 /* this */
            getfield java.io.BufferedWriter.nChars:I
            if_icmplt 11
        10: .line 233
            aload 0 /* this */
            invokevirtual java.io.BufferedWriter.flushBuffer:()V
        end local 7 // int d
        11: .line 227
      StackMap locals:
      StackMap stack:
            iload 5 /* b */
            iload 6 /* t */
            if_icmplt 5
        end local 6 // int t
        end local 5 // int b
        12: .line 223
            aload 4
            monitorexit
        13: goto 16
      StackMap locals: java.io.BufferedWriter java.lang.String int int java.lang.Object
      StackMap stack: java.lang.Throwable
        14: aload 4
            monitorexit
        15: athrow
        16: .line 236
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // java.lang.String s
        end local 0 // java.io.BufferedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Ljava/io/BufferedWriter;
            0   17     1     s  Ljava/lang/String;
            0   17     2   off  I
            0   17     3   len  I
            3   12     5     b  I
            4   12     6     t  I
            6   11     7     d  I
      Exception table:
        from    to  target  type
           1    13      14  any
          14    15      14  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      s     
      off   
      len   

  public void newLine();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.io.BufferedWriter this
         0: .line 246
            aload 0 /* this */
            invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         1: .line 247
            return
        end local 0 // java.io.BufferedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/io/BufferedWriter;
    Exceptions:
      throws java.io.IOException

  public void flush();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.io.BufferedWriter this
         0: .line 255
            aload 0 /* this */
            getfield java.io.BufferedWriter.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 256
            aload 0 /* this */
            invokevirtual java.io.BufferedWriter.flushBuffer:()V
         2: .line 257
            aload 0 /* this */
            getfield java.io.BufferedWriter.out:Ljava/io/Writer;
            invokevirtual java.io.Writer.flush:()V
         3: .line 255
            aload 1
            monitorexit
         4: goto 7
      StackMap locals: java.io.BufferedWriter java.lang.Object
      StackMap stack: java.lang.Throwable
         5: aload 1
            monitorexit
         6: athrow
         7: .line 259
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.io.BufferedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljava/io/BufferedWriter;
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  any
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // java.io.BufferedWriter this
         0: .line 263
            aload 0 /* this */
            getfield java.io.BufferedWriter.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 264
            aload 0 /* this */
            getfield java.io.BufferedWriter.out:Ljava/io/Writer;
            ifnonnull 4
         2: .line 265
            aload 1
            monitorexit
         3: return
         4: .line 267
      StackMap locals: java.lang.Object
      StackMap stack:
            aconst_null
            astore 2
            aconst_null
            astore 3
         5: aload 0 /* this */
            getfield java.io.BufferedWriter.out:Ljava/io/Writer;
            astore 4 /* w */
        start local 4 // java.io.Writer w
         6: .line 268
            aload 0 /* this */
            invokevirtual java.io.BufferedWriter.flushBuffer:()V
         7: .line 269
            aload 4 /* w */
            ifnull 17
            aload 4 /* w */
            invokevirtual java.io.Writer.close:()V
            goto 17
      StackMap locals: java.io.BufferedWriter java.lang.Object java.lang.Throwable java.lang.Throwable java.io.Writer
      StackMap stack: java.lang.Throwable
         8: astore 2
            aload 4 /* w */
            ifnull 9
            aload 4 /* w */
            invokevirtual java.io.Writer.close:()V
        end local 4 // java.io.Writer w
      StackMap locals:
      StackMap stack:
         9: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: astore 3
            aload 2
            ifnonnull 11
            aload 3
            astore 2
            goto 12
      StackMap locals:
      StackMap stack:
        11: aload 2
            aload 3
            if_acmpeq 12
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        12: aload 2
            athrow
      StackMap locals: java.io.BufferedWriter java.lang.Object
      StackMap stack: java.lang.Throwable
        13: astore 5
        14: .line 270
            aload 0 /* this */
            aconst_null
            putfield java.io.BufferedWriter.out:Ljava/io/Writer;
        15: .line 271
            aload 0 /* this */
            aconst_null
            putfield java.io.BufferedWriter.cb:[C
        16: .line 272
            aload 5
            athrow
        17: .line 270
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield java.io.BufferedWriter.out:Ljava/io/Writer;
        18: .line 271
            aload 0 /* this */
            aconst_null
            putfield java.io.BufferedWriter.cb:[C
        19: .line 263
            aload 1
            monitorexit
        20: goto 23
      StackMap locals:
      StackMap stack: java.lang.Throwable
        21: aload 1
            monitorexit
        22: athrow
        23: .line 274
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.io.BufferedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   24     0  this  Ljava/io/BufferedWriter;
            6    9     4     w  Ljava/io/Writer;
      Exception table:
        from    to  target  type
           6     7       8  any
           5    10      10  any
           4    13      13  any
           1     3      21  any
           4    20      21  any
          21    22      21  any
    Exceptions:
      throws java.io.IOException
}
SourceFile: "BufferedWriter.java"