public class jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter 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.ArgumentCompleter
super_class: java.lang.Object
{
private final java.util.List<jdk.internal.org.jline.reader.Completer> completers;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/internal/org/jline/reader/Completer;>;
private boolean strict;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(java.util.Collection<jdk.internal.org.jline.reader.Completer>);
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.ArgumentCompleter.completers:Ljava/util/List;
2: aload 0
iconst_1
putfield jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter.strict:Z
3: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
getfield jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter.completers:Ljava/util/List;
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
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/ArgumentCompleter;
0 6 1 completers Ljava/util/Collection<Ljdk/internal/org/jline/reader/Completer;>;
Signature: (Ljava/util/Collection<Ljdk/internal/org/jline/reader/Completer;>;)V
MethodParameters:
Name Flags
completers final
public void <init>(jdk.internal.org.jline.reader.Completer[]);
descriptor: ([Ljdk/internal/org/jline/reader/Completer;)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.ArgumentCompleter.<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/ArgumentCompleter;
0 2 1 completers [Ljdk/internal/org/jline/reader/Completer;
MethodParameters:
Name Flags
completers final
public void setStrict(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter.strict:Z
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/ArgumentCompleter;
0 2 1 strict Z
MethodParameters:
Name Flags
strict final
public boolean isStrict();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter.strict:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/completer/ArgumentCompleter;
public java.util.List<jdk.internal.org.jline.reader.Completer> getCompleters();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter.completers:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/completer/ArgumentCompleter;
Signature: ()Ljava/util/List<Ljdk/internal/org/jline/reader/Completer;>;
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=6, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
invokeinterface jdk.internal.org.jline.reader.ParsedLine.wordIndex:()I
ifge 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter.getCompleters:()Ljava/util/List;
astore 4
start local 4 5: aload 2
invokeinterface jdk.internal.org.jline.reader.ParsedLine.wordIndex:()I
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 8
6: aload 4
aload 4
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.reader.Completer
astore 5
start local 5 7: goto 9
end local 5 8: StackMap locals: java.util.List
StackMap stack:
aload 4
aload 2
invokeinterface jdk.internal.org.jline.reader.ParsedLine.wordIndex:()I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.reader.Completer
astore 5
start local 5 9: StackMap locals: jdk.internal.org.jline.reader.Completer
StackMap stack:
iconst_0
istore 6
start local 6 10: goto 31
11: StackMap locals: int
StackMap stack:
aload 4
iload 6
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 12
aload 4
invokeinterface java.util.List.size:()I
iconst_1
isub
goto 13
StackMap locals:
StackMap stack: java.util.List
12: iload 6
StackMap locals: jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter jdk.internal.org.jline.reader.LineReader jdk.internal.org.jline.reader.ParsedLine java.util.List java.util.List jdk.internal.org.jline.reader.Completer int
StackMap stack: java.util.List int
13: invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.reader.Completer
astore 7
start local 7 14: aload 2
invokeinterface jdk.internal.org.jline.reader.ParsedLine.words:()Ljava/util/List;
astore 8
start local 8 15: aload 8
ifnull 16
iload 6
aload 8
invokeinterface java.util.List.size:()I
if_icmplt 17
StackMap locals: jdk.internal.org.jline.reader.Completer java.util.List
StackMap stack:
16: ldc ""
goto 18
StackMap locals:
StackMap stack:
17: aload 8
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.CharSequence
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
18: astore 9
start local 9 19: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 10
start local 10 20: aload 7
aload 1
new jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter$ArgumentLine
dup
aload 9
aload 9
invokevirtual java.lang.String.length:()I
invokespecial jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter$ArgumentLine.<init>:(Ljava/lang/String;I)V
aload 10
invokeinterface jdk.internal.org.jline.reader.Completer.complete:(Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/ParsedLine;Ljava/util/List;)V
21: iconst_0
istore 11
start local 11 22: aload 10
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 13
goto 27
StackMap locals: jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter jdk.internal.org.jline.reader.LineReader jdk.internal.org.jline.reader.ParsedLine java.util.List java.util.List jdk.internal.org.jline.reader.Completer int jdk.internal.org.jline.reader.Completer java.util.List java.lang.String java.util.List int top java.util.Iterator
StackMap stack:
23: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.org.jline.reader.Candidate
astore 12
start local 12 24: aload 12
invokevirtual jdk.internal.org.jline.reader.Candidate.value:()Ljava/lang/String;
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
25: iconst_1
istore 11
26: goto 28
end local 12 27: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
28: StackMap locals: jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter jdk.internal.org.jline.reader.LineReader jdk.internal.org.jline.reader.ParsedLine java.util.List java.util.List jdk.internal.org.jline.reader.Completer int jdk.internal.org.jline.reader.Completer java.util.List java.lang.String java.util.List int
StackMap stack:
iload 11
ifne 30
29: return
end local 11 end local 10 end local 9 end local 8 end local 7 30: StackMap locals: jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter jdk.internal.org.jline.reader.LineReader jdk.internal.org.jline.reader.ParsedLine java.util.List java.util.List jdk.internal.org.jline.reader.Completer int
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
31: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter.isStrict:()Z
ifeq 32
iload 6
aload 2
invokeinterface jdk.internal.org.jline.reader.ParsedLine.wordIndex:()I
if_icmplt 11
end local 6 32: StackMap locals:
StackMap stack:
aload 5
aload 1
aload 2
aload 3
invokeinterface jdk.internal.org.jline.reader.Completer.complete:(Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/ParsedLine;Ljava/util/List;)V
33: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljdk/internal/org/jline/reader/impl/completer/ArgumentCompleter;
0 34 1 reader Ljdk/internal/org/jline/reader/LineReader;
0 34 2 line Ljdk/internal/org/jline/reader/ParsedLine;
0 34 3 candidates Ljava/util/List<Ljdk/internal/org/jline/reader/Candidate;>;
5 34 4 completers Ljava/util/List<Ljdk/internal/org/jline/reader/Completer;>;
7 8 5 completer Ljdk/internal/org/jline/reader/Completer;
9 34 5 completer Ljdk/internal/org/jline/reader/Completer;
10 32 6 i I
14 30 7 sub Ljdk/internal/org/jline/reader/Completer;
15 30 8 args Ljava/util/List<+Ljava/lang/CharSequence;>;
19 30 9 arg Ljava/lang/String;
20 30 10 subCandidates Ljava/util/List<Ljdk/internal/org/jline/reader/Candidate;>;
22 30 11 found Z
24 27 12 cand Ljdk/internal/org/jline/reader/Candidate;
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
line
candidates final
}
SourceFile: "ArgumentCompleter.java"
NestMembers:
jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter$ArgumentLine
InnerClasses:
public ArgumentLine = jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter$ArgumentLine of jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter