public class jdk.internal.org.jline.reader.impl.history.DefaultHistory implements jdk.internal.org.jline.reader.History
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.org.jline.reader.impl.history.DefaultHistory
  super_class: java.lang.Object
{
  public static final int DEFAULT_HISTORY_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 500

  public static final int DEFAULT_HISTORY_FILE_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 10000

  private final java.util.LinkedList<jdk.internal.org.jline.reader.History$Entry> items;
    descriptor: Ljava/util/LinkedList;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/LinkedList<Ljdk/internal/org/jline/reader/History$Entry;>;

  private jdk.internal.org.jline.reader.LineReader reader;
    descriptor: Ljdk/internal/org/jline/reader/LineReader;
    flags: (0x0002) ACC_PRIVATE

  private java.util.Map<java.lang.String, jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData> historyFiles;
    descriptor: Ljava/util/Map;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;>;

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

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

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 44
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 36
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
         2: .line 40
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.historyFiles:Ljava/util/Map;
         3: .line 41
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
         4: .line 42
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         5: .line 45
            return
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  public void <init>(jdk.internal.org.jline.reader.LineReader);
    descriptor: (Ljdk/internal/org/jline/reader/LineReader;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // jdk.internal.org.jline.reader.LineReader reader
         0: .line 47
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 36
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
         2: .line 40
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.historyFiles:Ljava/util/Map;
         3: .line 41
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
         4: .line 42
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         5: .line 48
            aload 0 /* this */
            aload 1 /* reader */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.attach:(Ljdk/internal/org/jline/reader/LineReader;)V
         6: .line 49
            return
        end local 1 // jdk.internal.org.jline.reader.LineReader reader
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    7     1  reader  Ljdk/internal/org/jline/reader/LineReader;
    MethodParameters:
        Name  Flags
      reader  

  private java.nio.file.Path getPath();
    descriptor: ()Ljava/nio/file/Path;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 52
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            ifnull 1
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            invokeinterface jdk.internal.org.jline.reader.LineReader.getVariables:()Ljava/util/Map;
            ldc "history-file"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            goto 2
      StackMap locals:
      StackMap stack:
         1: aconst_null
      StackMap locals:
      StackMap stack: java.lang.Object
         2: astore 1 /* obj */
        start local 1 // java.lang.Object obj
         3: .line 53
            aload 1 /* obj */
            instanceof java.nio.file.Path
            ifeq 5
         4: .line 54
            aload 1 /* obj */
            checkcast java.nio.file.Path
            areturn
         5: .line 55
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 1 /* obj */
            instanceof java.io.File
            ifeq 7
         6: .line 56
            aload 1 /* obj */
            checkcast java.io.File
            invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
            areturn
         7: .line 57
      StackMap locals:
      StackMap stack:
            aload 1 /* obj */
            ifnull 9
         8: .line 58
            aload 1 /* obj */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            areturn
         9: .line 60
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 1 // java.lang.Object obj
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            3   10     1   obj  Ljava/lang/Object;

  public void attach(jdk.internal.org.jline.reader.LineReader);
    descriptor: (Ljdk/internal/org/jline/reader/LineReader;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // jdk.internal.org.jline.reader.LineReader reader
         0: .line 66
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            aload 1 /* reader */
            if_acmpeq 7
         1: .line 67
            aload 0 /* this */
            aload 1 /* reader */
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
         2: .line 69
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.load:()V
         3: .line 70
            goto 7
         4: .line 71
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
         5: iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         6: .line 72
            ldc "Failed to load history"
            aastore
            dup
            iconst_1
            aload 2 /* e */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.warn:([Ljava/lang/Object;)V
        end local 2 // java.lang.Exception e
         7: .line 75
      StackMap locals:
      StackMap stack:
            return
        end local 1 // jdk.internal.org.jline.reader.LineReader reader
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    8     1  reader  Ljdk/internal/org/jline/reader/LineReader;
            5    7     2       e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.IllegalArgumentException
           2     3       4  Class java.io.IOException
    MethodParameters:
        Name  Flags
      reader  

  public void load();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=5, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 79
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getPath:()Ljava/nio/file/Path;
            astore 1 /* path */
        start local 1 // java.nio.file.Path path
         1: .line 80
            aload 1 /* path */
            ifnull 21
         2: .line 82
            aload 1 /* path */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 21
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 83
            ldc "Loading history from: "
            aastore
            dup
            iconst_1
            aload 1 /* path */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.trace:([Ljava/lang/Object;)V
         4: .line 84
            aconst_null
            astore 2
            aconst_null
            astore 3
         5: aload 1 /* path */
            invokestatic java.nio.file.Files.newBufferedReader:(Ljava/nio/file/Path;)Ljava/io/BufferedReader;
            astore 4 /* reader */
        start local 4 // java.io.BufferedReader reader
         6: .line 85
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalClear:()V
         7: .line 86
            aload 4 /* reader */
            invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
            aload 0 /* this */
            aload 1 /* path */
            invokedynamic accept(Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;Ljava/nio/file/Path;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/internal/org/jline/reader/impl/history/DefaultHistory.lambda$0(Ljava/nio/file/Path;Ljava/lang/String;)V (7)
                  (Ljava/lang/String;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
         8: .line 87
            aload 0 /* this */
            aload 1 /* path */
            new jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData
            dup
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            invokespecial jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData.<init>:(Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;II)V
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.setHistoryFileData:(Ljava/nio/file/Path;Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;)V
         9: .line 88
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.maybeResize:()V
        10: .line 89
            aload 4 /* reader */
            ifnull 21
            aload 4 /* reader */
            invokevirtual java.io.BufferedReader.close:()V
            goto 21
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.BufferedReader
      StackMap stack: java.lang.Throwable
        11: astore 2
            aload 4 /* reader */
            ifnull 12
            aload 4 /* reader */
            invokevirtual java.io.BufferedReader.close:()V
        end local 4 // java.io.BufferedReader reader
      StackMap locals:
      StackMap stack:
        12: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: astore 3
            aload 2
            ifnonnull 14
            aload 3
            astore 2
            goto 15
      StackMap locals:
      StackMap stack:
        14: aload 2
            aload 3
            if_acmpeq 15
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        15: aload 2
            athrow
        16: .line 91
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
        17: iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        18: .line 92
            ldc "Failed to load history; clearing"
            aastore
            dup
            iconst_1
            aload 2 /* e */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.debug:([Ljava/lang/Object;)V
        19: .line 93
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalClear:()V
        20: .line 94
            aload 2 /* e */
            athrow
        end local 2 // java.lang.Exception e
        21: .line 97
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   22     0    this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            1   22     1    path  Ljava/nio/file/Path;
            6   12     4  reader  Ljava/io/BufferedReader;
           17   21     2       e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           6    10      11  any
           5    13      13  any
           2    16      16  Class java.lang.IllegalArgumentException
           2    16      16  Class java.io.IOException
    Exceptions:
      throws java.io.IOException

  public void read(java.nio.file.Path, boolean);
    descriptor: (Ljava/nio/file/Path;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=7, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path file
        start local 2 // boolean incremental
         0: .line 101
            aload 1 /* file */
            ifnull 1
            aload 1 /* file */
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getPath:()Ljava/nio/file/Path;
      StackMap locals:
      StackMap stack: java.nio.file.Path
         2: astore 3 /* path */
        start local 3 // java.nio.file.Path path
         3: .line 102
            aload 3 /* path */
            ifnull 22
         4: .line 104
            aload 3 /* path */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 22
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 105
            ldc "Reading history from: "
            aastore
            dup
            iconst_1
            aload 3 /* path */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.trace:([Ljava/lang/Object;)V
         6: .line 106
            aconst_null
            astore 4
            aconst_null
            astore 5
         7: aload 3 /* path */
            invokestatic java.nio.file.Files.newBufferedReader:(Ljava/nio/file/Path;)Ljava/io/BufferedReader;
            astore 6 /* reader */
        start local 6 // java.io.BufferedReader reader
         8: .line 107
            aload 6 /* reader */
            invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
            aload 0 /* this */
            aload 3 /* path */
            iload 2 /* incremental */
            invokedynamic accept(Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;Ljava/nio/file/Path;Z)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/internal/org/jline/reader/impl/history/DefaultHistory.lambda$1(Ljava/nio/file/Path;ZLjava/lang/String;)V (7)
                  (Ljava/lang/String;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
         9: .line 108
            aload 0 /* this */
            aload 3 /* path */
            new jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData
            dup
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            invokespecial jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData.<init>:(Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;II)V
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.setHistoryFileData:(Ljava/nio/file/Path;Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;)V
        10: .line 109
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.maybeResize:()V
        11: .line 110
            aload 6 /* reader */
            ifnull 22
            aload 6 /* reader */
            invokevirtual java.io.BufferedReader.close:()V
            goto 22
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.BufferedReader
      StackMap stack: java.lang.Throwable
        12: astore 4
            aload 6 /* reader */
            ifnull 13
            aload 6 /* reader */
            invokevirtual java.io.BufferedReader.close:()V
        end local 6 // java.io.BufferedReader reader
      StackMap locals:
      StackMap stack:
        13: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        14: astore 5
            aload 4
            ifnonnull 15
            aload 5
            astore 4
            goto 16
      StackMap locals:
      StackMap stack:
        15: aload 4
            aload 5
            if_acmpeq 16
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        16: aload 4
            athrow
        17: .line 112
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int java.nio.file.Path
      StackMap stack: java.lang.Exception
            astore 4 /* e */
        start local 4 // java.lang.Exception e
        18: iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        19: .line 113
            ldc "Failed to read history; clearing"
            aastore
            dup
            iconst_1
            aload 4 /* e */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.debug:([Ljava/lang/Object;)V
        20: .line 114
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalClear:()V
        21: .line 115
            aload 4 /* e */
            athrow
        end local 4 // java.lang.Exception e
        22: .line 118
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.nio.file.Path path
        end local 2 // boolean incremental
        end local 1 // java.nio.file.Path file
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   23     0         this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0   23     1         file  Ljava/nio/file/Path;
            0   23     2  incremental  Z
            3   23     3         path  Ljava/nio/file/Path;
            8   13     6       reader  Ljava/io/BufferedReader;
           18   22     4            e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           8    11      12  any
           7    14      14  any
           4    17      17  Class java.lang.IllegalArgumentException
           4    17      17  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      file         
      incremental  

  private java.lang.String doHistoryFileDataKey(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
         0: .line 121
            aload 1 /* path */
            ifnull 1
            aload 1 /* path */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            goto 2
      StackMap locals:
      StackMap stack:
         1: aconst_null
      StackMap locals:
      StackMap stack: java.lang.String
         2: areturn
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    3     1  path  Ljava/nio/file/Path;
    MethodParameters:
      Name  Flags
      path  

  private jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData getHistoryFileData(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
         0: .line 125
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.doHistoryFileDataKey:(Ljava/nio/file/Path;)Ljava/lang/String;
            astore 2 /* key */
        start local 2 // java.lang.String key
         1: .line 126
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.historyFiles:Ljava/util/Map;
            aload 2 /* key */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifne 3
         2: .line 127
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.historyFiles:Ljava/util/Map;
            aload 2 /* key */
            new jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData
            dup
            aload 0 /* this */
            invokespecial jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData.<init>:(Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;)V
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 129
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.historyFiles:Ljava/util/Map;
            aload 2 /* key */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData
            areturn
        end local 2 // java.lang.String key
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    4     1  path  Ljava/nio/file/Path;
            1    4     2   key  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      path  

  private void setHistoryFileData(java.nio.file.Path, jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData);
    descriptor: (Ljava/nio/file/Path;Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
        start local 2 // jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData historyFileData
         0: .line 133
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.historyFiles:Ljava/util/Map;
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.doHistoryFileDataKey:(Ljava/nio/file/Path;)Ljava/lang/String;
            aload 2 /* historyFileData */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 134
            return
        end local 2 // jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData historyFileData
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    2     0             this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    2     1             path  Ljava/nio/file/Path;
            0    2     2  historyFileData  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;
    MethodParameters:
                 Name  Flags
      path             
      historyFileData  

  private boolean isLineReaderHistory(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
         0: .line 137
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getPath:()Ljava/nio/file/Path;
            astore 2 /* lrp */
        start local 2 // java.nio.file.Path lrp
         1: .line 138
            aload 2 /* lrp */
            ifnonnull 5
         2: .line 139
            aload 1 /* path */
            ifnull 4
         3: .line 140
            iconst_0
            ireturn
         4: .line 142
      StackMap locals: java.nio.file.Path
      StackMap stack:
            iconst_1
            ireturn
         5: .line 145
      StackMap locals:
      StackMap stack:
            aload 2 /* lrp */
            aload 1 /* path */
            invokestatic java.nio.file.Files.isSameFile:(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
            ireturn
        end local 2 // java.nio.file.Path lrp
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    6     1  path  Ljava/nio/file/Path;
            1    6     2   lrp  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      path  

  private void setLastLoaded(java.nio.file.Path, int);
    descriptor: (Ljava/nio/file/Path;I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
        start local 2 // int lastloaded
         0: .line 149
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getHistoryFileData:(Ljava/nio/file/Path;)Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;
            iload 2 /* lastloaded */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData.setLastLoaded:(I)V
         1: .line 150
            return
        end local 2 // int lastloaded
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    2     1        path  Ljava/nio/file/Path;
            0    2     2  lastloaded  I
    MethodParameters:
            Name  Flags
      path        
      lastloaded  

  private void setEntriesInFile(java.nio.file.Path, int);
    descriptor: (Ljava/nio/file/Path;I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
        start local 2 // int entriesInFile
         0: .line 153
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getHistoryFileData:(Ljava/nio/file/Path;)Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;
            iload 2 /* entriesInFile */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData.setEntriesInFile:(I)V
         1: .line 154
            return
        end local 2 // int entriesInFile
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    2     0           this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    2     1           path  Ljava/nio/file/Path;
            0    2     2  entriesInFile  I
    MethodParameters:
               Name  Flags
      path           
      entriesInFile  

  private void incEntriesInFile(java.nio.file.Path, int);
    descriptor: (Ljava/nio/file/Path;I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
        start local 2 // int amount
         0: .line 157
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getHistoryFileData:(Ljava/nio/file/Path;)Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;
            iload 2 /* amount */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData.incEntriesInFile:(I)V
         1: .line 158
            return
        end local 2 // int amount
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    2     1    path  Ljava/nio/file/Path;
            0    2     2  amount  I
    MethodParameters:
        Name  Flags
      path    
      amount  

  private int getLastLoaded(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
         0: .line 161
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getHistoryFileData:(Ljava/nio/file/Path;)Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData.getLastLoaded:()I
            ireturn
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    1     1  path  Ljava/nio/file/Path;
    MethodParameters:
      Name  Flags
      path  

  private int getEntriesInFile(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
         0: .line 165
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getHistoryFileData:(Ljava/nio/file/Path;)Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData.getEntriesInFile:()I
            ireturn
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    1     1  path  Ljava/nio/file/Path;
    MethodParameters:
      Name  Flags
      path  

  protected void addHistoryLine(java.nio.file.Path, java.lang.String);
    descriptor: (Ljava/nio/file/Path;Ljava/lang/String;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
        start local 2 // java.lang.String line
         0: .line 169
            aload 0 /* this */
            aload 1 /* path */
            aload 2 /* line */
            iconst_0
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.addHistoryLine:(Ljava/nio/file/Path;Ljava/lang/String;Z)V
         1: .line 170
            return
        end local 2 // java.lang.String line
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    2     1  path  Ljava/nio/file/Path;
            0    2     2  line  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      path  
      line  

  protected void addHistoryLine(java.nio.file.Path, java.lang.String, boolean);
    descriptor: (Ljava/nio/file/Path;Ljava/lang/String;Z)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=8, args_size=4
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
        start local 2 // java.lang.String line
        start local 3 // boolean checkDuplicates
         0: .line 173
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            getstatic jdk.internal.org.jline.reader.LineReader$Option.HISTORY_TIMESTAMPED:Ljdk/internal/org/jline/reader/LineReader$Option;
            invokeinterface jdk.internal.org.jline.reader.LineReader.isSet:(Ljdk/internal/org/jline/reader/LineReader$Option;)Z
            ifeq 15
         1: .line 174
            aload 2 /* line */
            bipush 58
            invokevirtual java.lang.String.indexOf:(I)I
            istore 4 /* idx */
        start local 4 // int idx
         2: .line 175
            new java.lang.StringBuilder
            dup
            ldc "Bad history file syntax! The history file `"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         3: .line 176
            aload 1 /* path */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "` may be an older history: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         4: .line 177
            ldc "please remove it or use a different history file."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         5: .line 175
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 5 /* badHistoryFileSyntax */
        start local 5 // java.lang.String badHistoryFileSyntax
         6: .line 178
            iload 4 /* idx */
            ifge 8
         7: .line 179
            new java.lang.IllegalArgumentException
            dup
            aload 5 /* badHistoryFileSyntax */
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 183
      StackMap locals: int java.lang.String
      StackMap stack:
            aload 2 /* line */
            iconst_0
            iload 4 /* idx */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
            invokestatic java.time.Instant.ofEpochMilli:(J)Ljava/time/Instant;
            astore 6 /* time */
        start local 6 // java.time.Instant time
         9: .line 184
            goto 12
        end local 6 // java.time.Instant time
      StackMap locals:
      StackMap stack: java.lang.RuntimeException
        10: pop
        11: .line 185
            new java.lang.IllegalArgumentException
            dup
            aload 5 /* badHistoryFileSyntax */
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        start local 6 // java.time.Instant time
        12: .line 188
      StackMap locals: java.time.Instant
      StackMap stack:
            aload 2 /* line */
            iload 4 /* idx */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokestatic jdk.internal.org.jline.reader.impl.history.DefaultHistory.unescape:(Ljava/lang/String;)Ljava/lang/String;
            astore 7 /* unescaped */
        start local 7 // java.lang.String unescaped
        13: .line 189
            aload 0 /* this */
            aload 6 /* time */
            aload 7 /* unescaped */
            iload 3 /* checkDuplicates */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalAdd:(Ljava/time/Instant;Ljava/lang/String;Z)V
        end local 7 // java.lang.String unescaped
        end local 6 // java.time.Instant time
        end local 5 // java.lang.String badHistoryFileSyntax
        end local 4 // int idx
        14: .line 190
            goto 16
        15: .line 192
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic java.time.Instant.now:()Ljava/time/Instant;
            aload 2 /* line */
            invokestatic jdk.internal.org.jline.reader.impl.history.DefaultHistory.unescape:(Ljava/lang/String;)Ljava/lang/String;
            iload 3 /* checkDuplicates */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalAdd:(Ljava/time/Instant;Ljava/lang/String;Z)V
        16: .line 194
      StackMap locals:
      StackMap stack:
            return
        end local 3 // boolean checkDuplicates
        end local 2 // java.lang.String line
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   17     0                  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0   17     1                  path  Ljava/nio/file/Path;
            0   17     2                  line  Ljava/lang/String;
            0   17     3       checkDuplicates  Z
            2   14     4                   idx  I
            6   14     5  badHistoryFileSyntax  Ljava/lang/String;
            9   10     6                  time  Ljava/time/Instant;
           12   14     6                  time  Ljava/time/Instant;
           13   14     7             unescaped  Ljava/lang/String;
      Exception table:
        from    to  target  type
           8     9      10  Class java.time.DateTimeException
           8     9      10  Class java.lang.NumberFormatException
    MethodParameters:
                 Name  Flags
      path             
      line             
      checkDuplicates  

  public void purge();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 198
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalClear:()V
         1: .line 199
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getPath:()Ljava/nio/file/Path;
            astore 1 /* path */
        start local 1 // java.nio.file.Path path
         2: .line 200
            aload 1 /* path */
            ifnull 5
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 201
            ldc "Purging history from: "
            aastore
            dup
            iconst_1
            aload 1 /* path */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.trace:([Ljava/lang/Object;)V
         4: .line 202
            aload 1 /* path */
            invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
            pop
         5: .line 204
      StackMap locals: java.nio.file.Path
      StackMap stack:
            return
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            2    6     1  path  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException

  public void write(java.nio.file.Path, boolean);
    descriptor: (Ljava/nio/file/Path;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path file
        start local 2 // boolean incremental
         0: .line 208
            aload 1 /* file */
            ifnull 1
            aload 1 /* file */
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getPath:()Ljava/nio/file/Path;
      StackMap locals:
      StackMap stack: java.nio.file.Path
         2: astore 3 /* path */
        start local 3 // java.nio.file.Path path
         3: .line 209
            aload 3 /* path */
            ifnull 5
            aload 3 /* path */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 5
         4: .line 210
            aload 3 /* path */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            invokevirtual java.io.File.delete:()Z
            pop
         5: .line 212
      StackMap locals: java.nio.file.Path
      StackMap stack:
            aload 0 /* this */
            aload 3 /* path */
            iload 2 /* incremental */
            ifeq 6
            aload 0 /* this */
            aload 3 /* path */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getLastLoaded:(Ljava/nio/file/Path;)I
            goto 7
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int java.nio.file.Path
      StackMap stack: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path
         6: iconst_0
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int java.nio.file.Path
      StackMap stack: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int
         7: invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalWrite:(Ljava/nio/file/Path;I)V
         8: .line 213
            return
        end local 3 // java.nio.file.Path path
        end local 2 // boolean incremental
        end local 1 // java.nio.file.Path file
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    9     0         this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    9     1         file  Ljava/nio/file/Path;
            0    9     2  incremental  Z
            3    9     3         path  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      file         
      incremental  

  public void append(java.nio.file.Path, boolean);
    descriptor: (Ljava/nio/file/Path;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path file
        start local 2 // boolean incremental
         0: .line 217
            aload 0 /* this */
            aload 1 /* file */
            ifnull 1
            aload 1 /* file */
            goto 2
      StackMap locals:
      StackMap stack: jdk.internal.org.jline.reader.impl.history.DefaultHistory
         1: aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getPath:()Ljava/nio/file/Path;
         2: .line 218
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int
      StackMap stack: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path
            iload 2 /* incremental */
            ifeq 3
            aload 0 /* this */
            aload 1 /* file */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getLastLoaded:(Ljava/nio/file/Path;)I
            goto 4
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int
      StackMap stack: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path
         3: iconst_0
         4: .line 217
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int
      StackMap stack: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalWrite:(Ljava/nio/file/Path;I)V
         5: .line 219
            return
        end local 2 // boolean incremental
        end local 1 // java.nio.file.Path file
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    6     0         this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    6     1         file  Ljava/nio/file/Path;
            0    6     2  incremental  Z
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      file         
      incremental  

  public void save();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 223
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getPath:()Ljava/nio/file/Path;
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getPath:()Ljava/nio/file/Path;
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getLastLoaded:(Ljava/nio/file/Path;)I
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalWrite:(Ljava/nio/file/Path;I)V
         1: .line 224
            return
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
    Exceptions:
      throws java.io.IOException

  private void internalWrite(java.nio.file.Path, int);
    descriptor: (Ljava/nio/file/Path;I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=8, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
        start local 2 // int from
         0: .line 227
            aload 1 /* path */
            ifnull 22
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         1: .line 228
            ldc "Saving history to: "
            aastore
            dup
            iconst_1
            aload 1 /* path */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.trace:([Ljava/lang/Object;)V
         2: .line 229
            aload 1 /* path */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
         3: .line 231
            aconst_null
            astore 3
            aconst_null
            astore 4
         4: aload 1 /* path */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            iconst_3
            anewarray java.nio.file.OpenOption
            dup
            iconst_0
         5: .line 232
            getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
            aastore
            dup
            iconst_1
            getstatic java.nio.file.StandardOpenOption.APPEND:Ljava/nio/file/StandardOpenOption;
            aastore
            dup
            iconst_2
            getstatic java.nio.file.StandardOpenOption.CREATE:Ljava/nio/file/StandardOpenOption;
            aastore
         6: .line 231
            invokestatic java.nio.file.Files.newBufferedWriter:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/BufferedWriter;
            astore 5 /* writer */
        start local 5 // java.io.BufferedWriter writer
         7: .line 233
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            iload 2 /* from */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            invokevirtual java.util.LinkedList.subList:(II)Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 7
            goto 11
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int java.lang.Throwable java.lang.Throwable java.io.BufferedWriter top java.util.Iterator
      StackMap stack:
         8: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.History$Entry
            astore 6 /* entry */
        start local 6 // jdk.internal.org.jline.reader.History$Entry entry
         9: .line 234
            aload 0 /* this */
            aload 6 /* entry */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.isPersistable:(Ljdk/internal/org/jline/reader/History$Entry;)Z
            ifeq 11
        10: .line 235
            aload 5 /* writer */
            aload 0 /* this */
            aload 6 /* entry */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.format:(Ljdk/internal/org/jline/reader/History$Entry;)Ljava/lang/String;
            invokevirtual java.io.BufferedWriter.append:(Ljava/lang/CharSequence;)Ljava/io/Writer;
            pop
        end local 6 // jdk.internal.org.jline.reader.History$Entry entry
        11: .line 233
      StackMap locals:
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        12: .line 238
            aload 5 /* writer */
            ifnull 18
            aload 5 /* writer */
            invokevirtual java.io.BufferedWriter.close:()V
            goto 18
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int java.lang.Throwable java.lang.Throwable java.io.BufferedWriter
      StackMap stack: java.lang.Throwable
        13: astore 3
            aload 5 /* writer */
            ifnull 14
            aload 5 /* writer */
            invokevirtual java.io.BufferedWriter.close:()V
        end local 5 // java.io.BufferedWriter writer
      StackMap locals:
      StackMap stack:
        14: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: astore 4
            aload 3
            ifnonnull 16
            aload 4
            astore 3
            goto 17
      StackMap locals:
      StackMap stack:
        16: aload 3
            aload 4
            if_acmpeq 17
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        17: aload 3
            athrow
        18: .line 239
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* path */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            iload 2 /* from */
            isub
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.incEntriesInFile:(Ljava/nio/file/Path;I)V
        19: .line 240
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            ldc "history-file-size"
            sipush 10000
            invokestatic jdk.internal.org.jline.reader.impl.ReaderUtils.getInt:(Ljdk/internal/org/jline/reader/LineReader;Ljava/lang/String;I)I
            istore 3 /* max */
        start local 3 // int max
        20: .line 241
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.getEntriesInFile:(Ljava/nio/file/Path;)I
            iload 3 /* max */
            iload 3 /* max */
            iconst_4
            idiv
            iadd
            if_icmple 22
        21: .line 242
            aload 0 /* this */
            aload 1 /* path */
            iload 3 /* max */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.trimHistory:(Ljava/nio/file/Path;I)V
        end local 3 // int max
        22: .line 245
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* path */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.setLastLoaded:(Ljava/nio/file/Path;I)V
        23: .line 246
            return
        end local 2 // int from
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   24     0    this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0   24     1    path  Ljava/nio/file/Path;
            0   24     2    from  I
            7   14     5  writer  Ljava/io/BufferedWriter;
            9   11     6   entry  Ljdk/internal/org/jline/reader/History$Entry;
           20   22     3     max  I
      Exception table:
        from    to  target  type
           7    12      13  any
           4    15      15  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      path  
      from  

  protected void trimHistory(java.nio.file.Path, int);
    descriptor: (Ljava/nio/file/Path;I)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=7, locals=10, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.nio.file.Path path
        start local 2 // int max
         0: .line 280
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         1: .line 249
            ldc "Trimming history path: "
            aastore
            dup
            iconst_1
            aload 1 /* path */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.trace:([Ljava/lang/Object;)V
         2: .line 251
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            astore 3 /* allItems */
        start local 3 // java.util.LinkedList allItems
         3: .line 252
            aconst_null
            astore 4
            aconst_null
            astore 5
         4: aload 1 /* path */
            invokestatic java.nio.file.Files.newBufferedReader:(Ljava/nio/file/Path;)Ljava/io/BufferedReader;
            astore 6 /* reader */
        start local 6 // java.io.BufferedReader reader
         5: .line 253
            aload 6 /* reader */
            invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
            aload 0 /* this */
            aload 3 /* allItems */
            invokedynamic accept(Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;Ljava/util/LinkedList;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/internal/org/jline/reader/impl/history/DefaultHistory.lambda$2(Ljava/util/LinkedList;Ljava/lang/String;)V (7)
                  (Ljava/lang/String;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
         6: .line 259
            aload 6 /* reader */
            ifnull 12
            aload 6 /* reader */
            invokevirtual java.io.BufferedReader.close:()V
            goto 12
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int java.util.LinkedList java.lang.Throwable java.lang.Throwable java.io.BufferedReader
      StackMap stack: java.lang.Throwable
         7: astore 4
            aload 6 /* reader */
            ifnull 8
            aload 6 /* reader */
            invokevirtual java.io.BufferedReader.close:()V
        end local 6 // java.io.BufferedReader reader
      StackMap locals:
      StackMap stack:
         8: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         9: astore 5
            aload 4
            ifnonnull 10
            aload 5
            astore 4
            goto 11
      StackMap locals:
      StackMap stack:
        10: aload 4
            aload 5
            if_acmpeq 11
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        11: aload 4
            athrow
        12: .line 261
      StackMap locals:
      StackMap stack:
            aload 3 /* allItems */
            iload 2 /* max */
            invokestatic jdk.internal.org.jline.reader.impl.history.DefaultHistory.doTrimHistory:(Ljava/util/List;I)V
        13: .line 263
            aload 1 /* path */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
            aload 1 /* path */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            ldc ".tmp"
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createTempFile:(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            astore 4 /* temp */
        start local 4 // java.nio.file.Path temp
        14: .line 264
            aconst_null
            astore 5
            aconst_null
            astore 6
        15: aload 4 /* temp */
            iconst_1
            anewarray java.nio.file.OpenOption
            dup
            iconst_0
            getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
            aastore
            invokestatic java.nio.file.Files.newBufferedWriter:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/BufferedWriter;
            astore 7 /* writer */
        start local 7 // java.io.BufferedWriter writer
        16: .line 265
            aload 3 /* allItems */
            invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
            astore 9
            goto 19
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int java.util.LinkedList java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.BufferedWriter top java.util.Iterator
      StackMap stack:
        17: aload 9
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.History$Entry
            astore 8 /* entry */
        start local 8 // jdk.internal.org.jline.reader.History$Entry entry
        18: .line 266
            aload 7 /* writer */
            aload 0 /* this */
            aload 8 /* entry */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.format:(Ljdk/internal/org/jline/reader/History$Entry;)Ljava/lang/String;
            invokevirtual java.io.BufferedWriter.append:(Ljava/lang/CharSequence;)Ljava/io/Writer;
            pop
        end local 8 // jdk.internal.org.jline.reader.History$Entry entry
        19: .line 265
      StackMap locals:
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 17
        20: .line 268
            aload 7 /* writer */
            ifnull 26
            aload 7 /* writer */
            invokevirtual java.io.BufferedWriter.close:()V
            goto 26
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path int java.util.LinkedList java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.BufferedWriter
      StackMap stack: java.lang.Throwable
        21: astore 5
            aload 7 /* writer */
            ifnull 22
            aload 7 /* writer */
            invokevirtual java.io.BufferedWriter.close:()V
        end local 7 // java.io.BufferedWriter writer
      StackMap locals:
      StackMap stack:
        22: aload 5
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        23: astore 6
            aload 5
            ifnonnull 24
            aload 6
            astore 5
            goto 25
      StackMap locals:
      StackMap stack:
        24: aload 5
            aload 6
            if_acmpeq 25
            aload 5
            aload 6
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        25: aload 5
            athrow
        26: .line 269
      StackMap locals:
      StackMap stack:
            aload 4 /* temp */
            aload 1 /* path */
            iconst_1
            anewarray java.nio.file.CopyOption
            dup
            iconst_0
            getstatic java.nio.file.StandardCopyOption.REPLACE_EXISTING:Ljava/nio/file/StandardCopyOption;
            aastore
            invokestatic java.nio.file.Files.move:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
            pop
        27: .line 271
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.isLineReaderHistory:(Ljava/nio/file/Path;)Z
            ifeq 33
        28: .line 272
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalClear:()V
        29: .line 273
            aload 0 /* this */
            aload 3 /* allItems */
            iconst_0
            invokevirtual java.util.LinkedList.get:(I)Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.History$Entry
            invokeinterface jdk.internal.org.jline.reader.History$Entry.index:()I
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
        30: .line 274
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            aload 3 /* allItems */
            invokevirtual java.util.LinkedList.addAll:(Ljava/util/Collection;)Z
            pop
        31: .line 275
            aload 0 /* this */
            aload 1 /* path */
            new jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData
            dup
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            invokespecial jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData.<init>:(Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;II)V
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.setHistoryFileData:(Ljava/nio/file/Path;Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;)V
        32: .line 276
            goto 34
        33: .line 277
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* path */
            aload 3 /* allItems */
            invokevirtual java.util.LinkedList.size:()I
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.setEntriesInFile:(Ljava/nio/file/Path;I)V
        34: .line 279
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.maybeResize:()V
            return
        end local 4 // java.nio.file.Path temp
        end local 3 // java.util.LinkedList allItems
        end local 2 // int max
        end local 1 // java.nio.file.Path path
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   35     0      this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0   35     1      path  Ljava/nio/file/Path;
            0   35     2       max  I
            3   35     3  allItems  Ljava/util/LinkedList<Ljdk/internal/org/jline/reader/History$Entry;>;
            5    8     6    reader  Ljava/io/BufferedReader;
           14   35     4      temp  Ljava/nio/file/Path;
           16   22     7    writer  Ljava/io/BufferedWriter;
           18   19     8     entry  Ljdk/internal/org/jline/reader/History$Entry;
      Exception table:
        from    to  target  type
           5     6       7  any
           4     9       9  any
          16    20      21  any
          15    23      23  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      path  
      max   

  protected jdk.internal.org.jline.reader.impl.history.DefaultHistory$EntryImpl createEntry(int, java.time.Instant, java.lang.String);
    descriptor: (ILjava/time/Instant;Ljava/lang/String;)Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$EntryImpl;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // int index
        start local 2 // java.time.Instant time
        start local 3 // java.lang.String line
         0: .line 290
            new jdk.internal.org.jline.reader.impl.history.DefaultHistory$EntryImpl
            dup
            iload 1 /* index */
            aload 2 /* time */
            aload 3 /* line */
            invokespecial jdk.internal.org.jline.reader.impl.history.DefaultHistory$EntryImpl.<init>:(ILjava/time/Instant;Ljava/lang/String;)V
            areturn
        end local 3 // java.lang.String line
        end local 2 // java.time.Instant time
        end local 1 // int index
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    1     1  index  I
            0    1     2   time  Ljava/time/Instant;
            0    1     3   line  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      index  
      time   
      line   

  private void internalClear();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 294
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
         1: .line 295
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         2: .line 296
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.historyFiles:Ljava/util/Map;
         3: .line 297
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.clear:()V
         4: .line 298
            return
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  static void doTrimHistory(java.util.List<jdk.internal.org.jline.reader.History$Entry>, );
    descriptor: (Ljava/util/List;I)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=7, args_size=2
        start local 0 // java.util.List allItems
        start local 1 // int max
         0: .line 301
            iconst_0
            istore 2 /* idx */
        start local 2 // int idx
         1: .line 302
            goto 11
         2: .line 303
      StackMap locals: int
      StackMap stack:
            aload 0 /* allItems */
            invokeinterface java.util.List.size:()I
            iload 2 /* idx */
            isub
            iconst_1
            isub
            istore 3 /* ridx */
        start local 3 // int ridx
         3: .line 304
            aload 0 /* allItems */
            iload 3 /* ridx */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.History$Entry
            invokeinterface jdk.internal.org.jline.reader.History$Entry.line:()Ljava/lang/String;
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            astore 4 /* line */
        start local 4 // java.lang.String line
         4: .line 305
            aload 0 /* allItems */
            iload 3 /* ridx */
            invokeinterface java.util.List.listIterator:(I)Ljava/util/ListIterator;
            astore 5 /* iterator */
        start local 5 // java.util.ListIterator iterator
         5: .line 306
            goto 9
         6: .line 307
      StackMap locals: int java.lang.String java.util.ListIterator
      StackMap stack:
            aload 5 /* iterator */
            invokeinterface java.util.ListIterator.previous:()Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.History$Entry
            invokeinterface jdk.internal.org.jline.reader.History$Entry.line:()Ljava/lang/String;
            astore 6 /* l */
        start local 6 // java.lang.String l
         7: .line 308
            aload 4 /* line */
            aload 6 /* l */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 9
         8: .line 309
            aload 5 /* iterator */
            invokeinterface java.util.ListIterator.remove:()V
        end local 6 // java.lang.String l
         9: .line 306
      StackMap locals:
      StackMap stack:
            aload 5 /* iterator */
            invokeinterface java.util.ListIterator.hasPrevious:()Z
            ifne 6
        10: .line 312
            iinc 2 /* idx */ 1
        end local 5 // java.util.ListIterator iterator
        end local 4 // java.lang.String line
        end local 3 // int ridx
        11: .line 302
      StackMap locals:
      StackMap stack:
            iload 2 /* idx */
            aload 0 /* allItems */
            invokeinterface java.util.List.size:()I
            if_icmplt 2
        12: .line 314
            goto 14
        13: .line 315
      StackMap locals:
      StackMap stack:
            aload 0 /* allItems */
            iconst_0
            invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
            pop
        14: .line 314
      StackMap locals:
      StackMap stack:
            aload 0 /* allItems */
            invokeinterface java.util.List.size:()I
            iload 1 /* max */
            if_icmpgt 13
        15: .line 317
            return
        end local 2 // int idx
        end local 1 // int max
        end local 0 // java.util.List allItems
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   16     0  allItems  Ljava/util/List<Ljdk/internal/org/jline/reader/History$Entry;>;
            0   16     1       max  I
            1   16     2       idx  I
            3   11     3      ridx  I
            4   11     4      line  Ljava/lang/String;
            5   11     5  iterator  Ljava/util/ListIterator<Ljdk/internal/org/jline/reader/History$Entry;>;
            7    9     6         l  Ljava/lang/String;
    Signature: (Ljava/util/List<Ljdk/internal/org/jline/reader/History$Entry;>;I)V
    MethodParameters:
          Name  Flags
      allItems  
      max       

  public int size();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 320
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            ireturn
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  public boolean isEmpty();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 324
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.isEmpty:()Z
            ireturn
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  public int index();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 328
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
            iadd
            ireturn
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  public int first();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 332
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
            ireturn
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  public int last();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 336
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            iadd
            iconst_1
            isub
            ireturn
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  private java.lang.String format(jdk.internal.org.jline.reader.History$Entry);
    descriptor: (Ljdk/internal/org/jline/reader/History$Entry;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // jdk.internal.org.jline.reader.History$Entry entry
         0: .line 340
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            getstatic jdk.internal.org.jline.reader.LineReader$Option.HISTORY_TIMESTAMPED:Ljdk/internal/org/jline/reader/LineReader$Option;
            invokeinterface jdk.internal.org.jline.reader.LineReader.isSet:(Ljdk/internal/org/jline/reader/LineReader$Option;)Z
            ifeq 2
         1: .line 341
            new java.lang.StringBuilder
            dup
            aload 1 /* entry */
            invokeinterface jdk.internal.org.jline.reader.History$Entry.time:()Ljava/time/Instant;
            invokevirtual java.time.Instant.toEpochMilli:()J
            invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ":"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* entry */
            invokeinterface jdk.internal.org.jline.reader.History$Entry.line:()Ljava/lang/String;
            invokestatic jdk.internal.org.jline.reader.impl.history.DefaultHistory.escape:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
         2: .line 343
      StackMap locals:
      StackMap stack:
            new java.lang.StringBuilder
            dup
            aload 1 /* entry */
            invokeinterface jdk.internal.org.jline.reader.History$Entry.line:()Ljava/lang/String;
            invokestatic jdk.internal.org.jline.reader.impl.history.DefaultHistory.escape:(Ljava/lang/String;)Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // jdk.internal.org.jline.reader.History$Entry entry
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    3     1  entry  Ljdk/internal/org/jline/reader/History$Entry;
    MethodParameters:
       Name  Flags
      entry  

  public java.lang.String get(int);
    descriptor: (I)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // int index
         0: .line 347
            iload 1 /* index */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
            isub
            istore 2 /* idx */
        start local 2 // int idx
         1: .line 348
            iload 2 /* idx */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            if_icmpge 2
            iload 2 /* idx */
            ifge 3
         2: .line 349
      StackMap locals: int
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "IndexOutOfBounds: Index:"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* idx */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ", Size:"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 351
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            iload 2 /* idx */
            invokevirtual java.util.LinkedList.get:(I)Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.History$Entry
            invokeinterface jdk.internal.org.jline.reader.History$Entry.line:()Ljava/lang/String;
            areturn
        end local 2 // int idx
        end local 1 // int index
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    4     1  index  I
            1    4     2    idx  I
    MethodParameters:
       Name  Flags
      index  final

  public void add(java.time.Instant, java.lang.String);
    descriptor: (Ljava/time/Instant;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.time.Instant time
        start local 2 // java.lang.String line
         0: .line 356
            aload 1 /* time */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 357
            aload 2 /* line */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 359
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            ldc "disable-history"
            iconst_0
            invokestatic jdk.internal.org.jline.reader.impl.ReaderUtils.getBoolean:(Ljdk/internal/org/jline/reader/LineReader;Ljava/lang/String;Z)Z
            ifeq 4
         3: .line 360
            return
         4: .line 362
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            getstatic jdk.internal.org.jline.reader.LineReader$Option.HISTORY_IGNORE_SPACE:Ljdk/internal/org/jline/reader/LineReader$Option;
            invokestatic jdk.internal.org.jline.reader.impl.ReaderUtils.isSet:(Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/LineReader$Option;)Z
            ifeq 6
            aload 2 /* line */
            ldc " "
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 6
         5: .line 363
            return
         6: .line 365
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            getstatic jdk.internal.org.jline.reader.LineReader$Option.HISTORY_REDUCE_BLANKS:Ljdk/internal/org/jline/reader/LineReader$Option;
            invokestatic jdk.internal.org.jline.reader.impl.ReaderUtils.isSet:(Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/LineReader$Option;)Z
            ifeq 8
         7: .line 366
            aload 2 /* line */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            astore 2 /* line */
         8: .line 368
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            getstatic jdk.internal.org.jline.reader.LineReader$Option.HISTORY_IGNORE_DUPS:Ljdk/internal/org/jline/reader/LineReader$Option;
            invokestatic jdk.internal.org.jline.reader.impl.ReaderUtils.isSet:(Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/LineReader$Option;)Z
            ifeq 11
         9: .line 369
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.isEmpty:()Z
            ifne 11
            aload 2 /* line */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.getLast:()Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.History$Entry
            invokeinterface jdk.internal.org.jline.reader.History$Entry.line:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 11
        10: .line 370
            return
        11: .line 373
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            ldc "history-ignore"
            ldc ""
            invokestatic jdk.internal.org.jline.reader.impl.ReaderUtils.getString:(Ljdk/internal/org/jline/reader/LineReader;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            aload 2 /* line */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.matchPatterns:(Ljava/lang/String;Ljava/lang/String;)Z
            ifeq 13
        12: .line 374
            return
        13: .line 376
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* time */
            aload 2 /* line */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalAdd:(Ljava/time/Instant;Ljava/lang/String;)V
        14: .line 377
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            getstatic jdk.internal.org.jline.reader.LineReader$Option.HISTORY_INCREMENTAL:Ljdk/internal/org/jline/reader/LineReader$Option;
            invokestatic jdk.internal.org.jline.reader.impl.ReaderUtils.isSet:(Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/LineReader$Option;)Z
            ifeq 20
        15: .line 379
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.save:()V
        16: .line 380
            goto 20
        17: .line 381
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 3 /* e */
        start local 3 // java.io.IOException e
        18: iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        19: .line 382
            ldc "Failed to save history"
            aastore
            dup
            iconst_1
            aload 3 /* e */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.warn:([Ljava/lang/Object;)V
        end local 3 // java.io.IOException e
        20: .line 385
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.String line
        end local 1 // java.time.Instant time
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   21     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0   21     1  time  Ljava/time/Instant;
            0   21     2  line  Ljava/lang/String;
           18   20     3     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
          15    16      17  Class java.io.IOException
    MethodParameters:
      Name  Flags
      time  
      line  

  protected boolean matchPatterns(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=6, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.lang.String patterns
        start local 2 // java.lang.String line
         0: .line 388
            aload 1 /* patterns */
            ifnull 1
            aload 1 /* patterns */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 2
         1: .line 389
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
         2: .line 391
      StackMap locals:
      StackMap stack:
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 3 /* sb */
        start local 3 // java.lang.StringBuilder sb
         3: .line 392
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         4: goto 16
         5: .line 393
      StackMap locals: java.lang.StringBuilder int
      StackMap stack:
            aload 1 /* patterns */
            iload 4 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 5 /* ch */
        start local 5 // char ch
         6: .line 394
            iload 5 /* ch */
            bipush 92
            if_icmpne 10
         7: .line 395
            aload 1 /* patterns */
            iinc 4 /* i */ 1
            iload 4 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 5 /* ch */
         8: .line 396
            aload 3 /* sb */
            iload 5 /* ch */
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         9: .line 397
            goto 15
      StackMap locals: int
      StackMap stack:
        10: iload 5 /* ch */
            bipush 58
            if_icmpne 13
        11: .line 398
            aload 3 /* sb */
            bipush 124
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        12: .line 399
            goto 15
      StackMap locals:
      StackMap stack:
        13: iload 5 /* ch */
            bipush 42
            if_icmpne 15
        14: .line 400
            aload 3 /* sb */
            bipush 46
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            bipush 42
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 5 // char ch
        15: .line 392
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        16: iload 4 /* i */
            aload 1 /* patterns */
            invokevirtual java.lang.String.length:()I
            if_icmplt 5
        end local 4 // int i
        17: .line 403
            aload 2 /* line */
            aload 3 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
            ireturn
        end local 3 // java.lang.StringBuilder sb
        end local 2 // java.lang.String line
        end local 1 // java.lang.String patterns
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   18     0      this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0   18     1  patterns  Ljava/lang/String;
            0   18     2      line  Ljava/lang/String;
            3   18     3        sb  Ljava/lang/StringBuilder;
            4   17     4         i  I
            6   15     5        ch  C
    MethodParameters:
          Name  Flags
      patterns  
      line      

  protected void internalAdd(java.time.Instant, java.lang.String);
    descriptor: (Ljava/time/Instant;Ljava/lang/String;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.time.Instant time
        start local 2 // java.lang.String line
         0: .line 407
            aload 0 /* this */
            aload 1 /* time */
            aload 2 /* line */
            iconst_0
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalAdd:(Ljava/time/Instant;Ljava/lang/String;Z)V
         1: .line 408
            return
        end local 2 // java.lang.String line
        end local 1 // java.time.Instant time
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    2     1  time  Ljava/time/Instant;
            0    2     2  line  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      time  
      line  

  protected void internalAdd(java.time.Instant, java.lang.String, boolean);
    descriptor: (Ljava/time/Instant;Ljava/lang/String;Z)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=7, args_size=4
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // java.time.Instant time
        start local 2 // java.lang.String line
        start local 3 // boolean checkDuplicates
         0: .line 411
            new jdk.internal.org.jline.reader.impl.history.DefaultHistory$EntryImpl
            dup
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            iadd
            aload 1 /* time */
            aload 2 /* line */
            invokespecial jdk.internal.org.jline.reader.impl.history.DefaultHistory$EntryImpl.<init>:(ILjava/time/Instant;Ljava/lang/String;)V
            astore 4 /* entry */
        start local 4 // jdk.internal.org.jline.reader.History$Entry entry
         1: .line 412
            iload 3 /* checkDuplicates */
            ifeq 7
         2: .line 413
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
            astore 6
            goto 6
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.time.Instant java.lang.String int jdk.internal.org.jline.reader.History$Entry top java.util.Iterator
      StackMap stack:
         3: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.History$Entry
            astore 5 /* e */
        start local 5 // jdk.internal.org.jline.reader.History$Entry e
         4: .line 414
            aload 5 /* e */
            invokeinterface jdk.internal.org.jline.reader.History$Entry.line:()Ljava/lang/String;
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            aload 2 /* line */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 6
         5: .line 415
            return
        end local 5 // jdk.internal.org.jline.reader.History$Entry e
         6: .line 413
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         7: .line 419
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.time.Instant java.lang.String int jdk.internal.org.jline.reader.History$Entry
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            aload 4 /* entry */
            invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
            pop
         8: .line 420
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.maybeResize:()V
         9: .line 421
            return
        end local 4 // jdk.internal.org.jline.reader.History$Entry entry
        end local 3 // boolean checkDuplicates
        end local 2 // java.lang.String line
        end local 1 // java.time.Instant time
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   10     0             this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0   10     1             time  Ljava/time/Instant;
            0   10     2             line  Ljava/lang/String;
            0   10     3  checkDuplicates  Z
            1   10     4            entry  Ljdk/internal/org/jline/reader/History$Entry;
            4    6     5                e  Ljdk/internal/org/jline/reader/History$Entry;
    MethodParameters:
                 Name  Flags
      time             
      line             
      checkDuplicates  

  private void maybeResize();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 424
            goto 7
         1: .line 425
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
            pop
         2: .line 426
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.historyFiles:Ljava/util/Map;
            invokeinterface java.util.Map.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 2
            goto 5
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory top java.util.Iterator
      StackMap stack:
         3: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData
            astore 1 /* hfd */
        start local 1 // jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData hfd
         4: .line 427
            aload 1 /* hfd */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData.decLastLoaded:()V
        end local 1 // jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData hfd
         5: .line 426
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         6: .line 429
            aload 0 /* this */
            dup
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
            iconst_1
            iadd
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
         7: .line 424
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.size:()I
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.reader:Ljdk/internal/org/jline/reader/LineReader;
            ldc "history-size"
            sipush 500
            invokestatic jdk.internal.org.jline.reader.impl.ReaderUtils.getInt:(Ljdk/internal/org/jline/reader/LineReader;Ljava/lang/String;I)I
            if_icmpgt 1
         8: .line 431
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.size:()I
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         9: .line 432
            return
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            4    5     1   hfd  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$HistoryFileData;

  public java.util.ListIterator<jdk.internal.org.jline.reader.History$Entry> iterator(int);
    descriptor: (I)Ljava/util/ListIterator;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // int index
         0: .line 435
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            iload 1 /* index */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
            isub
            invokevirtual java.util.LinkedList.listIterator:(I)Ljava/util/ListIterator;
            areturn
        end local 1 // int index
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    1     1  index  I
    Signature: (I)Ljava/util/ListIterator<Ljdk/internal/org/jline/reader/History$Entry;>;
    MethodParameters:
       Name  Flags
      index  

  public java.util.Spliterator<jdk.internal.org.jline.reader.History$Entry> spliterator();
    descriptor: ()Ljava/util/Spliterator;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 440
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.spliterator:()Ljava/util/Spliterator;
            areturn
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
    Signature: ()Ljava/util/Spliterator<Ljdk/internal/org/jline/reader/History$Entry;>;

  public void resetIndex();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 444
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            if_icmple 1
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            goto 2
      StackMap locals:
      StackMap stack: jdk.internal.org.jline.reader.impl.history.DefaultHistory
         1: aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory
      StackMap stack: jdk.internal.org.jline.reader.impl.history.DefaultHistory int
         2: putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         3: .line 445
            return
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  public boolean moveToLast();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 489
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.size:()I
            iconst_1
            isub
            istore 1 /* lastEntry */
        start local 1 // int lastEntry
         1: .line 490
            iload 1 /* lastEntry */
            iflt 4
            iload 1 /* lastEntry */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
            if_icmpeq 4
         2: .line 491
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.size:()I
            iconst_1
            isub
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         3: .line 492
            iconst_1
            ireturn
         4: .line 495
      StackMap locals: int
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // int lastEntry
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            1    5     1  lastEntry  I

  public boolean moveTo(int);
    descriptor: (I)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 1 // int index
         0: .line 502
            iload 1 /* index */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
            isub
            istore 1 /* index */
         1: .line 503
            iload 1 /* index */
            iflt 4
            iload 1 /* index */
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.size:()I
            if_icmpge 4
         2: .line 504
            aload 0 /* this */
            iload 1 /* index */
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         3: .line 505
            iconst_1
            ireturn
         4: .line 507
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // int index
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    5     1  index  I
    MethodParameters:
       Name  Flags
      index  

  public boolean moveToFirst();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 517
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.size:()I
            ifle 3
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
            ifeq 3
         1: .line 518
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         2: .line 519
            iconst_1
            ireturn
         3: .line 521
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  public void moveToEnd();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 529
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.size:()I
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         1: .line 530
            return
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  public java.lang.String current();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 536
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.size:()I
            if_icmplt 2
         1: .line 537
            ldc ""
            areturn
         2: .line 539
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
            invokevirtual java.util.LinkedList.get:(I)Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.History$Entry
            invokeinterface jdk.internal.org.jline.reader.History$Entry.line:()Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  public boolean previous();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 548
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
            ifgt 2
         1: .line 549
            iconst_0
            ireturn
         2: .line 551
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
            iconst_1
            isub
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         3: .line 552
            iconst_1
            ireturn
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  public boolean next();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 561
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.size:()I
            if_icmplt 2
         1: .line 562
            iconst_0
            ireturn
         2: .line 564
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
            iconst_1
            iadd
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         3: .line 565
            iconst_1
            ireturn
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 570
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 571
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.lang.StringBuilder top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.History$Entry
            astore 2 /* e */
        start local 2 // jdk.internal.org.jline.reader.History$Entry e
         3: .line 572
            aload 1 /* sb */
            aload 2 /* e */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        end local 2 // jdk.internal.org.jline.reader.History$Entry e
         4: .line 571
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 574
            aload 1 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder sb
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            1    6     1    sb  Ljava/lang/StringBuilder;
            3    4     2     e  Ljdk/internal/org/jline/reader/History$Entry;

  private static java.lang.String escape(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // java.lang.String s
         0: .line 578
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 579
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: goto 16
         3: .line 580
      StackMap locals: java.lang.StringBuilder int
      StackMap stack:
            aload 0 /* s */
            iload 2 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 3 /* ch */
        start local 3 // char ch
         4: .line 581
            iload 3 /* ch */
            lookupswitch { // 3
                   10: 5
                   13: 8
                   92: 11
              default: 14
          }
         5: .line 583
      StackMap locals: int
      StackMap stack:
            aload 1 /* sb */
            bipush 92
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         6: .line 584
            aload 1 /* sb */
            bipush 110
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         7: .line 585
            goto 15
         8: .line 587
      StackMap locals:
      StackMap stack:
            aload 1 /* sb */
            bipush 92
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         9: .line 588
            aload 1 /* sb */
            bipush 114
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        10: .line 589
            goto 15
        11: .line 591
      StackMap locals:
      StackMap stack:
            aload 1 /* sb */
            bipush 92
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        12: .line 592
            aload 1 /* sb */
            bipush 92
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        13: .line 593
            goto 15
        14: .line 595
      StackMap locals:
      StackMap stack:
            aload 1 /* sb */
            iload 3 /* ch */
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 3 // char ch
        15: .line 579
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        16: iload 2 /* i */
            aload 0 /* s */
            invokevirtual java.lang.String.length:()I
            if_icmplt 3
        end local 2 // int i
        17: .line 599
            aload 1 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder sb
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   18     0     s  Ljava/lang/String;
            1   18     1    sb  Ljava/lang/StringBuilder;
            2   17     2     i  I
            4   15     3    ch  C
    MethodParameters:
      Name  Flags
      s     

  static java.lang.String unescape(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // java.lang.String s
         0: .line 603
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 604
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: goto 16
         3: .line 605
      StackMap locals: java.lang.StringBuilder int
      StackMap stack:
            aload 0 /* s */
            iload 2 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 3 /* ch */
        start local 3 // char ch
         4: .line 606
            iload 3 /* ch */
            tableswitch { // 92 - 92
                   92: 5
              default: 14
          }
         5: .line 608
      StackMap locals: int
      StackMap stack:
            aload 0 /* s */
            iinc 2 /* i */ 1
            iload 2 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 3 /* ch */
         6: .line 609
            iload 3 /* ch */
            bipush 110
            if_icmpne 9
         7: .line 610
            aload 1 /* sb */
            bipush 10
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         8: .line 611
            goto 15
      StackMap locals:
      StackMap stack:
         9: iload 3 /* ch */
            bipush 114
            if_icmpne 12
        10: .line 612
            aload 1 /* sb */
            bipush 13
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        11: .line 613
            goto 15
        12: .line 614
      StackMap locals:
      StackMap stack:
            aload 1 /* sb */
            iload 3 /* ch */
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        13: .line 616
            goto 15
        14: .line 618
      StackMap locals:
      StackMap stack:
            aload 1 /* sb */
            iload 3 /* ch */
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 3 // char ch
        15: .line 604
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        16: iload 2 /* i */
            aload 0 /* s */
            invokevirtual java.lang.String.length:()I
            if_icmplt 3
        end local 2 // int i
        17: .line 622
            aload 1 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder sb
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   18     0     s  Ljava/lang/String;
            1   18     1    sb  Ljava/lang/StringBuilder;
            2   17     2     i  I
            4   15     3    ch  C
    MethodParameters:
      Name  Flags
      s     

  public java.util.Iterator iterator();
    descriptor: ()Ljava/util/Iterator;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokeinterface jdk.internal.org.jline.reader.History.iterator:()Ljava/util/ListIterator;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void lambda$0(java.nio.file.Path, java.lang.String);
    descriptor: (Ljava/nio/file/Path;Ljava/lang/String;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 2 // java.lang.String line
         0: .line 86
            aload 0 /* this */
            aload 1
            aload 2 /* line */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.addHistoryLine:(Ljava/nio/file/Path;Ljava/lang/String;)V
            return
        end local 2 // java.lang.String line
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    1     2  line  Ljava/lang/String;

  private void lambda$1(java.nio.file.Path, boolean, java.lang.String);
    descriptor: (Ljava/nio/file/Path;ZLjava/lang/String;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 3 // java.lang.String line
         0: .line 107
            aload 0 /* this */
            aload 1
            aload 3 /* line */
            iload 2
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.addHistoryLine:(Ljava/nio/file/Path;Ljava/lang/String;Z)V
            return
        end local 3 // java.lang.String line
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    1     3  line  Ljava/lang/String;

  private void lambda$2(java.util.LinkedList, java.lang.String);
    descriptor: (Ljava/util/LinkedList;Ljava/lang/String;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
        start local 2 // java.lang.String l
         0: .line 254
            aload 2 /* l */
            bipush 58
            invokevirtual java.lang.String.indexOf:(I)I
            istore 3 /* idx */
        start local 3 // int idx
         1: .line 255
            aload 2 /* l */
            iconst_0
            iload 3 /* idx */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
            invokestatic java.time.Instant.ofEpochMilli:(J)Ljava/time/Instant;
            astore 4 /* time */
        start local 4 // java.time.Instant time
         2: .line 256
            aload 2 /* l */
            iload 3 /* idx */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokestatic jdk.internal.org.jline.reader.impl.history.DefaultHistory.unescape:(Ljava/lang/String;)Ljava/lang/String;
            astore 5 /* line */
        start local 5 // java.lang.String line
         3: .line 257
            aload 1
            aload 0 /* this */
            aload 1
            invokevirtual java.util.LinkedList.size:()I
            aload 4 /* time */
            aload 5 /* line */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.createEntry:(ILjava/time/Instant;Ljava/lang/String;)Ljdk/internal/org/jline/reader/impl/history/DefaultHistory$EntryImpl;
            invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // java.lang.String line
        end local 4 // java.time.Instant time
        end local 3 // int idx
         4: .line 258
            return
        end local 2 // java.lang.String l
        end local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    5     2     l  Ljava/lang/String;
            1    4     3   idx  I
            2    4     4  time  Ljava/time/Instant;
            3    4     5  line  Ljava/lang/String;
}
SourceFile: "DefaultHistory.java"
NestMembers:
  jdk.internal.org.jline.reader.impl.history.DefaultHistory$EntryImpl  jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Entry = jdk.internal.org.jline.reader.History$Entry of jdk.internal.org.jline.reader.History
  public final Option = jdk.internal.org.jline.reader.LineReader$Option of jdk.internal.org.jline.reader.LineReader
  protected EntryImpl = jdk.internal.org.jline.reader.impl.history.DefaultHistory$EntryImpl of jdk.internal.org.jline.reader.impl.history.DefaultHistory
  private HistoryFileData = jdk.internal.org.jline.reader.impl.history.DefaultHistory$HistoryFileData of jdk.internal.org.jline.reader.impl.history.DefaultHistory