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 int lastLoaded;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

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

  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 35
            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 39
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.lastLoaded:I
         3: .line 40
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.nbEntriesInFile:I
         4: .line 41
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
         5: .line 42
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         6: .line 45
            return
        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;

  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 35
            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 39
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.lastLoaded:I
         3: .line 40
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.nbEntriesInFile:I
         4: .line 41
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
         5: .line 42
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         6: .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
         7: .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    8     0    this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    8     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.io.IOException
            astore 2 /* e */
        start local 2 // java.io.IOException 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.io.IOException 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/io/IOException;
      Exception table:
        from    to  target  type
           2     3       4  Class java.io.IOException
    MethodParameters:
        Name  Flags
      reader  

  public void load();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, 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 22
         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 22
            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 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.lastLoaded:I
         9: .line 88
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.lastLoaded:I
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.nbEntriesInFile:I
        10: .line 89
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.maybeResize:()V
        11: .line 90
            aload 4 /* reader */
            ifnull 22
            aload 4 /* reader */
            invokevirtual java.io.BufferedReader.close:()V
            goto 22
      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
        12: astore 2
            aload 4 /* reader */
            ifnull 13
            aload 4 /* reader */
            invokevirtual java.io.BufferedReader.close:()V
        end local 4 // java.io.BufferedReader reader
      StackMap locals:
      StackMap stack:
        13: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        14: astore 3
            aload 2
            ifnonnull 15
            aload 3
            astore 2
            goto 16
      StackMap locals:
      StackMap stack:
        15: aload 2
            aload 3
            if_acmpeq 16
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        16: aload 2
            athrow
        17: .line 92
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path
      StackMap stack: java.io.IOException
            astore 2 /* e */
        start local 2 // java.io.IOException e
        18: iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        19: .line 93
            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
        20: .line 94
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalClear:()V
        21: .line 95
            aload 2 /* e */
            athrow
        end local 2 // java.io.IOException e
        22: .line 98
      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   23     0    this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            1   23     1    path  Ljava/nio/file/Path;
            6   13     4  reader  Ljava/io/BufferedReader;
           18   22     2       e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           6    11      12  any
           5    14      14  any
           2    17      17  Class java.io.IOException
    Exceptions:
      throws java.io.IOException

  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=5, locals=6, 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 101
            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 11
         1: .line 102
            aload 2 /* line */
            bipush 58
            invokevirtual java.lang.String.indexOf:(I)I
            istore 3 /* idx */
        start local 3 // int idx
         2: .line 103
            iload 3 /* idx */
            ifge 7
         3: .line 104
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Bad history file syntax! The history file `"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         4: .line 105
            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;
         5: .line 106
            ldc "please remove it or use a different history file."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         6: .line 104
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 108
      StackMap locals: int
      StackMap stack:
            aload 2 /* line */
            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
         8: .line 109
            aload 2 /* line */
            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 /* unescaped */
        start local 5 // java.lang.String unescaped
         9: .line 110
            aload 0 /* this */
            aload 4 /* time */
            aload 5 /* unescaped */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalAdd:(Ljava/time/Instant;Ljava/lang/String;)V
        end local 5 // java.lang.String unescaped
        end local 4 // java.time.Instant time
        end local 3 // int idx
        10: .line 111
            goto 12
        11: .line 113
      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;
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalAdd:(Ljava/time/Instant;Ljava/lang/String;)V
        12: .line 115
      StackMap locals:
      StackMap stack:
            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   13     0       this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0   13     1       path  Ljava/nio/file/Path;
            0   13     2       line  Ljava/lang/String;
            2   10     3        idx  I
            8   10     4       time  Ljava/time/Instant;
            9   10     5  unescaped  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      path  
      line  

  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 119
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalClear:()V
         1: .line 120
            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 121
            aload 1 /* path */
            ifnull 5
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 122
            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 123
            aload 1 /* path */
            invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
            pop
         5: .line 125
      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 save();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 129
            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 130
            aload 1 /* path */
            ifnull 23
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         2: .line 131
            ldc "Saving history to: "
            aastore
            dup
            iconst_1
            aload 1 /* path */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.trace:([Ljava/lang/Object;)V
         3: .line 132
            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
         4: .line 134
            aconst_null
            astore 2
            aconst_null
            astore 3
         5: aload 1 /* path */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            iconst_3
            anewarray java.nio.file.OpenOption
            dup
            iconst_0
         6: .line 135
            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
         7: .line 134
            invokestatic java.nio.file.Files.newBufferedWriter:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/BufferedWriter;
            astore 4 /* writer */
        start local 4 // java.io.BufferedWriter writer
         8: .line 136
            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.lastLoaded:I
            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 6
            goto 12
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.BufferedWriter top java.util.Iterator
      StackMap stack:
         9: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.org.jline.reader.History$Entry
            astore 5 /* entry */
        start local 5 // jdk.internal.org.jline.reader.History$Entry entry
        10: .line 137
            aload 0 /* this */
            aload 5 /* entry */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.isPersistable:(Ljdk/internal/org/jline/reader/History$Entry;)Z
            ifeq 12
        11: .line 138
            aload 4 /* writer */
            aload 0 /* this */
            aload 5 /* 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 5 // jdk.internal.org.jline.reader.History$Entry entry
        12: .line 136
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 9
        13: .line 141
            aload 4 /* writer */
            ifnull 19
            aload 4 /* writer */
            invokevirtual java.io.BufferedWriter.close:()V
            goto 19
      StackMap locals: jdk.internal.org.jline.reader.impl.history.DefaultHistory java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.BufferedWriter
      StackMap stack: java.lang.Throwable
        14: astore 2
            aload 4 /* writer */
            ifnull 15
            aload 4 /* writer */
            invokevirtual java.io.BufferedWriter.close:()V
        end local 4 // java.io.BufferedWriter writer
      StackMap locals:
      StackMap stack:
        15: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        16: astore 3
            aload 2
            ifnonnull 17
            aload 3
            astore 2
            goto 18
      StackMap locals:
      StackMap stack:
        17: aload 2
            aload 3
            if_acmpeq 18
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        18: aload 2
            athrow
        19: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.nbEntriesInFile:I
            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.lastLoaded:I
            isub
            iadd
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.nbEntriesInFile:I
        20: .line 144
            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 2 /* max */
        start local 2 // int max
        21: .line 145
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.nbEntriesInFile:I
            iload 2 /* max */
            iload 2 /* max */
            iconst_4
            idiv
            iadd
            if_icmple 23
        22: .line 146
            aload 0 /* this */
            aload 1 /* path */
            iload 2 /* max */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.trimHistory:(Ljava/nio/file/Path;I)V
        end local 2 // int max
        23: .line 149
      StackMap locals:
      StackMap stack:
            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
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.lastLoaded:I
        24: .line 150
            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   25     0    this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            1   25     1    path  Ljava/nio/file/Path;
            8   15     4  writer  Ljava/io/BufferedWriter;
           10   12     5   entry  Ljdk/internal/org/jline/reader/History$Entry;
           21   23     2     max  I
      Exception table:
        from    to  target  type
           8    13      14  any
           5    16      16  any
    Exceptions:
      throws java.io.IOException

  protected void trimHistory(java.nio.file.Path, int);
    descriptor: (Ljava/nio/file/Path;I)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, 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 181
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         1: .line 153
            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 155
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            astore 3 /* allItems */
        start local 3 // java.util.LinkedList allItems
         3: .line 156
            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 157
            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$1(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 163
            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 165
      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 167
            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 168
            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 169
            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 170
            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 169
      StackMap locals:
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 17
        20: .line 172
            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 173
      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 175
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.internalClear:()V
        28: .line 176
            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
        29: .line 177
            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
        30: .line 178
            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
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.lastLoaded:I
        31: .line 179
            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
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.nbEntriesInFile:I
        32: .line 180
            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   33     0      this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0   33     1      path  Ljava/nio/file/Path;
            0   33     2       max  I
            3   33     3  allItems  Ljava/util/LinkedList<Ljdk/internal/org/jline/reader/History$Entry;>;
            5    8     6    reader  Ljava/io/BufferedReader;
           14   33     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 191
            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=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 195
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
         1: .line 196
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         2: .line 197
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.lastLoaded:I
         3: .line 198
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.nbEntriesInFile:I
         4: .line 199
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.clear:()V
         5: .line 200
            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;

  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 203
            iconst_0
            istore 2 /* idx */
        start local 2 // int idx
         1: .line 204
            goto 11
         2: .line 205
      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 206
            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 207
            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 208
            goto 9
         6: .line 209
      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 210
            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 211
            aload 5 /* iterator */
            invokeinterface java.util.ListIterator.remove:()V
        end local 6 // java.lang.String l
         9: .line 208
      StackMap locals:
      StackMap stack:
            aload 5 /* iterator */
            invokeinterface java.util.ListIterator.hasPrevious:()Z
            ifne 6
        10: .line 214
            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 204
      StackMap locals:
      StackMap stack:
            iload 2 /* idx */
            aload 0 /* allItems */
            invokeinterface java.util.List.size:()I
            if_icmplt 2
        12: .line 216
            goto 14
        13: .line 217
      StackMap locals:
      StackMap stack:
            aload 0 /* allItems */
            iconst_0
            invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
            pop
        14: .line 216
      StackMap locals:
      StackMap stack:
            aload 0 /* allItems */
            invokeinterface java.util.List.size:()I
            iload 1 /* max */
            if_icmpgt 13
        15: .line 219
            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 222
            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 226
            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 230
            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 234
            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 238
            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 242
            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 243
            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 245
      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=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 249
            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.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 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
    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 254
            aload 1 /* time */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 255
            aload 2 /* line */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 257
            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 258
            return
         4: .line 260
      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 261
            return
         6: .line 263
      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 264
            aload 2 /* line */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            astore 2 /* line */
         8: .line 266
      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 267
            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 268
            return
        11: .line 271
      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 272
            return
        13: .line 274
      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 275
            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 277
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.save:()V
        16: .line 278
            goto 20
        17: .line 279
      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 280
            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 283
      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 286
            aload 1 /* patterns */
            ifnull 1
            aload 1 /* patterns */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 2
         1: .line 287
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
         2: .line 289
      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 290
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         4: goto 16
         5: .line 291
      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 292
            iload 5 /* ch */
            bipush 92
            if_icmpne 10
         7: .line 293
            aload 1 /* patterns */
            iinc 4 /* i */ 1
            iload 4 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 5 /* ch */
         8: .line 294
            aload 3 /* sb */
            iload 5 /* ch */
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         9: .line 295
            goto 15
      StackMap locals: int
      StackMap stack:
        10: iload 5 /* ch */
            bipush 58
            if_icmpne 13
        11: .line 296
            aload 3 /* sb */
            bipush 124
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        12: .line 297
            goto 15
      StackMap locals:
      StackMap stack:
        13: iload 5 /* ch */
            bipush 42
            if_icmpne 15
        14: .line 298
            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 290
      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 301
            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=5, 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 305
            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 3 /* entry */
        start local 3 // jdk.internal.org.jline.reader.History$Entry entry
         1: .line 306
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.items:Ljava/util/LinkedList;
            aload 3 /* entry */
            invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
            pop
         2: .line 307
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.reader.impl.history.DefaultHistory.maybeResize:()V
         3: .line 308
            return
        end local 3 // jdk.internal.org.jline.reader.History$Entry entry
        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    4     0   this  Ljdk/internal/org/jline/reader/impl/history/DefaultHistory;
            0    4     1   time  Ljava/time/Instant;
            0    4     2   line  Ljava/lang/String;
            1    4     3  entry  Ljdk/internal/org/jline/reader/History$Entry;
    MethodParameters:
      Name  Flags
      time  
      line  

  private void maybeResize();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.impl.history.DefaultHistory this
         0: .line 311
            goto 4
         1: .line 312
      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 313
            aload 0 /* this */
            dup
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.lastLoaded:I
            iconst_1
            isub
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.lastLoaded:I
         3: .line 314
            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
         4: .line 311
      StackMap locals:
      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
         5: .line 316
            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
         6: .line 317
            return
        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;

  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 320
            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 325
            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 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 370
            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 371
            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 372
            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 373
            iconst_1
            ireturn
         4: .line 376
      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 383
            iload 1 /* index */
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.offset:I
            isub
            istore 1 /* index */
         1: .line 384
            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 385
            aload 0 /* this */
            iload 1 /* index */
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         3: .line 386
            iconst_1
            ireturn
         4: .line 388
      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 398
            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 399
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
         2: .line 400
            iconst_1
            ireturn
         3: .line 402
      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 410
            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 411
            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 417
            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 418
            ldc ""
            areturn
         2: .line 420
      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 429
            aload 0 /* this */
            getfield jdk.internal.org.jline.reader.impl.history.DefaultHistory.index:I
            ifgt 2
         1: .line 430
            iconst_0
            ireturn
         2: .line 432
      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 433
            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 442
            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 443
            iconst_0
            ireturn
         2: .line 445
      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 446
            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 451
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 452
            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 453
            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 452
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 455
            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 459
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 460
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: goto 16
         3: .line 461
      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 462
            iload 3 /* ch */
            lookupswitch { // 3
                   10: 5
                   13: 8
                   92: 11
              default: 14
          }
         5: .line 464
      StackMap locals: int
      StackMap stack:
            aload 1 /* sb */
            bipush 92
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         6: .line 465
            aload 1 /* sb */
            bipush 110
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         7: .line 466
            goto 15
         8: .line 468
      StackMap locals:
      StackMap stack:
            aload 1 /* sb */
            bipush 92
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         9: .line 469
            aload 1 /* sb */
            bipush 114
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        10: .line 470
            goto 15
        11: .line 472
      StackMap locals:
      StackMap stack:
            aload 1 /* sb */
            bipush 92
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        12: .line 473
            aload 1 /* sb */
            bipush 92
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        13: .line 474
            goto 15
        14: .line 476
      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 460
      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 480
            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 484
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 485
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: goto 16
         3: .line 486
      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 487
            iload 3 /* ch */
            tableswitch { // 92 - 92
                   92: 5
              default: 14
          }
         5: .line 489
      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 490
            iload 3 /* ch */
            bipush 110
            if_icmpne 9
         7: .line 491
            aload 1 /* sb */
            bipush 10
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         8: .line 492
            goto 15
      StackMap locals:
      StackMap stack:
         9: iload 3 /* ch */
            bipush 114
            if_icmpne 12
        10: .line 493
            aload 1 /* sb */
            bipush 13
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        11: .line 494
            goto 15
        12: .line 495
      StackMap locals:
      StackMap stack:
            aload 1 /* sb */
            iload 3 /* ch */
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        13: .line 497
            goto 15
        14: .line 499
      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 485
      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 503
            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.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 158
            aload 2 /* l */
            bipush 58
            invokevirtual java.lang.String.indexOf:(I)I
            istore 3 /* idx */
        start local 3 // int idx
         1: .line 159
            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 160
            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 161
            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 162
            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
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