public class io.vertx.ext.sql.UpdateResultConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.sql.UpdateResultConverter
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/ext/sql/UpdateResultConverter;
public static void fromJson(java.lang.Iterable<java.util.Map$Entry<java.lang.String, java.lang.Object>>, io.vertx.ext.sql.UpdateResult);
descriptor: (Ljava/lang/Iterable;Lio/vertx/ext/sql/UpdateResult;)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 10
StackMap locals: java.lang.Iterable io.vertx.ext.sql.UpdateResult 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 { // 2
-234430277: 3
3288564: 4
default: 10
}
StackMap locals: java.lang.Iterable io.vertx.ext.sql.UpdateResult java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
3: aload 4
ldc "updated"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 10
StackMap locals:
StackMap stack:
4: aload 4
ldc "keys"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 10
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.vertx.core.json.JsonArray
ifeq 10
6: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast io.vertx.core.json.JsonArray
invokevirtual io.vertx.core.json.JsonArray.copy:()Lio/vertx/core/json/JsonArray;
invokevirtual io.vertx.ext.sql.UpdateResult.setKeys:(Lio/vertx/core/json/JsonArray;)Lio/vertx/ext/sql/UpdateResult;
pop
7: goto 10
8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Number
ifeq 10
9: 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.ext.sql.UpdateResult.setUpdated:(I)Lio/vertx/ext/sql/UpdateResult;
pop
end local 2 10: StackMap locals: java.lang.Iterable io.vertx.ext.sql.UpdateResult top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 json Ljava/lang/Iterable<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;
0 12 1 obj Lio/vertx/ext/sql/UpdateResult;
2 10 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/ext/sql/UpdateResult;)V
MethodParameters:
Name Flags
json
obj
public static void toJson(io.vertx.ext.sql.UpdateResult, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/ext/sql/UpdateResult;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.ext.sql.UpdateResultConverter.toJson:(Lio/vertx/ext/sql/UpdateResult;Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Lio/vertx/ext/sql/UpdateResult;
0 2 1 json Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
obj
json
public static void toJson(io.vertx.ext.sql.UpdateResult, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lio/vertx/ext/sql/UpdateResult;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.ext.sql.UpdateResult.getKeys:()Lio/vertx/core/json/JsonArray;
ifnull 2
1: aload 1
ldc "keys"
aload 0
invokevirtual io.vertx.ext.sql.UpdateResult.getKeys:()Lio/vertx/core/json/JsonArray;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
aload 1
ldc "updated"
aload 0
invokevirtual io.vertx.ext.sql.UpdateResult.getUpdated:()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: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 obj Lio/vertx/ext/sql/UpdateResult;
0 4 1 json Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Lio/vertx/ext/sql/UpdateResult;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
obj
json
}
SourceFile: "UpdateResultConverter.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map