public class jdk.internal.org.jline.terminal.impl.CursorSupport
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.org.jline.terminal.impl.CursorSupport
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.CursorSupport this
         0: .line 22
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.internal.org.jline.terminal.impl.CursorSupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/terminal/impl/CursorSupport;

  public static jdk.internal.org.jline.terminal.Cursor getCursorPosition(jdk.internal.org.jline.terminal.Terminal, java.util.function.IntConsumer);
    descriptor: (Ljdk/internal/org/jline/terminal/Terminal;Ljava/util/function/IntConsumer;)Ljdk/internal/org/jline/terminal/Cursor;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=15, args_size=2
        start local 0 // jdk.internal.org.jline.terminal.Terminal terminal
        start local 1 // java.util.function.IntConsumer discarded
         0: .line 26
            aload 0 /* terminal */
            getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.user6:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
            invokeinterface jdk.internal.org.jline.terminal.Terminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
            astore 2 /* u6 */
        start local 2 // java.lang.String u6
         1: .line 27
            aload 0 /* terminal */
            getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.user7:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
            invokeinterface jdk.internal.org.jline.terminal.Terminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
            astore 3 /* u7 */
        start local 3 // java.lang.String u7
         2: .line 28
            aload 2 /* u6 */
            ifnull 3
            aload 3 /* u7 */
            ifnonnull 4
         3: .line 29
      StackMap locals: java.lang.String java.lang.String
      StackMap stack:
            aconst_null
            areturn
         4: .line 32
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 4 /* inc1 */
        start local 4 // boolean inc1
         5: .line 33
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 5 /* patb */
        start local 5 // java.lang.StringBuilder patb
         6: .line 34
            iconst_0
            istore 6 /* index */
        start local 6 // int index
         7: .line 35
            goto 26
         8: .line 37
      StackMap locals: int java.lang.StringBuilder int
      StackMap stack:
            aload 2 /* u6 */
            iload 6 /* index */
            iinc 6 /* index */ 1
            invokevirtual java.lang.String.charAt:(I)C
            dup
            istore 7 /* ch */
        start local 7 // char ch
         9: lookupswitch { // 2
                   37: 14
                   92: 10
              default: 23
          }
        10: .line 39
      StackMap locals: int
      StackMap stack:
            aload 2 /* u6 */
            iload 6 /* index */
            iinc 6 /* index */ 1
            invokevirtual java.lang.String.charAt:(I)C
            lookupswitch { // 2
                   69: 11
                  101: 11
              default: 13
          }
        11: .line 42
      StackMap locals:
      StackMap stack:
            aload 5 /* patb */
            ldc "\\x1b"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        12: .line 43
            goto 26
        13: .line 45
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            invokespecial java.lang.IllegalArgumentException.<init>:()V
            athrow
        14: .line 49
      StackMap locals:
      StackMap stack:
            aload 2 /* u6 */
            iload 6 /* index */
            iinc 6 /* index */ 1
            invokevirtual java.lang.String.charAt:(I)C
            istore 7 /* ch */
        15: .line 50
            iload 7 /* ch */
            lookupswitch { // 3
                   37: 16
                  100: 20
                  105: 18
              default: 22
          }
        16: .line 52
      StackMap locals:
      StackMap stack:
            aload 5 /* patb */
            bipush 37
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        17: .line 53
            goto 26
        18: .line 55
      StackMap locals:
      StackMap stack:
            iconst_1
            istore 4 /* inc1 */
        19: .line 56
            goto 26
        20: .line 58
      StackMap locals:
      StackMap stack:
            aload 5 /* patb */
            ldc "([0-9]+)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        21: .line 59
            goto 26
        22: .line 61
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            invokespecial java.lang.IllegalArgumentException.<init>:()V
            athrow
        23: .line 65
      StackMap locals:
      StackMap stack:
            iload 7 /* ch */
            tableswitch { // 91 - 91
                   91: 24
              default: 25
          }
        24: .line 67
      StackMap locals:
      StackMap stack:
            aload 5 /* patb */
            bipush 92
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        25: .line 70
      StackMap locals:
      StackMap stack:
            aload 5 /* patb */
            iload 7 /* ch */
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 7 // char ch
        26: .line 35
      StackMap locals:
      StackMap stack:
            iload 6 /* index */
            aload 2 /* u6 */
            invokevirtual java.lang.String.length:()I
            if_icmplt 8
        27: .line 74
            aload 5 /* patb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            astore 7 /* pattern */
        start local 7 // java.util.regex.Pattern pattern
        28: .line 76
            aload 0 /* terminal */
            invokeinterface jdk.internal.org.jline.terminal.Terminal.writer:()Ljava/io/PrintWriter;
            aload 3 /* u7 */
            iconst_0
            anewarray java.lang.Object
            invokestatic jdk.internal.org.jline.utils.Curses.tputs:(Ljava/lang/Appendable;Ljava/lang/String;[Ljava/lang/Object;)V
        29: .line 77
            aload 0 /* terminal */
            invokeinterface jdk.internal.org.jline.terminal.Terminal.flush:()V
        30: .line 78
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 8 /* sb */
        start local 8 // java.lang.StringBuilder sb
        31: .line 79
            iconst_0
            istore 9 /* start */
        start local 9 // int start
        32: .line 81
      StackMap locals: java.util.regex.Pattern java.lang.StringBuilder int
      StackMap stack:
            aload 0 /* terminal */
            invokeinterface jdk.internal.org.jline.terminal.Terminal.reader:()Ljdk/internal/org/jline/utils/NonBlockingReader;
            invokevirtual jdk.internal.org.jline.utils.NonBlockingReader.read:()I
            istore 10 /* c */
        start local 10 // int c
        33: .line 82
            iload 10 /* c */
            ifge 35
        34: .line 83
            aconst_null
            areturn
        35: .line 85
      StackMap locals: int
      StackMap stack:
            aload 8 /* sb */
            iload 10 /* c */
            i2c
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        36: .line 86
            aload 7 /* pattern */
            aload 8 /* sb */
            iload 9 /* start */
            invokevirtual java.lang.StringBuilder.substring:(I)Ljava/lang/String;
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            astore 11 /* matcher */
        start local 11 // java.util.regex.Matcher matcher
        37: .line 87
            aload 11 /* matcher */
            invokevirtual java.util.regex.Matcher.matches:()Z
            ifeq 51
        38: .line 88
            aload 11 /* matcher */
            iconst_1
            invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            istore 12 /* y */
        start local 12 // int y
        39: .line 89
            aload 11 /* matcher */
            iconst_2
            invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            istore 13 /* x */
        start local 13 // int x
        40: .line 90
            iload 4 /* inc1 */
            ifeq 43
        41: .line 91
            iinc 13 /* x */ -1
        42: .line 92
            iinc 12 /* y */ -1
        43: .line 94
      StackMap locals: java.util.regex.Matcher int int
      StackMap stack:
            aload 1 /* discarded */
            ifnull 49
        44: .line 95
            iconst_0
            istore 14 /* i */
        start local 14 // int i
        45: goto 48
        46: .line 96
      StackMap locals: int
      StackMap stack:
            aload 1 /* discarded */
            aload 8 /* sb */
            iload 14 /* i */
            invokevirtual java.lang.StringBuilder.charAt:(I)C
            invokeinterface java.util.function.IntConsumer.accept:(I)V
        47: .line 95
            iinc 14 /* i */ 1
      StackMap locals:
      StackMap stack:
        48: iload 14 /* i */
            iload 9 /* start */
            if_icmplt 46
        end local 14 // int i
        49: .line 99
      StackMap locals:
      StackMap stack:
            new jdk.internal.org.jline.terminal.Cursor
            dup
            iload 13 /* x */
            iload 12 /* y */
            invokespecial jdk.internal.org.jline.terminal.Cursor.<init>:(II)V
        50: areturn
        end local 13 // int x
        end local 12 // int y
        51: .line 100
      StackMap locals:
      StackMap stack:
            aload 11 /* matcher */
            invokevirtual java.util.regex.Matcher.hitEnd:()Z
            ifne 32
        52: .line 101
            iinc 9 /* start */ 1
        end local 11 // java.util.regex.Matcher matcher
        end local 10 // int c
        53: .line 80
            goto 32
        end local 9 // int start
        end local 8 // java.lang.StringBuilder sb
        end local 7 // java.util.regex.Pattern pattern
        end local 6 // int index
        end local 5 // java.lang.StringBuilder patb
        end local 4 // boolean inc1
        end local 3 // java.lang.String u7
        end local 2 // java.lang.String u6
        54: .line 104
      StackMap locals: jdk.internal.org.jline.terminal.Terminal java.util.function.IntConsumer
      StackMap stack: java.io.IOException
            astore 2 /* e */
        start local 2 // java.io.IOException e
        55: .line 105
            new java.io.IOError
            dup
            aload 2 /* e */
            invokespecial java.io.IOError.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.io.IOException e
        end local 1 // java.util.function.IntConsumer discarded
        end local 0 // jdk.internal.org.jline.terminal.Terminal terminal
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   56     0   terminal  Ljdk/internal/org/jline/terminal/Terminal;
            0   56     1  discarded  Ljava/util/function/IntConsumer;
            1   54     2         u6  Ljava/lang/String;
            2   54     3         u7  Ljava/lang/String;
            5   54     4       inc1  Z
            6   54     5       patb  Ljava/lang/StringBuilder;
            7   54     6      index  I
            9   26     7         ch  C
           28   54     7    pattern  Ljava/util/regex/Pattern;
           31   54     8         sb  Ljava/lang/StringBuilder;
           32   54     9      start  I
           33   53    10          c  I
           37   53    11    matcher  Ljava/util/regex/Matcher;
           39   51    12          y  I
           40   51    13          x  I
           45   49    14          i  I
           55   56     2          e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     3      54  Class java.io.IOException
           4    34      54  Class java.io.IOException
          35    50      54  Class java.io.IOException
          51    54      54  Class java.io.IOException
    MethodParameters:
           Name  Flags
      terminal   
      discarded  
}
SourceFile: "CursorSupport.java"
InnerClasses:
  public final Capability = jdk.internal.org.jline.utils.InfoCmp$Capability of jdk.internal.org.jline.utils.InfoCmp