public class io.vertx.servicediscovery.RecordConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.servicediscovery.RecordConverter
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/RecordConverter;
public static void fromJson(java.lang.Iterable<java.util.Map$Entry<java.lang.String, java.lang.Object>>, io.vertx.servicediscovery.Record);
descriptor: (Ljava/lang/Iterable;Lio/vertx/servicediscovery/Record;)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 26
StackMap locals: java.lang.Iterable io.vertx.servicediscovery.Record 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 { // 6
-1350309703: 3
-892481550: 4
-450004177: 5
3373707: 6
3575610: 7
1901043637: 8
default: 26
}
StackMap locals: java.lang.Iterable io.vertx.servicediscovery.Record java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
3: aload 4
ldc "registration"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
goto 26
StackMap locals:
StackMap stack:
4: aload 4
ldc "status"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
goto 26
StackMap locals:
StackMap stack:
5: aload 4
ldc "metadata"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
goto 26
StackMap locals:
StackMap stack:
6: aload 4
ldc "name"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
goto 26
StackMap locals:
StackMap stack:
7: aload 4
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
goto 26
StackMap locals:
StackMap stack:
8: aload 4
ldc "location"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
goto 26
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.vertx.core.json.JsonObject
ifeq 26
10: 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.Record.setLocation:(Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/Record;
pop
11: goto 26
12: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.vertx.core.json.JsonObject
ifeq 26
13: 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.Record.setMetadata:(Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/Record;
pop
14: goto 26
15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 26
16: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.servicediscovery.Record.setName:(Ljava/lang/String;)Lio/vertx/servicediscovery/Record;
pop
17: goto 26
18: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 26
19: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.servicediscovery.Record.setRegistration:(Ljava/lang/String;)Lio/vertx/servicediscovery/Record;
pop
20: goto 26
21: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 26
22: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic io.vertx.servicediscovery.Status.valueOf:(Ljava/lang/String;)Lio/vertx/servicediscovery/Status;
invokevirtual io.vertx.servicediscovery.Record.setStatus:(Lio/vertx/servicediscovery/Status;)Lio/vertx/servicediscovery/Record;
pop
23: goto 26
24: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 26
25: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.servicediscovery.Record.setType:(Ljava/lang/String;)Lio/vertx/servicediscovery/Record;
pop
end local 2 26: StackMap locals: java.lang.Iterable io.vertx.servicediscovery.Record top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
27: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 json Ljava/lang/Iterable<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;
0 28 1 obj Lio/vertx/servicediscovery/Record;
2 26 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/Record;)V
MethodParameters:
Name Flags
json
obj
public static void toJson(io.vertx.servicediscovery.Record, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/servicediscovery/Record;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.RecordConverter.toJson:(Lio/vertx/servicediscovery/Record;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/Record;
0 2 1 json Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
obj
json
public static void toJson(io.vertx.servicediscovery.Record, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lio/vertx/servicediscovery/Record;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.Record.getLocation:()Lio/vertx/core/json/JsonObject;
ifnull 2
1: aload 1
ldc "location"
aload 0
invokevirtual io.vertx.servicediscovery.Record.getLocation:()Lio/vertx/core/json/JsonObject;
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.servicediscovery.Record.getMetadata:()Lio/vertx/core/json/JsonObject;
ifnull 4
3: aload 1
ldc "metadata"
aload 0
invokevirtual io.vertx.servicediscovery.Record.getMetadata:()Lio/vertx/core/json/JsonObject;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.servicediscovery.Record.getName:()Ljava/lang/String;
ifnull 6
5: aload 1
ldc "name"
aload 0
invokevirtual io.vertx.servicediscovery.Record.getName:()Ljava/lang/String;
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.servicediscovery.Record.getRegistration:()Ljava/lang/String;
ifnull 8
7: aload 1
ldc "registration"
aload 0
invokevirtual io.vertx.servicediscovery.Record.getRegistration:()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.servicediscovery.Record.getStatus:()Lio/vertx/servicediscovery/Status;
ifnull 10
9: aload 1
ldc "status"
aload 0
invokevirtual io.vertx.servicediscovery.Record.getStatus:()Lio/vertx/servicediscovery/Status;
invokevirtual io.vertx.servicediscovery.Status.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.servicediscovery.Record.getType:()Ljava/lang/String;
ifnull 12
11: aload 1
ldc "type"
aload 0
invokevirtual io.vertx.servicediscovery.Record.getType:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 obj Lio/vertx/servicediscovery/Record;
0 13 1 json Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Lio/vertx/servicediscovery/Record;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
obj
json
}
SourceFile: "RecordConverter.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map