class jdk.nashorn.tools.jjs.Console implements java.lang.AutoCloseable
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.nashorn.tools.jjs.Console
  super_class: java.lang.Object
{
  private static final java.lang.String DOCUMENTATION_SHORTCUT;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "\u001B[Z"

  private final jdk.internal.org.jline.reader.LineReader in;
    descriptor: Ljdk/internal/org/jline/reader/LineReader;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.File historyFile;
    descriptor: Ljava/io/File;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(java.io.InputStream, java.io.PrintStream, java.io.File, jdk.nashorn.tools.jjs.NashornCompleter, java.util.function.Function<java.lang.String, java.lang.String>);
    descriptor: (Ljava/io/InputStream;Ljava/io/PrintStream;Ljava/io/File;Ljdk/nashorn/tools/jjs/NashornCompleter;Ljava/util/function/Function;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=10, args_size=6
        start local 0 // jdk.nashorn.tools.jjs.Console this
        start local 1 // java.io.InputStream cmdin
        start local 2 // java.io.PrintStream cmdout
        start local 3 // java.io.File historyFile
        start local 4 // jdk.nashorn.tools.jjs.NashornCompleter completer
        start local 5 // java.util.function.Function docHelper
         0: .line 60
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 62
            aload 0 /* this */
            aload 3 /* historyFile */
            putfield jdk.nashorn.tools.jjs.Console.historyFile:Ljava/io/File;
         2: .line 64
            aload 4 /* completer */
            invokedynamic parse(Ljdk/nashorn/tools/jjs/NashornCompleter;)Ljdk/internal/org/jline/reader/Parser;
              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/String;ILjdk/internal/org/jline/reader/Parser$ParseContext;)Ljdk/internal/org/jline/reader/ParsedLine;
                  jdk/nashorn/tools/jjs/Console.lambda$0(Ljdk/nashorn/tools/jjs/NashornCompleter;Ljava/lang/String;ILjdk/internal/org/jline/reader/Parser$ParseContext;)Ljdk/internal/org/jline/reader/ParsedLine; (6)
                  (Ljava/lang/String;ILjdk/internal/org/jline/reader/Parser$ParseContext;)Ljdk/internal/org/jline/reader/ParsedLine;
            astore 6 /* parser */
        start local 6 // jdk.internal.org.jline.reader.Parser parser
         3: .line 75
            aload 0 /* this */
            invokestatic jdk.internal.org.jline.reader.LineReaderBuilder.builder:()Ljdk/internal/org/jline/reader/LineReaderBuilder;
         4: .line 76
            getstatic jdk.internal.org.jline.reader.LineReader$Option.DISABLE_EVENT_EXPANSION:Ljdk/internal/org/jline/reader/LineReader$Option;
            iconst_1
            invokevirtual jdk.internal.org.jline.reader.LineReaderBuilder.option:(Ljdk/internal/org/jline/reader/LineReader$Option;Z)Ljdk/internal/org/jline/reader/LineReaderBuilder;
         5: .line 77
            invokedynamic complete()Ljdk/internal/org/jline/reader/Completer;
              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:
                  (Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/ParsedLine;Ljava/util/List;)V
                  jdk/nashorn/tools/jjs/Console.lambda$1(Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/ParsedLine;Ljava/util/List;)V (6)
                  (Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/ParsedLine;Ljava/util/List;)V
            invokevirtual jdk.internal.org.jline.reader.LineReaderBuilder.completer:(Ljdk/internal/org/jline/reader/Completer;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
         6: .line 78
            aload 6 /* parser */
            invokevirtual jdk.internal.org.jline.reader.LineReaderBuilder.parser:(Ljdk/internal/org/jline/reader/Parser;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
         7: .line 79
            invokevirtual jdk.internal.org.jline.reader.LineReaderBuilder.build:()Ljdk/internal/org/jline/reader/LineReader;
         8: .line 75
            putfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
         9: .line 80
            aload 3 /* historyFile */
            invokevirtual java.io.File.exists:()Z
            ifeq 24
        10: .line 81
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 7 /* line */
        start local 7 // java.lang.StringBuilder line
        11: .line 82
            aload 3 /* historyFile */
            invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
            invokestatic java.nio.file.Files.readAllLines:(Ljava/nio/file/Path;)Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 9
            goto 21
      StackMap locals: jdk.nashorn.tools.jjs.Console java.io.InputStream java.io.PrintStream java.io.File jdk.nashorn.tools.jjs.NashornCompleter java.util.function.Function jdk.internal.org.jline.reader.Parser java.lang.StringBuilder top java.util.Iterator
      StackMap stack:
        12: aload 9
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 8 /* h */
        start local 8 // java.lang.String h
        13: .line 83
            aload 7 /* line */
            invokevirtual java.lang.StringBuilder.length:()I
            ifle 15
        14: .line 84
            aload 7 /* line */
            ldc "\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        15: .line 86
      StackMap locals: jdk.nashorn.tools.jjs.Console java.io.InputStream java.io.PrintStream java.io.File jdk.nashorn.tools.jjs.NashornCompleter java.util.function.Function jdk.internal.org.jline.reader.Parser java.lang.StringBuilder java.lang.String java.util.Iterator
      StackMap stack:
            aload 7 /* line */
            aload 8 /* h */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        16: .line 88
            aload 6 /* parser */
            aload 7 /* line */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 7 /* line */
            invokevirtual java.lang.StringBuilder.length:()I
            invokeinterface jdk.internal.org.jline.reader.Parser.parse:(Ljava/lang/String;I)Ljdk/internal/org/jline/reader/ParsedLine;
            pop
        17: .line 89
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            invokeinterface jdk.internal.org.jline.reader.LineReader.getHistory:()Ljdk/internal/org/jline/reader/History;
            aload 7 /* line */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface jdk.internal.org.jline.reader.History.add:(Ljava/lang/String;)V
        18: .line 90
            aload 7 /* line */
            iconst_0
            aload 7 /* line */
            invokevirtual java.lang.StringBuilder.length:()I
            invokevirtual java.lang.StringBuilder.delete:(II)Ljava/lang/StringBuilder;
            pop
        19: .line 91
            goto 21
      StackMap locals:
      StackMap stack: jdk.internal.org.jline.reader.EOFError
        20: pop
        end local 8 // java.lang.String h
        21: .line 82
      StackMap locals: jdk.nashorn.tools.jjs.Console java.io.InputStream java.io.PrintStream java.io.File jdk.nashorn.tools.jjs.NashornCompleter java.util.function.Function jdk.internal.org.jline.reader.Parser java.lang.StringBuilder top java.util.Iterator
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 12
        22: .line 95
            aload 7 /* line */
            invokevirtual java.lang.StringBuilder.length:()I
            ifle 24
        23: .line 96
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            invokeinterface jdk.internal.org.jline.reader.LineReader.getHistory:()Ljdk/internal/org/jline/reader/History;
            aload 7 /* line */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface jdk.internal.org.jline.reader.History.add:(Ljava/lang/String;)V
        end local 7 // java.lang.StringBuilder line
        24: .line 99
      StackMap locals: jdk.nashorn.tools.jjs.Console java.io.InputStream java.io.PrintStream java.io.File jdk.nashorn.tools.jjs.NashornCompleter java.util.function.Function jdk.internal.org.jline.reader.Parser
      StackMap stack:
            invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
            new java.lang.Thread
            dup
            aload 0 /* this */
            invokedynamic run(Ljdk/nashorn/tools/jjs/Console;)Ljava/lang/Runnable;
              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:
                  ()V
                  jdk/nashorn/tools/jjs/Console.saveHistory()V (7)
                  ()V
            invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
            invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
        25: .line 100
            aload 0 /* this */
            ldc "\u001B[Z"
            aload 0 /* this */
            aload 5 /* docHelper */
            invokedynamic apply(Ljdk/nashorn/tools/jjs/Console;Ljava/util/function/Function;)Ljdk/internal/org/jline/reader/Widget;
              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:
                  ()Z
                  jdk/nashorn/tools/jjs/Console.lambda$3(Ljava/util/function/Function;)Z (7)
                  ()Z
            invokevirtual jdk.nashorn.tools.jjs.Console.bind:(Ljava/lang/String;Ljdk/internal/org/jline/reader/Widget;)V
        26: .line 101
            return
        end local 6 // jdk.internal.org.jline.reader.Parser parser
        end local 5 // java.util.function.Function docHelper
        end local 4 // jdk.nashorn.tools.jjs.NashornCompleter completer
        end local 3 // java.io.File historyFile
        end local 2 // java.io.PrintStream cmdout
        end local 1 // java.io.InputStream cmdin
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   27     0         this  Ljdk/nashorn/tools/jjs/Console;
            0   27     1        cmdin  Ljava/io/InputStream;
            0   27     2       cmdout  Ljava/io/PrintStream;
            0   27     3  historyFile  Ljava/io/File;
            0   27     4    completer  Ljdk/nashorn/tools/jjs/NashornCompleter;
            0   27     5    docHelper  Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;
            3   27     6       parser  Ljdk/internal/org/jline/reader/Parser;
           11   24     7         line  Ljava/lang/StringBuilder;
           13   21     8            h  Ljava/lang/String;
      Exception table:
        from    to  target  type
          16    19      20  Class jdk.internal.org.jline.reader.EOFError
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/io/InputStream;Ljava/io/PrintStream;Ljava/io/File;Ljdk/nashorn/tools/jjs/NashornCompleter;Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;)V
    MethodParameters:
             Name  Flags
      cmdin        final
      cmdout       final
      historyFile  final
      completer    final
      docHelper    final

  java.lang.String readLine(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.nashorn.tools.jjs.Console this
        start local 1 // java.lang.String prompt
        start local 2 // java.lang.String continuationPrompt
         0: .line 104
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            ldc "secondary-prompt-pattern"
            aload 2 /* continuationPrompt */
            invokeinterface jdk.internal.org.jline.reader.LineReader.setVariable:(Ljava/lang/String;Ljava/lang/Object;)V
         1: .line 105
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            aload 1 /* prompt */
            invokeinterface jdk.internal.org.jline.reader.LineReader.readLine:(Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 2 // java.lang.String continuationPrompt
        end local 1 // java.lang.String prompt
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    2     0                this  Ljdk/nashorn/tools/jjs/Console;
            0    2     1              prompt  Ljava/lang/String;
            0    2     2  continuationPrompt  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                    Name  Flags
      prompt              final
      continuationPrompt  final

  java.lang.String readUserLine(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // jdk.nashorn.tools.jjs.Console this
        start local 1 // java.lang.String prompt
         0: .line 109
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            invokeinterface jdk.internal.org.jline.reader.LineReader.getParser:()Ljdk/internal/org/jline/reader/Parser;
            astore 2 /* prevParser */
        start local 2 // jdk.internal.org.jline.reader.Parser prevParser
         1: .line 112
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            checkcast jdk.internal.org.jline.reader.impl.LineReaderImpl
            invokedynamic parse()Ljdk/internal/org/jline/reader/Parser;
              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/String;ILjdk/internal/org/jline/reader/Parser$ParseContext;)Ljdk/internal/org/jline/reader/ParsedLine;
                  jdk/nashorn/tools/jjs/Console.lambda$4(Ljava/lang/String;ILjdk/internal/org/jline/reader/Parser$ParseContext;)Ljdk/internal/org/jline/reader/ParsedLine; (6)
                  (Ljava/lang/String;ILjdk/internal/org/jline/reader/Parser$ParseContext;)Ljdk/internal/org/jline/reader/ParsedLine;
            invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.setParser:(Ljdk/internal/org/jline/reader/Parser;)V
         2: .line 113
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            aload 1 /* prompt */
            invokeinterface jdk.internal.org.jline.reader.LineReader.readLine:(Ljava/lang/String;)Ljava/lang/String;
            astore 4
         3: .line 115
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            checkcast jdk.internal.org.jline.reader.impl.LineReaderImpl
            aload 2 /* prevParser */
            invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.setParser:(Ljdk/internal/org/jline/reader/Parser;)V
         4: .line 113
            aload 4
            areturn
         5: .line 114
      StackMap locals: jdk.nashorn.tools.jjs.Console java.lang.String jdk.internal.org.jline.reader.Parser
      StackMap stack: java.lang.Throwable
            astore 3
         6: .line 115
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            checkcast jdk.internal.org.jline.reader.impl.LineReaderImpl
            aload 2 /* prevParser */
            invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.setParser:(Ljdk/internal/org/jline/reader/Parser;)V
         7: .line 116
            aload 3
            athrow
        end local 2 // jdk.internal.org.jline.reader.Parser prevParser
        end local 1 // java.lang.String prompt
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Ljdk/nashorn/tools/jjs/Console;
            0    8     1      prompt  Ljava/lang/String;
            1    8     2  prevParser  Ljdk/internal/org/jline/reader/Parser;
      Exception table:
        from    to  target  type
           1     3       5  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      prompt  final

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.Console this
         0: .line 121
            aload 0 /* this */
            invokevirtual jdk.nashorn.tools.jjs.Console.saveHistory:()V
         1: .line 122
            return
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/nashorn/tools/jjs/Console;

  private void saveHistory();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.Console this
         0: .line 125
            aconst_null
            astore 1
            aconst_null
            astore 2
         1: aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.historyFile:Ljava/io/File;
            invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.OpenOption
            invokestatic java.nio.file.Files.newBufferedWriter:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/BufferedWriter;
            astore 3 /* out */
        start local 3 // java.io.Writer out
         2: .line 126
            ldc "line.separator"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* lineSeparator */
        start local 4 // java.lang.String lineSeparator
         3: .line 128
            aload 3 /* out */
            aload 0 /* this */
            invokevirtual jdk.nashorn.tools.jjs.Console.getHistory:()Ljdk/internal/org/jline/reader/History;
            invokeinterface jdk.internal.org.jline.reader.History.spliterator:()Ljava/util/Spliterator;
            iconst_0
            invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
         4: .line 129
            invokedynamic apply()Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  jdk/nashorn/tools/jjs/Console.lambda$5(Ljdk/internal/org/jline/reader/History$Entry;)Ljava/lang/String; (6)
                  (Ljdk/internal/org/jline/reader/History$Entry;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         5: .line 130
            aload 4 /* lineSeparator */
            invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.lang.String
         6: .line 128
            invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
        end local 4 // java.lang.String lineSeparator
         7: .line 131
            aload 3 /* out */
            ifnull 14
            aload 3 /* out */
            invokevirtual java.io.Writer.close:()V
            goto 14
      StackMap locals: jdk.nashorn.tools.jjs.Console java.lang.Throwable java.lang.Throwable java.io.Writer
      StackMap stack: java.lang.Throwable
         8: astore 1
            aload 3 /* out */
            ifnull 9
            aload 3 /* out */
            invokevirtual java.io.Writer.close:()V
        end local 3 // java.io.Writer out
      StackMap locals:
      StackMap stack:
         9: aload 1
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: astore 2
            aload 1
            ifnonnull 11
            aload 2
            astore 1
            goto 12
      StackMap locals:
      StackMap stack:
        11: aload 1
            aload 2
            if_acmpeq 12
            aload 1
            aload 2
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        12: aload 1
            athrow
      StackMap locals: jdk.nashorn.tools.jjs.Console
      StackMap stack: java.io.IOException
        13: pop
        14: .line 132
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   15     0           this  Ljdk/nashorn/tools/jjs/Console;
            2    9     3            out  Ljava/io/Writer;
            3    7     4  lineSeparator  Ljava/lang/String;
      Exception table:
        from    to  target  type
           2     7       8  any
           1    10      10  any
           0    13      13  Class java.io.IOException

  jdk.internal.org.jline.reader.History getHistory();
    descriptor: ()Ljdk/internal/org/jline/reader/History;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.Console this
         0: .line 135
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            invokeinterface jdk.internal.org.jline.reader.LineReader.getHistory:()Ljdk/internal/org/jline/reader/History;
            areturn
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/tools/jjs/Console;

  boolean terminalEditorRunning();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.Console this
         0: .line 139
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            invokeinterface jdk.internal.org.jline.reader.LineReader.getTerminal:()Ljdk/internal/org/jline/terminal/Terminal;
            astore 1 /* terminal */
        start local 1 // jdk.internal.org.jline.terminal.Terminal terminal
         1: .line 140
            aload 1 /* terminal */
            invokeinterface jdk.internal.org.jline.terminal.Terminal.getAttributes:()Ljdk/internal/org/jline/terminal/Attributes;
            getstatic jdk.internal.org.jline.terminal.Attributes$LocalFlag.ICANON:Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;
            invokevirtual jdk.internal.org.jline.terminal.Attributes.getLocalFlag:(Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;)Z
            ifeq 2
            iconst_0
            goto 3
      StackMap locals: jdk.internal.org.jline.terminal.Terminal
      StackMap stack:
         2: iconst_1
      StackMap locals:
      StackMap stack: int
         3: ireturn
        end local 1 // jdk.internal.org.jline.terminal.Terminal terminal
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Ljdk/nashorn/tools/jjs/Console;
            1    4     1  terminal  Ljdk/internal/org/jline/terminal/Terminal;

  void suspend();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.Console this
         0: .line 144
            return
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/tools/jjs/Console;

  void resume();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.Console this
         0: .line 147
            return
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/tools/jjs/Console;

  private void bind(java.lang.String, jdk.internal.org.jline.reader.Widget);
    descriptor: (Ljava/lang/String;Ljdk/internal/org/jline/reader/Widget;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.nashorn.tools.jjs.Console this
        start local 1 // java.lang.String shortcut
        start local 2 // jdk.internal.org.jline.reader.Widget action
         0: .line 150
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            invokeinterface jdk.internal.org.jline.reader.LineReader.getKeyMaps:()Ljava/util/Map;
            ldc "main"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast jdk.internal.org.jline.keymap.KeyMap
            aload 2 /* action */
            aload 1 /* shortcut */
            invokevirtual jdk.internal.org.jline.keymap.KeyMap.bind:(Ljava/lang/Object;Ljava/lang/CharSequence;)V
         1: .line 151
            return
        end local 2 // jdk.internal.org.jline.reader.Widget action
        end local 1 // java.lang.String shortcut
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Ljdk/nashorn/tools/jjs/Console;
            0    2     1  shortcut  Ljava/lang/String;
            0    2     2    action  Ljdk/internal/org/jline/reader/Widget;
    MethodParameters:
          Name  Flags
      shortcut  
      action    

  private boolean showDocumentation(java.util.function.Function<java.lang.String, java.lang.String>);
    descriptor: (Ljava/util/function/Function;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // jdk.nashorn.tools.jjs.Console this
        start local 1 // java.util.function.Function docHelper
         0: .line 154
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            invokeinterface jdk.internal.org.jline.reader.LineReader.getBuffer:()Ljdk/internal/org/jline/reader/Buffer;
            invokeinterface jdk.internal.org.jline.reader.Buffer.toString:()Ljava/lang/String;
            astore 2 /* buffer */
        start local 2 // java.lang.String buffer
         1: .line 155
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            invokeinterface jdk.internal.org.jline.reader.LineReader.getBuffer:()Ljdk/internal/org/jline/reader/Buffer;
            invokeinterface jdk.internal.org.jline.reader.Buffer.cursor:()I
            istore 3 /* cursor */
        start local 3 // int cursor
         2: .line 156
            aload 1 /* docHelper */
            aload 2 /* buffer */
            iconst_0
            iload 3 /* cursor */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* doc */
        start local 4 // java.lang.String doc
         3: .line 157
            aload 4 /* doc */
            ifnull 7
         4: .line 158
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            invokeinterface jdk.internal.org.jline.reader.LineReader.getTerminal:()Ljdk/internal/org/jline/terminal/Terminal;
            invokeinterface jdk.internal.org.jline.terminal.Terminal.writer:()Ljava/io/PrintWriter;
            invokevirtual java.io.PrintWriter.println:()V
         5: .line 159
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/org/jline/reader/LineReader;
            aload 4 /* doc */
            invokeinterface jdk.internal.org.jline.reader.LineReader.printAbove:(Ljava/lang/String;)V
         6: .line 160
            iconst_1
            ireturn
         7: .line 162
      StackMap locals: java.lang.String int java.lang.String
      StackMap stack:
            iconst_0
            ireturn
        end local 4 // java.lang.String doc
        end local 3 // int cursor
        end local 2 // java.lang.String buffer
        end local 1 // java.util.function.Function docHelper
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0       this  Ljdk/nashorn/tools/jjs/Console;
            0    8     1  docHelper  Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;
            1    8     2     buffer  Ljava/lang/String;
            2    8     3     cursor  I
            3    8     4        doc  Ljava/lang/String;
    Signature: (Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;)Z
    MethodParameters:
           Name  Flags
      docHelper  final

  private static jdk.internal.org.jline.reader.ParsedLine lambda$0(jdk.nashorn.tools.jjs.NashornCompleter, java.lang.String, int, jdk.internal.org.jline.reader.Parser$ParseContext);
    descriptor: (Ljdk/nashorn/tools/jjs/NashornCompleter;Ljava/lang/String;ILjdk/internal/org/jline/reader/Parser$ParseContext;)Ljdk/internal/org/jline/reader/ParsedLine;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=5, locals=6, args_size=4
        start local 1 // java.lang.String line
        start local 2 // int cursor
        start local 3 // jdk.internal.org.jline.reader.Parser$ParseContext context
         0: .line 65
            aload 3 /* context */
            getstatic jdk.internal.org.jline.reader.Parser$ParseContext.COMPLETE:Ljdk/internal/org/jline/reader/Parser$ParseContext;
            if_acmpne 5
         1: .line 66
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* candidates */
        start local 4 // java.util.List candidates
         2: .line 67
            aload 0
            aload 1 /* line */
            iload 2 /* cursor */
            aload 4 /* candidates */
            invokevirtual jdk.nashorn.tools.jjs.NashornCompleter.complete:(Ljava/lang/String;ILjava/util/List;)I
            istore 5 /* anchor */
        start local 5 // int anchor
         3: .line 68
            iload 5 /* anchor */
            aload 1 /* line */
            invokevirtual java.lang.String.length:()I
            invokestatic java.lang.Math.min:(II)I
            istore 5 /* anchor */
         4: .line 69
            new jdk.nashorn.tools.jjs.Console$CompletionLine
            dup
            aload 1 /* line */
            iload 5 /* anchor */
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            iload 2 /* cursor */
            aload 4 /* candidates */
            invokespecial jdk.nashorn.tools.jjs.Console$CompletionLine.<init>:(Ljava/lang/String;ILjava/util/List;)V
            areturn
        end local 5 // int anchor
        end local 4 // java.util.List candidates
         5: .line 70
      StackMap locals:
      StackMap stack:
            aload 0
            aload 1 /* line */
            invokevirtual jdk.nashorn.tools.jjs.NashornCompleter.isComplete:(Ljava/lang/String;)Z
            ifne 7
         6: .line 71
            new jdk.internal.org.jline.reader.EOFError
            dup
            iload 2 /* cursor */
            iload 2 /* cursor */
            aload 1 /* line */
            invokespecial jdk.internal.org.jline.reader.EOFError.<init>:(IILjava/lang/String;)V
            athrow
         7: .line 73
      StackMap locals:
      StackMap stack:
            new jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter$ArgumentLine
            dup
            aload 1 /* line */
            iload 2 /* cursor */
            invokespecial jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter$ArgumentLine.<init>:(Ljava/lang/String;I)V
            areturn
        end local 3 // jdk.internal.org.jline.reader.Parser$ParseContext context
        end local 2 // int cursor
        end local 1 // java.lang.String line
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     1        line  Ljava/lang/String;
            0    8     2      cursor  I
            0    8     3     context  Ljdk/internal/org/jline/reader/Parser$ParseContext;
            2    5     4  candidates  Ljava/util/List<Ljdk/internal/org/jline/reader/Candidate;>;
            3    5     5      anchor  I
    Exceptions:
      throws jdk.internal.org.jline.reader.SyntaxError

  private static void lambda$1(jdk.internal.org.jline.reader.LineReader, jdk.internal.org.jline.reader.ParsedLine, java.util.List);
    descriptor: (Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/ParsedLine;Ljava/util/List;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.reader.LineReader in
        start local 1 // jdk.internal.org.jline.reader.ParsedLine line
        start local 2 // java.util.List candidates
         0: .line 77
            aload 2 /* candidates */
            aload 1 /* line */
            checkcast jdk.nashorn.tools.jjs.Console$CompletionLine
            getfield jdk.nashorn.tools.jjs.Console$CompletionLine.candidates:Ljava/util/List;
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            return
        end local 2 // java.util.List candidates
        end local 1 // jdk.internal.org.jline.reader.ParsedLine line
        end local 0 // jdk.internal.org.jline.reader.LineReader in
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0          in  Ljdk/internal/org/jline/reader/LineReader;
            0    1     1        line  Ljdk/internal/org/jline/reader/ParsedLine;
            0    1     2  candidates  Ljava/util/List<Ljdk/internal/org/jline/reader/Candidate;>;

  private boolean lambda$3(java.util.function.Function);
    descriptor: (Ljava/util/function/Function;)Z
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.nashorn.tools.jjs.Console this
         0: .line 100
            aload 0 /* this */
            aload 1
            invokevirtual jdk.nashorn.tools.jjs.Console.showDocumentation:(Ljava/util/function/Function;)Z
            ireturn
        end local 0 // jdk.nashorn.tools.jjs.Console this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/tools/jjs/Console;

  private static jdk.internal.org.jline.reader.ParsedLine lambda$4(java.lang.String, int, jdk.internal.org.jline.reader.Parser$ParseContext);
    descriptor: (Ljava/lang/String;ILjdk/internal/org/jline/reader/Parser$ParseContext;)Ljdk/internal/org/jline/reader/ParsedLine;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // java.lang.String line
        start local 1 // int cursor
        start local 2 // jdk.internal.org.jline.reader.Parser$ParseContext context
         0: .line 112
            new jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter$ArgumentLine
            dup
            aload 0 /* line */
            iload 1 /* cursor */
            invokespecial jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter$ArgumentLine.<init>:(Ljava/lang/String;I)V
            areturn
        end local 2 // jdk.internal.org.jline.reader.Parser$ParseContext context
        end local 1 // int cursor
        end local 0 // java.lang.String line
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     line  Ljava/lang/String;
            0    1     1   cursor  I
            0    1     2  context  Ljdk/internal/org/jline/reader/Parser$ParseContext;
    Exceptions:
      throws jdk.internal.org.jline.reader.SyntaxError

  private static java.lang.String lambda$5(jdk.internal.org.jline.reader.History$Entry);
    descriptor: (Ljdk/internal/org/jline/reader/History$Entry;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.reader.History$Entry e
         0: .line 129
            aload 0 /* e */
            invokeinterface jdk.internal.org.jline.reader.History$Entry.line:()Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.org.jline.reader.History$Entry e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Ljdk/internal/org/jline/reader/History$Entry;
}
SourceFile: "Console.java"
NestMembers:
  jdk.nashorn.tools.jjs.Console$CompletionLine
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
  public final ParseContext = jdk.internal.org.jline.reader.Parser$ParseContext of jdk.internal.org.jline.reader.Parser
  public ArgumentLine = jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter$ArgumentLine of jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter
  public final LocalFlag = jdk.internal.org.jline.terminal.Attributes$LocalFlag of jdk.internal.org.jline.terminal.Attributes
  private final CompletionLine = jdk.nashorn.tools.jjs.Console$CompletionLine of jdk.nashorn.tools.jjs.Console