final class jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask implements jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask
  super_class: java.lang.Object
{
  private final java.util.List<java.lang.String> synopsis;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljava/lang/String;>;

  final jdk.internal.jshell.tool.ConsoleIOContext this$0;
    descriptor: Ljdk/internal/jshell/tool/ConsoleIOContext;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  public void <init>(java.util.List<java.lang.String>);
    descriptor: (Ljdk/internal/jshell/tool/ConsoleIOContext;Ljava/util/List;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask this
        start local 2 // java.util.List synposis
         0: .line 539
            aload 0 /* this */
            aload 1
            putfield jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask.this$0:Ljdk/internal/jshell/tool/ConsoleIOContext;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 540
            aload 0 /* this */
            aload 2 /* synposis */
            putfield jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask.synopsis:Ljava/util/List;
         2: .line 541
            return
        end local 2 // java.util.List synposis
        end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Ljdk/internal/jshell/tool/ConsoleIOContext$CommandSynopsisTask;
            0    3     2  synposis  Ljava/util/List<Ljava/lang/String;>;
    Signature: (Ljava/util/List<Ljava/lang/String;>;)V
    MethodParameters:
          Name  Flags
      this$0    final
      synposis  

  public java.lang.String description();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask this
         0: .line 545
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask.this$0:Ljdk/internal/jshell/tool/ConsoleIOContext;
            getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
            ldc "jshell.console.see.synopsis"
            invokevirtual jdk.internal.jshell.tool.JShellTool.getResourceString:(Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jshell/tool/ConsoleIOContext$CommandSynopsisTask;

  public jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result perform(java.lang.String, int);
    descriptor: (Ljava/lang/String;I)Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask this
        start local 1 // java.lang.String text
        start local 2 // int cursor
         0: .line 551
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask.this$0:Ljdk/internal/jshell/tool/ConsoleIOContext;
            getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
            invokevirtual jdk.internal.jline.console.ConsoleReader.println:()V
         1: .line 552
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask.this$0:Ljdk/internal/jshell/tool/ConsoleIOContext;
            getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask.synopsis:Ljava/util/List;
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
         2: .line 553
            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/internal/jshell/tool/ConsoleIOContext$CommandSynopsisTask.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
                  (Ljava/lang/String;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         3: .line 554
            getstatic jdk.internal.jshell.tool.ConsoleIOContext.LINE_SEPARATORS2:Ljava/lang/String;
            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.CharSequence
         4: .line 552
            invokevirtual jdk.internal.jline.console.ConsoleReader.println:(Ljava/lang/CharSequence;)V
         5: .line 555
            goto 8
      StackMap locals:
      StackMap stack: java.io.IOException
         6: astore 3 /* ex */
        start local 3 // java.io.IOException ex
         7: .line 556
            new java.lang.IllegalStateException
            dup
            aload 3 /* ex */
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.io.IOException ex
         8: .line 558
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.FINISH:Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
            areturn
        end local 2 // int cursor
        end local 1 // java.lang.String text
        end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Ljdk/internal/jshell/tool/ConsoleIOContext$CommandSynopsisTask;
            0    9     1    text  Ljava/lang/String;
            0    9     2  cursor  I
            7    8     3      ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     5       6  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      text    
      cursor  

  private static java.lang.String lambda$0(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String l
         0: .line 553
            aload 0 /* l */
            ldc "\n"
            getstatic jdk.internal.jshell.tool.ConsoleIOContext.LINE_SEPARATOR:Ljava/lang/String;
            invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 0 // java.lang.String l
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     l  Ljava/lang/String;
}
SourceFile: "ConsoleIOContext.java"
NestHost: jdk.internal.jshell.tool.ConsoleIOContext
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private final CommandSynopsisTask = jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask of jdk.internal.jshell.tool.ConsoleIOContext
  private abstract CompletionTask = jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask of jdk.internal.jshell.tool.ConsoleIOContext
  public final Result = jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result of jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask