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
private boolean strictCommand;
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 0
iconst_1
putfield jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter.strictCommand:Z
4: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: 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
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/org/jline/reader/impl/completer/ArgumentCompleter;
0 7 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 void setStrictCommand(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.strictCommand: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 strictCommand Z
MethodParameters:
Name Flags
strictCommand 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=15, 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:
aload 0
getfield jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter.strictCommand:Z
ifeq 10
iconst_0
goto 11
StackMap locals:
StackMap stack:
10: iconst_1
StackMap locals:
StackMap stack: int
11: istore 6
start local 6 12: goto 36
13: StackMap locals: int
StackMap stack:
iload 6
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 14
aload 4
invokeinterface java.util.List.size:()I
iconst_1
isub
goto 15
StackMap locals:
StackMap stack:
14: iload 6
StackMap locals:
StackMap stack: int
15: istore 7
start local 7 16: iload 7
ifne 18
aload 0
getfield jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter.strictCommand:Z
ifne 18
17: goto 35
18: StackMap locals: int
StackMap stack:
aload 4
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.reader.Completer
astore 8
start local 8 19: aload 2
invokeinterface jdk.internal.org.jline.reader.ParsedLine.words:()Ljava/util/List;
astore 9
start local 9 20: aload 9
ifnull 21
iload 6
aload 9
invokeinterface java.util.List.size:()I
if_icmplt 22
StackMap locals: jdk.internal.org.jline.reader.Completer java.util.List
StackMap stack:
21: ldc ""
goto 23
StackMap locals:
StackMap stack:
22: aload 9
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
23: astore 10
start local 10 24: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 11
start local 11 25: aload 8
aload 1
new jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter$ArgumentLine
dup
aload 10
aload 10
invokevirtual java.lang.String.length:()I
invokespecial jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter$ArgumentLine.<init>:(Ljava/lang/String;I)V
aload 11
invokeinterface jdk.internal.org.jline.reader.Completer.complete:(Ljdk/internal/org/jline/reader/LineReader;Ljdk/internal/org/jline/reader/ParsedLine;Ljava/util/List;)V
26: iconst_0
istore 12
start local 12 27: aload 11
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 14
goto 32
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 int jdk.internal.org.jline.reader.Completer java.util.List java.lang.String java.util.List int top java.util.Iterator
StackMap stack:
28: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.org.jline.reader.Candidate
astore 13
start local 13 29: aload 13
invokevirtual jdk.internal.org.jline.reader.Candidate.value:()Ljava/lang/String;
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
30: iconst_1
istore 12
31: goto 33
end local 13 32: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 28
33: 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 int jdk.internal.org.jline.reader.Completer java.util.List java.lang.String java.util.List int
StackMap stack:
iload 12
ifne 35
34: return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 35: 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:
36: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.completer.ArgumentCompleter.isStrict:()Z
ifeq 37
iload 6
aload 2
invokeinterface jdk.internal.org.jline.reader.ParsedLine.wordIndex:()I
if_icmplt 13
end local 6 37: 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
38: 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 39 0 this Ljdk/internal/org/jline/reader/impl/completer/ArgumentCompleter;
0 39 1 reader Ljdk/internal/org/jline/reader/LineReader;
0 39 2 line Ljdk/internal/org/jline/reader/ParsedLine;
0 39 3 candidates Ljava/util/List<Ljdk/internal/org/jline/reader/Candidate;>;
5 39 4 completers Ljava/util/List<Ljdk/internal/org/jline/reader/Completer;>;
7 8 5 completer Ljdk/internal/org/jline/reader/Completer;
9 39 5 completer Ljdk/internal/org/jline/reader/Completer;
12 37 6 i I
16 35 7 idx I
19 35 8 sub Ljdk/internal/org/jline/reader/Completer;
20 35 9 args Ljava/util/List<+Ljava/lang/CharSequence;>;
24 35 10 arg Ljava/lang/String;
25 35 11 subCandidates Ljava/util/List<Ljdk/internal/org/jline/reader/Candidate;>;
27 35 12 found Z
29 32 13 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