public class jdk.internal.jline.console.CursorBuffer
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.jline.console.CursorBuffer
  super_class: java.lang.Object
{
  private boolean overTyping;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  public int cursor;
    descriptor: I
    flags: (0x0001) ACC_PUBLIC

  public final java.lang.StringBuilder buffer;
    descriptor: Ljava/lang/StringBuilder;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.CursorBuffer this
         0: .line 20
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 22
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.console.CursorBuffer.overTyping:Z
         2: .line 24
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.console.CursorBuffer.cursor:I
         3: .line 26
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            putfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
         4: .line 20
            return
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/jline/console/CursorBuffer;

  public jdk.internal.jline.console.CursorBuffer copy();
    descriptor: ()Ljdk/internal/jline/console/CursorBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.internal.jline.console.CursorBuffer this
         0: .line 29
            new jdk.internal.jline.console.CursorBuffer
            dup
            invokespecial jdk.internal.jline.console.CursorBuffer.<init>:()V
            astore 1 /* that */
        start local 1 // jdk.internal.jline.console.CursorBuffer that
         1: .line 30
            aload 1 /* that */
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.overTyping:Z
            putfield jdk.internal.jline.console.CursorBuffer.overTyping:Z
         2: .line 31
            aload 1 /* that */
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            putfield jdk.internal.jline.console.CursorBuffer.cursor:I
         3: .line 32
            aload 1 /* that */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.CursorBuffer.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         4: .line 34
            aload 1 /* that */
            areturn
        end local 1 // jdk.internal.jline.console.CursorBuffer that
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/jline/console/CursorBuffer;
            1    5     1  that  Ljdk/internal/jline/console/CursorBuffer;

  public boolean isOverTyping();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.CursorBuffer this
         0: .line 38
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.overTyping:Z
            ireturn
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/CursorBuffer;

  public void setOverTyping(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.CursorBuffer this
        start local 1 // boolean b
         0: .line 42
            aload 0 /* this */
            iload 1 /* b */
            putfield jdk.internal.jline.console.CursorBuffer.overTyping:Z
         1: .line 43
            return
        end local 1 // boolean b
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/jline/console/CursorBuffer;
            0    2     1     b  Z
    MethodParameters:
      Name  Flags
      b     final

  public int length();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.CursorBuffer this
         0: .line 46
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.length:()I
            ireturn
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/CursorBuffer;

  public char nextChar();
    descriptor: ()C
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.CursorBuffer this
         0: .line 50
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.length:()I
            if_icmpne 2
         1: .line 51
            iconst_0
            ireturn
         2: .line 53
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            invokevirtual java.lang.StringBuilder.charAt:(I)C
            ireturn
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/jline/console/CursorBuffer;

  public char current();
    descriptor: ()C
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.CursorBuffer this
         0: .line 58
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            ifgt 2
         1: .line 59
            iconst_0
            ireturn
         2: .line 62
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            iconst_1
            isub
            invokevirtual java.lang.StringBuilder.charAt:(I)C
            ireturn
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/jline/console/CursorBuffer;

  public void write(char);
    descriptor: (C)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.CursorBuffer this
        start local 1 // char c
         0: .line 73
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            aload 0 /* this */
            dup
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            dup_x1
            iconst_1
            iadd
            putfield jdk.internal.jline.console.CursorBuffer.cursor:I
            iload 1 /* c */
            invokevirtual java.lang.StringBuilder.insert:(IC)Ljava/lang/StringBuilder;
            pop
         1: .line 74
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.CursorBuffer.isOverTyping:()Z
            ifeq 3
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.length:()I
            if_icmpge 3
         2: .line 75
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            invokevirtual java.lang.StringBuilder.deleteCharAt:(I)Ljava/lang/StringBuilder;
            pop
         3: .line 77
      StackMap locals:
      StackMap stack:
            return
        end local 1 // char c
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/jline/console/CursorBuffer;
            0    4     1     c  C
    MethodParameters:
      Name  Flags
      c     final

  public void write(java.lang.CharSequence);
    descriptor: (Ljava/lang/CharSequence;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.CursorBuffer this
        start local 1 // java.lang.CharSequence str
         0: .line 83
            aload 1 /* str */
            invokestatic jdk.internal.jline.internal.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 85
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.length:()I
            ifne 4
         2: .line 86
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            aload 1 /* str */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            pop
         3: .line 87
            goto 5
         4: .line 89
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            aload 1 /* str */
            invokevirtual java.lang.StringBuilder.insert:(ILjava/lang/CharSequence;)Ljava/lang/StringBuilder;
            pop
         5: .line 92
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            aload 1 /* str */
            invokeinterface java.lang.CharSequence.length:()I
            iadd
            putfield jdk.internal.jline.console.CursorBuffer.cursor:I
         6: .line 94
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.CursorBuffer.isOverTyping:()Z
            ifeq 8
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.length:()I
            if_icmpge 8
         7: .line 95
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            aload 1 /* str */
            invokeinterface java.lang.CharSequence.length:()I
            iadd
            invokevirtual java.lang.StringBuilder.delete:(II)Ljava/lang/StringBuilder;
            pop
         8: .line 97
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.CharSequence str
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/internal/jline/console/CursorBuffer;
            0    9     1   str  Ljava/lang/CharSequence;
    MethodParameters:
      Name  Flags
      str   final

  public boolean clear();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.CursorBuffer this
         0: .line 100
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.length:()I
            ifne 2
         1: .line 101
            iconst_0
            ireturn
         2: .line 104
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            iconst_0
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.length:()I
            invokevirtual java.lang.StringBuilder.delete:(II)Ljava/lang/StringBuilder;
            pop
         3: .line 105
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.console.CursorBuffer.cursor:I
         4: .line 106
            iconst_1
            ireturn
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/jline/console/CursorBuffer;

  public java.lang.String upToCursor();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.CursorBuffer this
         0: .line 110
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            ifgt 2
         1: .line 111
            ldc ""
            areturn
         2: .line 114
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            iconst_0
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.cursor:I
            invokevirtual java.lang.StringBuilder.substring:(II)Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/jline/console/CursorBuffer;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.CursorBuffer this
         0: .line 119
            aload 0 /* this */
            getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.jline.console.CursorBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/CursorBuffer;
}
SourceFile: "CursorBuffer.java"