public class io.vertx.servicediscovery.ServiceDiscoveryOptionsConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.servicediscovery.ServiceDiscoveryOptionsConverter
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/servicediscovery/ServiceDiscoveryOptionsConverter;
public static void fromJson(java.lang.Iterable<java.util.Map$Entry<java.lang.String, java.lang.Object>>, io.vertx.servicediscovery.ServiceDiscoveryOptions);
descriptor: (Ljava/lang/Iterable;Lio/vertx/servicediscovery/ServiceDiscoveryOptions;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, 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 22
StackMap locals: java.lang.Iterable io.vertx.servicediscovery.ServiceDiscoveryOptions 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 { // 5
-1192210669: 3
-852037950: 4
3373707: 5
1159541346: 6
1626703691: 7
default: 22
}
StackMap locals: java.lang.Iterable io.vertx.servicediscovery.ServiceDiscoveryOptions java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
3: aload 4
ldc "usageAddress"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
goto 22
StackMap locals:
StackMap stack:
4: aload 4
ldc "backendConfiguration"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 22
StackMap locals:
StackMap stack:
5: aload 4
ldc "name"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
goto 22
StackMap locals:
StackMap stack:
6: aload 4
ldc "autoRegistrationOfImporters"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
goto 22
StackMap locals:
StackMap stack:
7: aload 4
ldc "announceAddress"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 22
8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 22
9: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.setAnnounceAddress:(Ljava/lang/String;)Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
pop
10: goto 22
11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Boolean
ifeq 22
12: 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.servicediscovery.ServiceDiscoveryOptions.setAutoRegistrationOfImporters:(Z)Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
pop
13: goto 22
14: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.vertx.core.json.JsonObject
ifeq 22
15: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
invokevirtual io.vertx.core.json.JsonObject.copy:()Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.setBackendConfiguration:(Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
pop
16: goto 22
17: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 22
18: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.setName:(Ljava/lang/String;)Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
pop
19: goto 22
20: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 22
21: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.setUsageAddress:(Ljava/lang/String;)Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
pop
end local 2 22: StackMap locals: java.lang.Iterable io.vertx.servicediscovery.ServiceDiscoveryOptions top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
23: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 json Ljava/lang/Iterable<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;
0 24 1 obj Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
2 22 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/servicediscovery/ServiceDiscoveryOptions;)V
MethodParameters:
Name Flags
json
obj
public static void toJson(io.vertx.servicediscovery.ServiceDiscoveryOptions, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscoveryOptions;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.servicediscovery.ServiceDiscoveryOptionsConverter.toJson:(Lio/vertx/servicediscovery/ServiceDiscoveryOptions;Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
0 2 1 json Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
obj
json
public static void toJson(io.vertx.servicediscovery.ServiceDiscoveryOptions, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscoveryOptions;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.servicediscovery.ServiceDiscoveryOptions.getAnnounceAddress:()Ljava/lang/String;
ifnull 2
1: aload 1
ldc "announceAddress"
aload 0
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getAnnounceAddress:()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 "autoRegistrationOfImporters"
aload 0
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.isAutoRegistrationOfImporters:()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
3: aload 0
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getBackendConfiguration:()Lio/vertx/core/json/JsonObject;
ifnull 5
4: aload 1
ldc "backendConfiguration"
aload 0
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getBackendConfiguration:()Lio/vertx/core/json/JsonObject;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getName:()Ljava/lang/String;
ifnull 7
6: aload 1
ldc "name"
aload 0
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getName:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getUsageAddress:()Ljava/lang/String;
ifnull 9
8: aload 1
ldc "usageAddress"
aload 0
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getUsageAddress:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 obj Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
0 10 1 json Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Lio/vertx/servicediscovery/ServiceDiscoveryOptions;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
obj
json
}
SourceFile: "ServiceDiscoveryOptionsConverter.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map