public class jdk.internal.org.jline.reader.impl.completer.StringsCompleter implements jdk.internal.org.jline.reader.Completer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.jline.reader.impl.completer.StringsCompleter
super_class: java.lang.Object
{
protected java.util.Collection<jdk.internal.org.jline.reader.Candidate> candidates;
descriptor: Ljava/util/Collection;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Collection<Ljdk/internal/org/jline/reader/Candidate;>;
protected java.util.function.Supplier<java.util.Collection<java.lang.String>> stringsSupplier;
descriptor: Ljava/util/function/Supplier;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/function/Supplier<Ljava/util/Collection<Ljava/lang/String;>;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/internal/org/jline/reader/impl/completer/StringsCompleter;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.org.jline.reader.impl.completer.StringsCompleter.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.org.jline.reader.impl.completer.StringsCompleter.candidates:Ljava/util/Collection;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/completer/StringsCompleter;
public void <init>(java.util.function.Supplier<java.util.Collection<java.lang.String>>);
descriptor: (Ljava/util/function/Supplier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.org.jline.reader.impl.completer.StringsCompleter.candidates:Ljava/util/Collection;
2: getstatic jdk.internal.org.jline.reader.impl.completer.StringsCompleter.$assertionsDisabled:Z
ifne 3
aload 1
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: jdk.internal.org.jline.reader.impl.completer.StringsCompleter java.util.function.Supplier
StackMap stack:
aload 0
aconst_null
putfield jdk.internal.org.jline.reader.impl.completer.StringsCompleter.candidates:Ljava/util/Collection;
4: aload 0
aload 1
putfield jdk.internal.org.jline.reader.impl.completer.StringsCompleter.stringsSupplier:Ljava/util/function/Supplier;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/org/jline/reader/impl/completer/StringsCompleter;
0 6 1 stringsSupplier Ljava/util/function/Supplier<Ljava/util/Collection<Ljava/lang/String;>;>;
Signature: (Ljava/util/function/Supplier<Ljava/util/Collection<Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
stringsSupplier
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 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial jdk.internal.org.jline.reader.impl.completer.StringsCompleter.<init>:(Ljava/lang/Iterable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/impl/completer/StringsCompleter;
0 2 1 strings [Ljava/lang/String;
MethodParameters:
Name Flags
strings
public void <init>(java.lang.Iterable<java.lang.String>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.org.jline.reader.impl.completer.StringsCompleter.candidates:Ljava/util/Collection;
2: getstatic jdk.internal.org.jline.reader.impl.completer.StringsCompleter.$assertionsDisabled:Z
ifne 3
aload 1
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: jdk.internal.org.jline.reader.impl.completer.StringsCompleter java.lang.Iterable
StackMap stack:
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: jdk.internal.org.jline.reader.impl.completer.StringsCompleter java.lang.Iterable top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 5: aload 0
getfield jdk.internal.org.jline.reader.impl.completer.StringsCompleter.candidates:Ljava/util/Collection;
new jdk.internal.org.jline.reader.Candidate
dup
aload 2
invokestatic jdk.internal.org.jline.utils.AttributedString.stripAnsi:(Ljava/lang/String;)Ljava/lang/String;
aload 2
aconst_null
aconst_null
aconst_null
aconst_null
iconst_1
invokespecial jdk.internal.org.jline.reader.Candidate.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/org/jline/reader/impl/completer/StringsCompleter;
0 8 1 strings Ljava/lang/Iterable<Ljava/lang/String;>;
5 6 2 string Ljava/lang/String;
Signature: (Ljava/lang/Iterable<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
strings
public void <init>(jdk.internal.org.jline.reader.Candidate[]);
descriptor: ([Ljdk/internal/org/jline/reader/Candidate;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial jdk.internal.org.jline.reader.impl.completer.StringsCompleter.<init>:(Ljava/util/Collection;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/impl/completer/StringsCompleter;
0 2 1 candidates [Ljdk/internal/org/jline/reader/Candidate;
MethodParameters:
Name Flags
candidates
public void <init>(java.util.Collection<jdk.internal.org.jline.reader.Candidate>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.org.jline.reader.impl.completer.StringsCompleter.candidates:Ljava/util/Collection;
2: getstatic jdk.internal.org.jline.reader.impl.completer.StringsCompleter.$assertionsDisabled:Z
ifne 3
aload 1
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: jdk.internal.org.jline.reader.impl.completer.StringsCompleter java.util.Collection
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.impl.completer.StringsCompleter.candidates:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/reader/impl/completer/StringsCompleter;
0 5 1 candidates Ljava/util/Collection<Ljdk/internal/org/jline/reader/Candidate;>;
Signature: (Ljava/util/Collection<Ljdk/internal/org/jline/reader/Candidate;>;)V
MethodParameters:
Name Flags
candidates
public void complete(jdk.internal.org.jline.reader.LineReader, jdk.internal.org.jline.reader.ParsedLine, java.util.List<jdk.internal.org.jline.reader.Candidate>);
descriptor: (Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/ParsedLine;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.internal.org.jline.reader.impl.completer.StringsCompleter.$assertionsDisabled:Z
ifne 1
aload 2
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.internal.org.jline.reader.impl.completer.StringsCompleter.$assertionsDisabled:Z
ifne 2
aload 3
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.impl.completer.StringsCompleter.candidates:Ljava/util/Collection;
ifnull 5
3: aload 3
aload 0
getfield jdk.internal.org.jline.reader.impl.completer.StringsCompleter.candidates:Ljava/util/Collection;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: goto 9
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.impl.completer.StringsCompleter.stringsSupplier:Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.util.Collection
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: jdk.internal.org.jline.reader.impl.completer.StringsCompleter jdk.internal.org.jline.reader.LineReader jdk.internal.org.jline.reader.ParsedLine java.util.List top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 7: aload 3
new jdk.internal.org.jline.reader.Candidate
dup
aload 4
invokestatic jdk.internal.org.jline.utils.AttributedString.stripAnsi:(Ljava/lang/String;)Ljava/lang/String;
aload 4
aconst_null
aconst_null
aconst_null
aconst_null
iconst_1
invokespecial jdk.internal.org.jline.reader.Candidate.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: StackMap locals: jdk.internal.org.jline.reader.impl.completer.StringsCompleter jdk.internal.org.jline.reader.LineReader jdk.internal.org.jline.reader.ParsedLine java.util.List
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/org/jline/reader/impl/completer/StringsCompleter;
0 10 1 reader Ljdk/internal/org/jline/reader/LineReader;
0 10 2 commandLine Ljdk/internal/org/jline/reader/ParsedLine;
0 10 3 candidates Ljava/util/List<Ljdk/internal/org/jline/reader/Candidate;>;
7 8 4 string Ljava/lang/String;
Signature: (Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/ParsedLine;Ljava/util/List<Ljdk/internal/org/jline/reader/Candidate;>;)V
MethodParameters:
Name Flags
reader
commandLine final
candidates final
}
SourceFile: "StringsCompleter.java"