final class jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider implements jdk.internal.jshell.tool.JShellTool$CompletionProvider
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider
  super_class: java.lang.Object
{
  private final java.lang.String[] alternatives;
    descriptor: [Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider this
        start local 1 // java.lang.String[] alternatives
         0: .line 1310
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 1311
            aload 0 /* this */
            aload 1 /* alternatives */
            putfield jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider.alternatives:[Ljava/lang/String;
         2: .line 1312
            return
        end local 1 // java.lang.String[] alternatives
        end local 0 // jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    3     0          this  Ljdk/internal/jshell/tool/JShellTool$FixedCompletionProvider;
            0    3     1  alternatives  [Ljava/lang/String;
    MethodParameters:
              Name  Flags
      alternatives  

  public void <init>(jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider, java.lang.String[]);
    descriptor: (Ljdk/internal/jshell/tool/JShellTool$FixedCompletionProvider;[Ljava/lang/String;)V
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider this
        start local 1 // jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider base
        start local 2 // java.lang.String[] alternatives
         0: .line 1315
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 1316
            new java.util.ArrayList
            dup
            aload 1 /* base */
            getfield jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider.alternatives:[Ljava/lang/String;
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            astore 3 /* l */
        start local 3 // java.util.List l
         2: .line 1317
            aload 3 /* l */
            aload 2 /* alternatives */
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
         3: .line 1318
            aload 0 /* this */
            aload 3 /* l */
            aload 3 /* l */
            invokeinterface java.util.List.size:()I
            anewarray java.lang.String
            invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast java.lang.String[]
            putfield jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider.alternatives:[Ljava/lang/String;
         4: .line 1319
            return
        end local 3 // java.util.List l
        end local 2 // java.lang.String[] alternatives
        end local 1 // jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider base
        end local 0 // jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    5     0          this  Ljdk/internal/jshell/tool/JShellTool$FixedCompletionProvider;
            0    5     1          base  Ljdk/internal/jshell/tool/JShellTool$FixedCompletionProvider;
            0    5     2  alternatives  [Ljava/lang/String;
            2    5     3             l  Ljava/util/List<Ljava/lang/String;>;
    MethodParameters:
              Name  Flags
      base          
      alternatives  

  public java.util.List<jdk.jshell.SourceCodeAnalysis$Suggestion> completionSuggestions(java.lang.String, int, int[]);
    descriptor: (Ljava/lang/String;I[I)Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=9, args_size=4
        start local 0 // jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider this
        start local 1 // java.lang.String input
        start local 2 // int cursor
        start local 3 // int[] anchor
         0: .line 1323
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* result */
        start local 4 // java.util.List result
         1: .line 1325
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider.alternatives:[Ljava/lang/String;
            dup
            astore 8
            arraylength
            istore 7
            iconst_0
            istore 6
            goto 6
      StackMap locals: jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider java.lang.String int int[] java.util.List top int int java.lang.String[]
      StackMap stack:
         2: aload 8
            iload 6
            aaload
            astore 5 /* alternative */
        start local 5 // java.lang.String alternative
         3: .line 1326
            aload 5 /* alternative */
            aload 1 /* input */
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 5
         4: .line 1327
            aload 4 /* result */
            new jdk.internal.jshell.tool.JShellTool$ArgSuggestion
            dup
            aload 5 /* alternative */
            invokespecial jdk.internal.jshell.tool.JShellTool$ArgSuggestion.<init>:(Ljava/lang/String;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // java.lang.String alternative
         5: .line 1325
      StackMap locals:
      StackMap stack:
            iinc 6 1
      StackMap locals:
      StackMap stack:
         6: iload 6
            iload 7
            if_icmplt 2
         7: .line 1331
            aload 3 /* anchor */
            iconst_0
            iconst_0
            iastore
         8: .line 1333
            aload 4 /* result */
            areturn
        end local 4 // java.util.List result
        end local 3 // int[] anchor
        end local 2 // int cursor
        end local 1 // java.lang.String input
        end local 0 // jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    9     0         this  Ljdk/internal/jshell/tool/JShellTool$FixedCompletionProvider;
            0    9     1        input  Ljava/lang/String;
            0    9     2       cursor  I
            0    9     3       anchor  [I
            1    9     4       result  Ljava/util/List<Ljdk/jshell/SourceCodeAnalysis$Suggestion;>;
            3    5     5  alternative  Ljava/lang/String;
    Signature: (Ljava/lang/String;I[I)Ljava/util/List<Ljdk/jshell/SourceCodeAnalysis$Suggestion;>;
    MethodParameters:
        Name  Flags
      input   
      cursor  
      anchor  
}
SourceFile: "JShellTool.java"
NestHost: jdk.internal.jshell.tool.JShellTool
InnerClasses:
  ArgSuggestion = jdk.internal.jshell.tool.JShellTool$ArgSuggestion of jdk.internal.jshell.tool.JShellTool
  abstract CompletionProvider = jdk.internal.jshell.tool.JShellTool$CompletionProvider of jdk.internal.jshell.tool.JShellTool
  final FixedCompletionProvider = jdk.internal.jshell.tool.JShellTool$FixedCompletionProvider of jdk.internal.jshell.tool.JShellTool
  public abstract Suggestion = jdk.jshell.SourceCodeAnalysis$Suggestion of jdk.jshell.SourceCodeAnalysis