public class io.vertx.core.cli.OptionConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.cli.OptionConverter
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/OptionConverter;
static void fromJson(java.lang.Iterable<java.util.Map$Entry<java.lang.String, java.lang.Object>>, io.vertx.core.cli.Option);
descriptor: (Ljava/lang/Iterable;Lio/vertx/core/cli/Option;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 53
StackMap locals: java.lang.Iterable io.vertx.core.cli.Option top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 2: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
dup
astore 4
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 13
-2074601689: 3
-2028219097: 4
-1724546052: 5
-1217487446: 6
-745189887: 7
-659125328: 8
-393139297: 9
-191836244: 10
3145580: 11
3198785: 12
3373707: 13
751720178: 14
1875949435: 15
default: 53
}
StackMap locals: java.lang.Iterable io.vertx.core.cli.Option java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
3: aload 4
ldc "longName"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 39
goto 53
StackMap locals:
StackMap stack:
4: aload 4
ldc "shortName"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 48
goto 53
StackMap locals:
StackMap stack:
5: aload 4
ldc "description"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 27
goto 53
StackMap locals:
StackMap stack:
6: aload 4
ldc "hidden"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 36
goto 53
StackMap locals:
StackMap stack:
7: aload 4
ldc "argName"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 53
StackMap locals:
StackMap stack:
8: aload 4
ldc "defaultValue"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
goto 53
StackMap locals:
StackMap stack:
9: aload 4
ldc "required"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 53
StackMap locals:
StackMap stack:
10: aload 4
ldc "multiValued"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 42
goto 53
StackMap locals:
StackMap stack:
11: aload 4
ldc "flag"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 30
goto 53
StackMap locals:
StackMap stack:
12: aload 4
ldc "help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 33
goto 53
StackMap locals:
StackMap stack:
13: aload 4
ldc "name"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 53
goto 53
StackMap locals:
StackMap stack:
14: aload 4
ldc "choices"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
goto 53
StackMap locals:
StackMap stack:
15: aload 4
ldc "singleValued"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 51
goto 53
16: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 53
17: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.core.cli.Option.setArgName:(Ljava/lang/String;)Lio/vertx/core/cli/Option;
pop
18: goto 53
19: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.vertx.core.json.JsonArray
ifeq 53
20: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 5
start local 5 21: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Iterable
aload 5
invokedynamic accept(Ljava/util/LinkedHashSet;)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/OptionConverter.lambda$0(Ljava/util/LinkedHashSet;Ljava/lang/Object;)V (6)
(Ljava/lang/Object;)V
invokeinterface java.lang.Iterable.forEach:(Ljava/util/function/Consumer;)V
22: aload 1
aload 5
invokevirtual io.vertx.core.cli.Option.setChoices:(Ljava/util/Set;)Lio/vertx/core/cli/Option;
pop
end local 5 23: goto 53
24: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 53
25: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.core.cli.Option.setDefaultValue:(Ljava/lang/String;)Lio/vertx/core/cli/Option;
pop
26: goto 53
27: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 53
28: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.core.cli.Option.setDescription:(Ljava/lang/String;)Lio/vertx/core/cli/Option;
pop
29: goto 53
30: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Boolean
ifeq 53
31: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual io.vertx.core.cli.Option.setFlag:(Z)Lio/vertx/core/cli/Option;
pop
32: goto 53
33: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Boolean
ifeq 53
34: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual io.vertx.core.cli.Option.setHelp:(Z)Lio/vertx/core/cli/Option;
pop
35: goto 53
36: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Boolean
ifeq 53
37: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual io.vertx.core.cli.Option.setHidden:(Z)Lio/vertx/core/cli/Option;
pop
38: goto 53
39: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 53
40: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.core.cli.Option.setLongName:(Ljava/lang/String;)Lio/vertx/core/cli/Option;
pop
41: goto 53
42: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Boolean
ifeq 53
43: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual io.vertx.core.cli.Option.setMultiValued:(Z)Lio/vertx/core/cli/Option;
pop
44: goto 53
45: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Boolean
ifeq 53
46: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual io.vertx.core.cli.Option.setRequired:(Z)Lio/vertx/core/cli/Option;
pop
47: goto 53
48: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 53
49: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.core.cli.Option.setShortName:(Ljava/lang/String;)Lio/vertx/core/cli/Option;
pop
50: goto 53
51: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Boolean
ifeq 53
52: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual io.vertx.core.cli.Option.setSingleValued:(Z)Lio/vertx/core/cli/Option;
pop
end local 2 53: StackMap locals: java.lang.Iterable io.vertx.core.cli.Option top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
54: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 json Ljava/lang/Iterable<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;
0 55 1 obj Lio/vertx/core/cli/Option;
2 53 2 member Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
21 23 5 list Ljava/util/LinkedHashSet<Ljava/lang/String;>;
Signature: (Ljava/lang/Iterable<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;Lio/vertx/core/cli/Option;)V
MethodParameters:
Name Flags
json
obj
static void toJson(io.vertx.core.cli.Option, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/cli/Option;Lio/vertx/core/json/JsonObject;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.json.JsonObject.getMap:()Ljava/util/Map;
invokestatic io.vertx.core.cli.OptionConverter.toJson:(Lio/vertx/core/cli/Option;Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Lio/vertx/core/cli/Option;
0 2 1 json Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
obj
json
static void toJson(io.vertx.core.cli.Option, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lio/vertx/core/cli/Option;Ljava/util/Map;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.cli.Option.getArgName:()Ljava/lang/String;
ifnull 2
1: aload 1
ldc "argName"
aload 0
invokevirtual io.vertx.core.cli.Option.getArgName:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.cli.Option.getChoices:()Ljava/util/Set;
ifnull 6
3: new io.vertx.core.json.JsonArray
dup
invokespecial io.vertx.core.json.JsonArray.<init>:()V
astore 2
start local 2 4: aload 0
invokevirtual io.vertx.core.cli.Option.getChoices:()Ljava/util/Set;
aload 2
invokedynamic accept(Lio/vertx/core/json/JsonArray;)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/OptionConverter.lambda$1(Lio/vertx/core/json/JsonArray;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
5: aload 1
ldc "choices"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.cli.Option.getDefaultValue:()Ljava/lang/String;
ifnull 8
7: aload 1
ldc "defaultValue"
aload 0
invokevirtual io.vertx.core.cli.Option.getDefaultValue:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.cli.Option.getDescription:()Ljava/lang/String;
ifnull 10
9: aload 1
ldc "description"
aload 0
invokevirtual io.vertx.core.cli.Option.getDescription:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: StackMap locals:
StackMap stack:
aload 1
ldc "flag"
aload 0
invokevirtual io.vertx.core.cli.Option.isFlag:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 1
ldc "help"
aload 0
invokevirtual io.vertx.core.cli.Option.isHelp:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 1
ldc "hidden"
aload 0
invokevirtual io.vertx.core.cli.Option.isHidden:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
invokevirtual io.vertx.core.cli.Option.getLongName:()Ljava/lang/String;
ifnull 15
14: aload 1
ldc "longName"
aload 0
invokevirtual io.vertx.core.cli.Option.getLongName:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: StackMap locals:
StackMap stack:
aload 1
ldc "multiValued"
aload 0
invokevirtual io.vertx.core.cli.Option.isMultiValued:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 0
invokevirtual io.vertx.core.cli.Option.getName:()Ljava/lang/String;
ifnull 18
17: aload 1
ldc "name"
aload 0
invokevirtual io.vertx.core.cli.Option.getName:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: StackMap locals:
StackMap stack:
aload 1
ldc "required"
aload 0
invokevirtual io.vertx.core.cli.Option.isRequired:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 0
invokevirtual io.vertx.core.cli.Option.getShortName:()Ljava/lang/String;
ifnull 21
20: aload 1
ldc "shortName"
aload 0
invokevirtual io.vertx.core.cli.Option.getShortName:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
21: StackMap locals:
StackMap stack:
aload 1
ldc "singleValued"
aload 0
invokevirtual io.vertx.core.cli.Option.isSingleValued:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
22: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 obj Lio/vertx/core/cli/Option;
0 23 1 json Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
4 6 2 array Lio/vertx/core/json/JsonArray;
Signature: (Lio/vertx/core/cli/Option;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
obj
json
private static void lambda$0(java.util.LinkedHashSet, java.lang.Object);
descriptor: (Ljava/util/LinkedHashSet;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
instanceof java.lang.String
ifeq 2
1: aload 0
aload 1
checkcast java.lang.String
invokevirtual java.util.LinkedHashSet.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 item Ljava/lang/Object;
private static void lambda$1(io.vertx.core.json.JsonArray, java.lang.String);
descriptor: (Lio/vertx/core/json/JsonArray;Ljava/lang/String;)V
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.json.JsonArray.add:(Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 item Ljava/lang/String;
}
SourceFile: "OptionConverter.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map