public class io.vertx.redis.client.RedisOptionsConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.redis.client.RedisOptionsConverter
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/redis/client/RedisOptionsConverter;
public static void fromJson(java.lang.Iterable<java.util.Map$Entry<java.lang.String, java.lang.Object>>, io.vertx.redis.client.RedisOptions);
descriptor: (Ljava/lang/Iterable;Lio/vertx/redis/client/RedisOptions;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 38
StackMap locals: java.lang.Iterable io.vertx.redis.client.RedisOptions 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 { // 9
-2039343091: 3
-1225773642: 4
-1033349995: 5
-906021636: 6
-294401904: 7
3506294: 8
3575610: 9
579866066: 10
1216985755: 11
default: 38
}
StackMap locals: java.lang.Iterable io.vertx.redis.client.RedisOptions java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
3: aload 4
ldc "masterName"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
goto 38
StackMap locals:
StackMap stack:
4: aload 4
ldc "netClientOptions"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
goto 38
StackMap locals:
StackMap stack:
5: aload 4
ldc "maxNestedArrays"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
goto 38
StackMap locals:
StackMap stack:
6: aload 4
ldc "select"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 30
goto 38
StackMap locals:
StackMap stack:
7: aload 4
ldc "useSlave"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 36
goto 38
StackMap locals:
StackMap stack:
8: aload 4
ldc "role"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 27
goto 38
StackMap locals:
StackMap stack:
9: aload 4
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 33
goto 38
StackMap locals:
StackMap stack:
10: aload 4
ldc "maxWaitingHandlers"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
goto 38
StackMap locals:
StackMap stack:
11: aload 4
ldc "password"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
goto 38
12: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 38
13: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.redis.client.RedisOptions.setMasterName:(Ljava/lang/String;)Lio/vertx/redis/client/RedisOptions;
pop
14: goto 38
15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Number
ifeq 38
16: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.intValue:()I
invokevirtual io.vertx.redis.client.RedisOptions.setMaxNestedArrays:(I)Lio/vertx/redis/client/RedisOptions;
pop
17: goto 38
18: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Number
ifeq 38
19: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.intValue:()I
invokevirtual io.vertx.redis.client.RedisOptions.setMaxWaitingHandlers:(I)Lio/vertx/redis/client/RedisOptions;
pop
20: goto 38
21: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.vertx.core.json.JsonObject
ifeq 38
22: aload 1
new io.vertx.core.net.NetClientOptions
dup
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
invokespecial io.vertx.core.net.NetClientOptions.<init>:(Lio/vertx/core/json/JsonObject;)V
invokevirtual io.vertx.redis.client.RedisOptions.setNetClientOptions:(Lio/vertx/core/net/NetClientOptions;)Lio/vertx/redis/client/RedisOptions;
pop
23: goto 38
24: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 38
25: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.redis.client.RedisOptions.setPassword:(Ljava/lang/String;)Lio/vertx/redis/client/RedisOptions;
pop
26: goto 38
27: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 38
28: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic io.vertx.redis.client.RedisRole.valueOf:(Ljava/lang/String;)Lio/vertx/redis/client/RedisRole;
invokevirtual io.vertx.redis.client.RedisOptions.setRole:(Lio/vertx/redis/client/RedisRole;)Lio/vertx/redis/client/RedisOptions;
pop
29: goto 38
30: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Number
ifeq 38
31: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.intValue:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.redis.client.RedisOptions.setSelect:(Ljava/lang/Integer;)Lio/vertx/redis/client/RedisOptions;
pop
32: goto 38
33: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 38
34: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic io.vertx.redis.client.RedisClientType.valueOf:(Ljava/lang/String;)Lio/vertx/redis/client/RedisClientType;
invokevirtual io.vertx.redis.client.RedisOptions.setType:(Lio/vertx/redis/client/RedisClientType;)Lio/vertx/redis/client/RedisOptions;
pop
35: goto 38
36: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 38
37: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic io.vertx.redis.client.RedisSlaves.valueOf:(Ljava/lang/String;)Lio/vertx/redis/client/RedisSlaves;
invokevirtual io.vertx.redis.client.RedisOptions.setUseSlave:(Lio/vertx/redis/client/RedisSlaves;)Lio/vertx/redis/client/RedisOptions;
pop
end local 2 38: StackMap locals: java.lang.Iterable io.vertx.redis.client.RedisOptions top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
39: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 json Ljava/lang/Iterable<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;
0 40 1 obj Lio/vertx/redis/client/RedisOptions;
2 38 2 member Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Ljava/lang/Iterable<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;Lio/vertx/redis/client/RedisOptions;)V
MethodParameters:
Name Flags
json
obj
public static void toJson(io.vertx.redis.client.RedisOptions, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/json/JsonObject;)V
flags: (0x0009) ACC_PUBLIC, 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.redis.client.RedisOptionsConverter.toJson:(Lio/vertx/redis/client/RedisOptions;Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Lio/vertx/redis/client/RedisOptions;
0 2 1 json Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
obj
json
public static void toJson(io.vertx.redis.client.RedisOptions, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lio/vertx/redis/client/RedisOptions;Ljava/util/Map;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getMasterName:()Ljava/lang/String;
ifnull 2
1: aload 1
ldc "masterName"
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getMasterName:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
aload 1
ldc "maxNestedArrays"
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getMaxNestedArrays:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 1
ldc "maxWaitingHandlers"
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getMaxWaitingHandlers:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getNetClientOptions:()Lio/vertx/core/net/NetClientOptions;
ifnull 6
5: aload 1
ldc "netClientOptions"
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getNetClientOptions:()Lio/vertx/core/net/NetClientOptions;
invokevirtual io.vertx.core.net.NetClientOptions.toJson:()Lio/vertx/core/json/JsonObject;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getPassword:()Ljava/lang/String;
ifnull 8
7: aload 1
ldc "password"
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getPassword:()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.redis.client.RedisOptions.getRole:()Lio/vertx/redis/client/RedisRole;
ifnull 10
9: aload 1
ldc "role"
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getRole:()Lio/vertx/redis/client/RedisRole;
invokevirtual io.vertx.redis.client.RedisRole.name:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getSelect:()Ljava/lang/Integer;
ifnull 12
11: aload 1
ldc "select"
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getSelect:()Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getType:()Lio/vertx/redis/client/RedisClientType;
ifnull 14
13: aload 1
ldc "type"
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getType:()Lio/vertx/redis/client/RedisClientType;
invokevirtual io.vertx.redis.client.RedisClientType.name:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getUseSlave:()Lio/vertx/redis/client/RedisSlaves;
ifnull 16
15: aload 1
ldc "useSlave"
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getUseSlave:()Lio/vertx/redis/client/RedisSlaves;
invokevirtual io.vertx.redis.client.RedisSlaves.name:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 obj Lio/vertx/redis/client/RedisOptions;
0 17 1 json Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Lio/vertx/redis/client/RedisOptions;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
obj
json
}
SourceFile: "RedisOptionsConverter.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map