public class jdk.internal.jline.console.completer.StringsCompleter implements jdk.internal.jline.console.completer.Completer
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.jline.console.completer.StringsCompleter
  super_class: java.lang.Object
{
  private final java.util.SortedSet<java.lang.String> strings;
    descriptor: Ljava/util/SortedSet;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/SortedSet<Ljava/lang/String;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.completer.StringsCompleter this
         0: .line 30
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 28
            aload 0 /* this */
            new java.util.TreeSet
            dup
            invokespecial java.util.TreeSet.<init>:()V
            putfield jdk.internal.jline.console.completer.StringsCompleter.strings:Ljava/util/SortedSet;
         2: .line 32
            return
        end local 0 // jdk.internal.jline.console.completer.StringsCompleter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/jline/console/completer/StringsCompleter;

  public void <init>(java.util.Collection<java.lang.String>);
    descriptor: (Ljava/util/Collection;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.completer.StringsCompleter this
        start local 1 // java.util.Collection strings
         0: .line 34
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 28
            aload 0 /* this */
            new java.util.TreeSet
            dup
            invokespecial java.util.TreeSet.<init>:()V
            putfield jdk.internal.jline.console.completer.StringsCompleter.strings:Ljava/util/SortedSet;
         2: .line 35
            aload 1 /* strings */
            invokestatic jdk.internal.jline.internal.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 36
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.completer.StringsCompleter.getStrings:()Ljava/util/Collection;
            aload 1 /* strings */
            invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
            pop
         4: .line 37
            return
        end local 1 // java.util.Collection strings
        end local 0 // jdk.internal.jline.console.completer.StringsCompleter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Ljdk/internal/jline/console/completer/StringsCompleter;
            0    5     1  strings  Ljava/util/Collection<Ljava/lang/String;>;
    Signature: (Ljava/util/Collection<Ljava/lang/String;>;)V
    MethodParameters:
         Name  Flags
      strings  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.jline.console.completer.StringsCompleter this
        start local 1 // java.lang.String[] strings
         0: .line 40
            aload 0 /* this */
            aload 1 /* strings */
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokespecial jdk.internal.jline.console.completer.StringsCompleter.<init>:(Ljava/util/Collection;)V
         1: .line 41
            return
        end local 1 // java.lang.String[] strings
        end local 0 // jdk.internal.jline.console.completer.StringsCompleter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Ljdk/internal/jline/console/completer/StringsCompleter;
            0    2     1  strings  [Ljava/lang/String;
    MethodParameters:
         Name  Flags
      strings  final

  public java.util.Collection<java.lang.String> getStrings();
    descriptor: ()Ljava/util/Collection;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.completer.StringsCompleter this
         0: .line 44
            aload 0 /* this */
            getfield jdk.internal.jline.console.completer.StringsCompleter.strings:Ljava/util/SortedSet;
            areturn
        end local 0 // jdk.internal.jline.console.completer.StringsCompleter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/completer/StringsCompleter;
    Signature: ()Ljava/util/Collection<Ljava/lang/String;>;

  public int complete(java.lang.String, int, java.util.List<java.lang.CharSequence>);
    descriptor: (Ljava/lang/String;ILjava/util/List;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=4
        start local 0 // jdk.internal.jline.console.completer.StringsCompleter this
        start local 1 // java.lang.String buffer
        start local 2 // int cursor
        start local 3 // java.util.List candidates
         0: .line 49
            aload 3 /* candidates */
            invokestatic jdk.internal.jline.internal.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 51
            aload 1 /* buffer */
            ifnonnull 4
         2: .line 52
            aload 3 /* candidates */
            aload 0 /* this */
            getfield jdk.internal.jline.console.completer.StringsCompleter.strings:Ljava/util/SortedSet;
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
         3: .line 53
            goto 10
         4: .line 55
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.console.completer.StringsCompleter.strings:Ljava/util/SortedSet;
            aload 1 /* buffer */
            invokeinterface java.util.SortedSet.tailSet:(Ljava/lang/Object;)Ljava/util/SortedSet;
            invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
            astore 5
            goto 9
      StackMap locals: jdk.internal.jline.console.completer.StringsCompleter java.lang.String int java.util.List top java.util.Iterator
      StackMap stack:
         5: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* match */
        start local 4 // java.lang.String match
         6: .line 56
            aload 4 /* match */
            aload 1 /* buffer */
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 8
         7: .line 57
            goto 10
         8: .line 60
      StackMap locals: jdk.internal.jline.console.completer.StringsCompleter java.lang.String int java.util.List java.lang.String java.util.Iterator
      StackMap stack:
            aload 3 /* candidates */
            aload 4 /* match */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 4 // java.lang.String match
         9: .line 55
      StackMap locals: jdk.internal.jline.console.completer.StringsCompleter java.lang.String int java.util.List top java.util.Iterator
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        10: .line 64
      StackMap locals: jdk.internal.jline.console.completer.StringsCompleter java.lang.String int java.util.List
      StackMap stack:
            aload 3 /* candidates */
            invokeinterface java.util.List.size:()I
            iconst_1
            if_icmpne 12
        11: .line 65
            aload 3 /* candidates */
            iconst_0
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            aload 3 /* candidates */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
            pop
        12: .line 68
      StackMap locals:
      StackMap stack:
            aload 3 /* candidates */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 13
            iconst_m1
            goto 14
      StackMap locals:
      StackMap stack:
        13: iconst_0
      StackMap locals:
      StackMap stack: int
        14: ireturn
        end local 3 // java.util.List candidates
        end local 2 // int cursor
        end local 1 // java.lang.String buffer
        end local 0 // jdk.internal.jline.console.completer.StringsCompleter this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   15     0        this  Ljdk/internal/jline/console/completer/StringsCompleter;
            0   15     1      buffer  Ljava/lang/String;
            0   15     2      cursor  I
            0   15     3  candidates  Ljava/util/List<Ljava/lang/CharSequence;>;
            6    9     4       match  Ljava/lang/String;
    Signature: (Ljava/lang/String;ILjava/util/List<Ljava/lang/CharSequence;>;)I
    MethodParameters:
            Name  Flags
      buffer      final
      cursor      final
      candidates  final
}
SourceFile: "StringsCompleter.java"