public class jdk.internal.jline.console.completer.AggregateCompleter 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.AggregateCompleter
super_class: java.lang.Object
{
private final java.util.List<jdk.internal.jline.console.completer.Completer> completers;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/internal/jline/console/completer/Completer;>;
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.jline.console.completer.AggregateCompleter.completers:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jline/console/completer/AggregateCompleter;
public void <init>(java.util.Collection<jdk.internal.jline.console.completer.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.jline.console.completer.AggregateCompleter.completers:Ljava/util/List;
2: aload 1
invokestatic jdk.internal.jline.internal.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield jdk.internal.jline.console.completer.AggregateCompleter.completers:Ljava/util/List;
aload 1
invokeinterface java.util.List.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/jline/console/completer/AggregateCompleter;
0 5 1 completers Ljava/util/Collection<Ljdk/internal/jline/console/completer/Completer;>;
Signature: (Ljava/util/Collection<Ljdk/internal/jline/console/completer/Completer;>;)V
MethodParameters:
Name Flags
completers final
public void <init>(jdk.internal.jline.console.completer.Completer[]);
descriptor: ([Ljdk/internal/jline/console/completer/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.jline.console.completer.AggregateCompleter.<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/jline/console/completer/AggregateCompleter;
0 2 1 completers [Ljdk/internal/jline/console/completer/Completer;
MethodParameters:
Name Flags
completers final
public java.util.Collection<jdk.internal.jline.console.completer.Completer> getCompleters();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.completer.AggregateCompleter.completers:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/completer/AggregateCompleter;
Signature: ()Ljava/util/Collection<Ljdk/internal/jline/console/completer/Completer;>;
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=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokestatic jdk.internal.jline.internal.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new java.util.ArrayList
dup
aload 0
getfield jdk.internal.jline.console.completer.AggregateCompleter.completers:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 2: iconst_m1
istore 5
start local 5 3: aload 0
getfield jdk.internal.jline.console.completer.AggregateCompleter.completers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 9
StackMap locals: jdk.internal.jline.console.completer.AggregateCompleter java.lang.String int java.util.List java.util.List int top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.jline.console.completer.Completer
astore 6
start local 6 5: new jdk.internal.jline.console.completer.AggregateCompleter$Completion
dup
aload 0
aload 3
invokespecial jdk.internal.jline.console.completer.AggregateCompleter$Completion.<init>:(Ljdk/internal/jline/console/completer/AggregateCompleter;Ljava/util/List;)V
astore 8
start local 8 6: aload 8
aload 6
aload 1
iload 2
invokevirtual jdk.internal.jline.console.completer.AggregateCompleter$Completion.complete:(Ljdk/internal/jline/console/completer/Completer;Ljava/lang/String;I)V
7: iload 5
aload 8
getfield jdk.internal.jline.console.completer.AggregateCompleter$Completion.cursor:I
invokestatic java.lang.Math.max:(II)I
istore 5
8: aload 4
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 6 9: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
10: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals:
StackMap stack:
11: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.jline.console.completer.AggregateCompleter$Completion
astore 6
start local 6 12: aload 6
getfield jdk.internal.jline.console.completer.AggregateCompleter$Completion.cursor:I
iload 5
if_icmpne 14
13: aload 3
aload 6
getfield jdk.internal.jline.console.completer.AggregateCompleter$Completion.candidates:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 6 14: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
15: iload 5
ireturn
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 16 0 this Ljdk/internal/jline/console/completer/AggregateCompleter;
0 16 1 buffer Ljava/lang/String;
0 16 2 cursor I
0 16 3 candidates Ljava/util/List<Ljava/lang/CharSequence;>;
2 16 4 completions Ljava/util/List<Ljdk/internal/jline/console/completer/AggregateCompleter$Completion;>;
3 16 5 max I
5 9 6 completer Ljdk/internal/jline/console/completer/Completer;
6 9 8 completion Ljdk/internal/jline/console/completer/AggregateCompleter$Completion;
12 14 6 completion Ljdk/internal/jline/console/completer/AggregateCompleter$Completion;
Signature: (Ljava/lang/String;ILjava/util/List<Ljava/lang/CharSequence;>;)I
MethodParameters:
Name Flags
buffer final
cursor final
candidates final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "{"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc "completers="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.jline.console.completer.AggregateCompleter.completers:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jline/console/completer/AggregateCompleter;
}
SourceFile: "AggregateCompleter.java"
NestMembers:
jdk.internal.jline.console.completer.AggregateCompleter$Completion
InnerClasses:
private Completion = jdk.internal.jline.console.completer.AggregateCompleter$Completion of jdk.internal.jline.console.completer.AggregateCompleter