public class io.vertx.core.cli.impl.DefaultCLI implements io.vertx.core.cli.CLI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.cli.impl.DefaultCLI
super_class: java.lang.Object
{
protected java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected int priority;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.lang.String description;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String summary;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected boolean hidden;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected java.util.List<io.vertx.core.cli.Option> options;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/List<Lio/vertx/core/cli/Option;>;
private java.util.List<io.vertx.core.cli.Argument> arguments;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lio/vertx/core/cli/Argument;>;
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 io.vertx.core.cli.impl.DefaultCLI.options:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.core.cli.impl.DefaultCLI.arguments:Ljava/util/List;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/cli/impl/DefaultCLI;
public io.vertx.core.cli.CommandLine parse(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Lio/vertx/core/cli/CommandLine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.core.cli.impl.DefaultParser
dup
invokespecial io.vertx.core.cli.impl.DefaultParser.<init>:()V
aload 0
aload 1
invokevirtual io.vertx.core.cli.impl.DefaultParser.parse:(Lio/vertx/core/cli/CLI;Ljava/util/List;)Lio/vertx/core/cli/CommandLine;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 1 1 arguments Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)Lio/vertx/core/cli/CommandLine;
MethodParameters:
Name Flags
arguments
public io.vertx.core.cli.CommandLine parse(java.util.List<java.lang.String>, boolean);
descriptor: (Ljava/util/List;Z)Lio/vertx/core/cli/CommandLine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.core.cli.impl.DefaultParser
dup
invokespecial io.vertx.core.cli.impl.DefaultParser.<init>:()V
aload 0
aload 1
iload 2
invokevirtual io.vertx.core.cli.impl.DefaultParser.parse:(Lio/vertx/core/cli/CLI;Ljava/util/List;Z)Lio/vertx/core/cli/CommandLine;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 1 1 arguments Ljava/util/List<Ljava/lang/String;>;
0 1 2 validate Z
Signature: (Ljava/util/List<Ljava/lang/String;>;Z)Lio/vertx/core/cli/CommandLine;
MethodParameters:
Name Flags
arguments
validate
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/impl/DefaultCLI;
public io.vertx.core.cli.CLI setName(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: new java.lang.IllegalArgumentException
dup
ldc "Invalid command name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.cli.impl.DefaultCLI.name:Ljava/lang/String;
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 5 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String getDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.description:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/impl/DefaultCLI;
public io.vertx.core.cli.CLI setDescription(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
putfield io.vertx.core.cli.impl.DefaultCLI.description:Ljava/lang/String;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 3 1 desc Ljava/lang/String;
MethodParameters:
Name Flags
desc
public java.lang.String getSummary();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.summary:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/impl/DefaultCLI;
public io.vertx.core.cli.CLI setSummary(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
putfield io.vertx.core.cli.impl.DefaultCLI.summary:Ljava/lang/String;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 3 1 summary Ljava/lang/String;
MethodParameters:
Name Flags
summary
public boolean isHidden();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.hidden:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/impl/DefaultCLI;
public io.vertx.core.cli.CLI setHidden(boolean);
descriptor: (Z)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.vertx.core.cli.impl.DefaultCLI.hidden:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 2 1 hidden Z
MethodParameters:
Name Flags
hidden
public java.util.List<io.vertx.core.cli.Option> getOptions();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.options:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/impl/DefaultCLI;
Signature: ()Ljava/util/List<Lio/vertx/core/cli/Option;>;
public io.vertx.core.cli.CLI addOption(io.vertx.core.cli.Option);
descriptor: (Lio/vertx/core/cli/Option;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.options:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 3 1 option Lio/vertx/core/cli/Option;
MethodParameters:
Name Flags
option
public io.vertx.core.cli.CLI addOptions(java.util.List<io.vertx.core.cli.Option>);
descriptor: (Ljava/util/List;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
aload 0
invokedynamic accept(Lio/vertx/core/cli/impl/DefaultCLI;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/cli/impl/DefaultCLI.addOption(Lio/vertx/core/cli/Option;)Lio/vertx/core/cli/CLI; (5)
(Lio/vertx/core/cli/Option;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 3 1 options Ljava/util/List<Lio/vertx/core/cli/Option;>;
Signature: (Ljava/util/List<Lio/vertx/core/cli/Option;>;)Lio/vertx/core/cli/CLI;
MethodParameters:
Name Flags
options
public io.vertx.core.cli.CLI setOptions(java.util.List<io.vertx.core.cli.Option>);
descriptor: (Ljava/util/List;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.core.cli.impl.DefaultCLI.options:Ljava/util/List;
2: aload 0
aload 1
invokevirtual io.vertx.core.cli.impl.DefaultCLI.addOptions:(Ljava/util/List;)Lio/vertx/core/cli/CLI;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 3 1 options Ljava/util/List<Lio/vertx/core/cli/Option;>;
Signature: (Ljava/util/List<Lio/vertx/core/cli/Option;>;)Lio/vertx/core/cli/CLI;
MethodParameters:
Name Flags
options
public java.util.List<io.vertx.core.cli.Argument> getArguments();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.arguments:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/impl/DefaultCLI;
Signature: ()Ljava/util/List<Lio/vertx/core/cli/Argument;>;
public io.vertx.core.cli.CLI addArgument(io.vertx.core.cli.Argument);
descriptor: (Lio/vertx/core/cli/Argument;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.arguments:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 3 1 arg Lio/vertx/core/cli/Argument;
MethodParameters:
Name Flags
arg
public io.vertx.core.cli.CLI addArguments(java.util.List<io.vertx.core.cli.Argument>);
descriptor: (Ljava/util/List;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
aload 0
invokedynamic accept(Lio/vertx/core/cli/impl/DefaultCLI;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/cli/impl/DefaultCLI.addArgument(Lio/vertx/core/cli/Argument;)Lio/vertx/core/cli/CLI; (5)
(Lio/vertx/core/cli/Argument;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 3 1 args Ljava/util/List<Lio/vertx/core/cli/Argument;>;
Signature: (Ljava/util/List<Lio/vertx/core/cli/Argument;>;)Lio/vertx/core/cli/CLI;
MethodParameters:
Name Flags
args
public io.vertx.core.cli.CLI setArguments(java.util.List<io.vertx.core.cli.Argument>);
descriptor: (Ljava/util/List;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield io.vertx.core.cli.impl.DefaultCLI.arguments:Ljava/util/List;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 3 1 args Ljava/util/List<Lio/vertx/core/cli/Argument;>;
Signature: (Ljava/util/List<Lio/vertx/core/cli/Argument;>;)Lio/vertx/core/cli/CLI;
MethodParameters:
Name Flags
args
public io.vertx.core.cli.Option getOption(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/cli/Option;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: bipush 6
anewarray java.util.function.Predicate
dup
iconst_0
2: aload 1
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
io/vertx/core/cli/impl/DefaultCLI.lambda$2(Ljava/lang/String;Lio/vertx/core/cli/Option;)Z (6)
(Lio/vertx/core/cli/Option;)Z
aastore
dup
iconst_1
3: aload 1
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
io/vertx/core/cli/impl/DefaultCLI.lambda$3(Ljava/lang/String;Lio/vertx/core/cli/Option;)Z (6)
(Lio/vertx/core/cli/Option;)Z
aastore
dup
iconst_2
4: aload 1
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
io/vertx/core/cli/impl/DefaultCLI.lambda$4(Ljava/lang/String;Lio/vertx/core/cli/Option;)Z (6)
(Lio/vertx/core/cli/Option;)Z
aastore
dup
iconst_3
5: aload 1
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
io/vertx/core/cli/impl/DefaultCLI.lambda$5(Ljava/lang/String;Lio/vertx/core/cli/Option;)Z (6)
(Lio/vertx/core/cli/Option;)Z
aastore
dup
iconst_4
6: aload 1
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
io/vertx/core/cli/impl/DefaultCLI.lambda$6(Ljava/lang/String;Lio/vertx/core/cli/Option;)Z (6)
(Lio/vertx/core/cli/Option;)Z
aastore
dup
iconst_5
7: aload 1
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
io/vertx/core/cli/impl/DefaultCLI.lambda$7(Ljava/lang/String;Lio/vertx/core/cli/Option;)Z (6)
(Lio/vertx/core/cli/Option;)Z
aastore
8: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
astore 2
start local 2 9: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 16
StackMap locals: io.vertx.core.cli.impl.DefaultCLI java.lang.String java.util.List top java.util.Iterator
StackMap stack:
10: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.function.Predicate
astore 3
start local 3 11: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.options:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 15
StackMap locals: io.vertx.core.cli.impl.DefaultCLI java.lang.String java.util.List java.util.function.Predicate java.util.Iterator top java.util.Iterator
StackMap stack:
12: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.Option
astore 5
start local 5 13: aload 3
aload 5
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 15
14: aload 5
areturn
end local 5 15: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 3 16: StackMap locals: io.vertx.core.cli.impl.DefaultCLI java.lang.String java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
17: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 18 1 name Ljava/lang/String;
9 18 2 equalityChecks Ljava/util/List<Ljava/util/function/Predicate<Lio/vertx/core/cli/Option;>;>;
11 16 3 equalityCheck Ljava/util/function/Predicate<Lio/vertx/core/cli/Option;>;
13 15 5 option Lio/vertx/core/cli/Option;
MethodParameters:
Name Flags
name
public io.vertx.core.cli.Argument getArgument(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/cli/Argument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.arguments:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: io.vertx.core.cli.impl.DefaultCLI java.lang.String top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.Argument
astore 2
start local 2 3: aload 1
aload 2
invokevirtual io.vertx.core.cli.Argument.getArgName:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: aload 2
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 7 1 name Ljava/lang/String;
3 5 2 arg Lio/vertx/core/cli/Argument;
MethodParameters:
Name Flags
name
public io.vertx.core.cli.Argument getArgument(int);
descriptor: (I)Lio/vertx/core/cli/Argument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "Given index cannot be negative"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.arguments:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: io.vertx.core.cli.impl.DefaultCLI int top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.Argument
astore 2
start local 2 4: iload 1
aload 2
invokevirtual io.vertx.core.cli.Argument.getIndex:()I
if_icmpne 6
5: aload 2
areturn
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 8 1 index I
4 6 2 arg Lio/vertx/core/cli/Argument;
MethodParameters:
Name Flags
index
public io.vertx.core.cli.CLI removeOption(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.options:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
aload 1
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
io/vertx/core/cli/impl/DefaultCLI.lambda$8(Ljava/lang/String;Lio/vertx/core/cli/Option;)Z (6)
(Lio/vertx/core/cli/Option;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
1: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
2: putfield io.vertx.core.cli.impl.DefaultCLI.options:Ljava/util/List;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public io.vertx.core.cli.CLI removeArgument(int);
descriptor: (I)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.util.TreeSet
dup
aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.arguments:Ljava/util/List;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Collection;)V
invokevirtual java.util.TreeSet.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: io.vertx.core.cli.impl.DefaultCLI int top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.Argument
astore 2
start local 2 2: aload 2
invokevirtual io.vertx.core.cli.Argument.getIndex:()I
iload 1
if_icmpne 5
3: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.arguments:Ljava/util/List;
aload 2
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
4: aload 0
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 7 1 index I
2 5 2 arg Lio/vertx/core/cli/Argument;
MethodParameters:
Name Flags
index
public io.vertx.core.cli.CLI usage(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.core.cli.UsageMessageFormatter
dup
invokespecial io.vertx.core.cli.UsageMessageFormatter.<init>:()V
aload 1
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.usage:(Ljava/lang/StringBuilder;Lio/vertx/core/cli/CLI;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 2 1 builder Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
builder
public io.vertx.core.cli.CLI usage(java.lang.StringBuilder, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.core.cli.UsageMessageFormatter
dup
invokespecial io.vertx.core.cli.UsageMessageFormatter.<init>:()V
aload 1
aload 2
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.usage:(Ljava/lang/StringBuilder;Ljava/lang/String;Lio/vertx/core/cli/CLI;)V
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 2 1 builder Ljava/lang/StringBuilder;
0 2 2 prefix Ljava/lang/String;
MethodParameters:
Name Flags
builder
prefix
public int getPriority();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.impl.DefaultCLI.priority:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/impl/DefaultCLI;
public io.vertx.core.cli.CLI setPriority(int);
descriptor: (I)Lio/vertx/core/cli/CLI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.vertx.core.cli.impl.DefaultCLI.priority:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/impl/DefaultCLI;
0 2 1 priority I
MethodParameters:
Name Flags
priority
private static boolean lambda$2(java.lang.String, io.vertx.core.cli.Option);
descriptor: (Ljava/lang/String;Lio/vertx/core/cli/Option;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.cli.Option.getLongName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 option Lio/vertx/core/cli/Option;
private static boolean lambda$3(java.lang.String, io.vertx.core.cli.Option);
descriptor: (Ljava/lang/String;Lio/vertx/core/cli/Option;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.cli.Option.getShortName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 option Lio/vertx/core/cli/Option;
private static boolean lambda$4(java.lang.String, io.vertx.core.cli.Option);
descriptor: (Ljava/lang/String;Lio/vertx/core/cli/Option;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.cli.Option.getArgName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 option Lio/vertx/core/cli/Option;
private static boolean lambda$5(java.lang.String, io.vertx.core.cli.Option);
descriptor: (Ljava/lang/String;Lio/vertx/core/cli/Option;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.cli.Option.getLongName:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 option Lio/vertx/core/cli/Option;
private static boolean lambda$6(java.lang.String, io.vertx.core.cli.Option);
descriptor: (Ljava/lang/String;Lio/vertx/core/cli/Option;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.cli.Option.getShortName:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 option Lio/vertx/core/cli/Option;
private static boolean lambda$7(java.lang.String, io.vertx.core.cli.Option);
descriptor: (Ljava/lang/String;Lio/vertx/core/cli/Option;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.cli.Option.getArgName:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 option Lio/vertx/core/cli/Option;
private static boolean lambda$8(java.lang.String, io.vertx.core.cli.Option);
descriptor: (Ljava/lang/String;Lio/vertx/core/cli/Option;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokevirtual io.vertx.core.cli.Option.getLongName:()Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
aload 1
invokevirtual io.vertx.core.cli.Option.getShortName:()Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 o Lio/vertx/core/cli/Option;
}
SourceFile: "DefaultCLI.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles