public class io.vertx.ext.sql.ResultSetConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.sql.ResultSetConverter
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/ResultSetConverter;
public static void fromJson(java.lang.Iterable<java.util.Map$Entry<java.lang.String, java.lang.Object>>, io.vertx.ext.sql.ResultSet);
descriptor: (Ljava/lang/Iterable;Lio/vertx/ext/sql/ResultSet;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, 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 27
StackMap locals: java.lang.Iterable io.vertx.ext.sql.ResultSet 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 { // 7
-2000982401: 3
-1853251209: 4
-1005512447: 5
-851002990: 6
3377907: 7
3506649: 8
1097546742: 9
default: 27
}
StackMap locals: java.lang.Iterable io.vertx.ext.sql.ResultSet java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
3: aload 4
ldc "numRows"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 27
goto 27
StackMap locals:
StackMap stack:
4: aload 4
ldc "numColumns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 27
goto 27
StackMap locals:
StackMap stack:
5: aload 4
ldc "output"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
goto 27
StackMap locals:
StackMap stack:
6: aload 4
ldc "columnNames"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 27
StackMap locals:
StackMap stack:
7: aload 4
ldc "next"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
goto 27
StackMap locals:
StackMap stack:
8: aload 4
ldc "rows"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
goto 27
StackMap locals:
StackMap stack:
9: aload 4
ldc "results"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
goto 27
10: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.vertx.core.json.JsonArray
ifeq 27
11: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 12: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Iterable
aload 5
invokedynamic accept(Ljava/util/ArrayList;)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/ext/sql/ResultSetConverter.lambda$0(Ljava/util/ArrayList;Ljava/lang/Object;)V (6)
(Ljava/lang/Object;)V
invokeinterface java.lang.Iterable.forEach:(Ljava/util/function/Consumer;)V
13: aload 1
aload 5
invokevirtual io.vertx.ext.sql.ResultSet.setColumnNames:(Ljava/util/List;)Lio/vertx/ext/sql/ResultSet;
pop
end local 5 14: goto 27
15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.vertx.core.json.JsonObject
ifeq 27
16: aload 1
new io.vertx.ext.sql.ResultSet
dup
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
invokespecial io.vertx.ext.sql.ResultSet.<init>:(Lio/vertx/core/json/JsonObject;)V
invokevirtual io.vertx.ext.sql.ResultSet.setNext:(Lio/vertx/ext/sql/ResultSet;)Lio/vertx/ext/sql/ResultSet;
pop
17: goto 27
18: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.vertx.core.json.JsonArray
ifeq 27
19: 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.ResultSet.setOutput:(Lio/vertx/core/json/JsonArray;)Lio/vertx/ext/sql/ResultSet;
pop
20: goto 27
21: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.vertx.core.json.JsonArray
ifeq 27
22: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 23: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Iterable
aload 5
invokedynamic accept(Ljava/util/ArrayList;)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/ext/sql/ResultSetConverter.lambda$1(Ljava/util/ArrayList;Ljava/lang/Object;)V (6)
(Ljava/lang/Object;)V
invokeinterface java.lang.Iterable.forEach:(Ljava/util/function/Consumer;)V
24: aload 1
aload 5
invokevirtual io.vertx.ext.sql.ResultSet.setResults:(Ljava/util/List;)Lio/vertx/ext/sql/ResultSet;
pop
end local 5 25: goto 27
26: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.vertx.core.json.JsonArray
pop
end local 2 27: StackMap locals: java.lang.Iterable io.vertx.ext.sql.ResultSet top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
28: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 json Ljava/lang/Iterable<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;
0 29 1 obj Lio/vertx/ext/sql/ResultSet;
2 27 2 member Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
12 14 5 list Ljava/util/ArrayList<Ljava/lang/String;>;
23 25 5 list Ljava/util/ArrayList<Lio/vertx/core/json/JsonArray;>;
Signature: (Ljava/lang/Iterable<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;Lio/vertx/ext/sql/ResultSet;)V
MethodParameters:
Name Flags
json
obj
public static void toJson(io.vertx.ext.sql.ResultSet, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/ext/sql/ResultSet;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.ResultSetConverter.toJson:(Lio/vertx/ext/sql/ResultSet;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/ResultSet;
0 2 1 json Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
obj
json
public static void toJson(io.vertx.ext.sql.ResultSet, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lio/vertx/ext/sql/ResultSet;Ljava/util/Map;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.sql.ResultSet.getColumnNames:()Ljava/util/List;
ifnull 4
1: new io.vertx.core.json.JsonArray
dup
invokespecial io.vertx.core.json.JsonArray.<init>:()V
astore 2
start local 2 2: aload 0
invokevirtual io.vertx.ext.sql.ResultSet.getColumnNames:()Ljava/util/List;
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/ext/sql/ResultSetConverter.lambda$2(Lio/vertx/core/json/JsonArray;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
3: aload 1
ldc "columnNames"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.sql.ResultSet.getNext:()Lio/vertx/ext/sql/ResultSet;
ifnull 6
5: aload 1
ldc "next"
aload 0
invokevirtual io.vertx.ext.sql.ResultSet.getNext:()Lio/vertx/ext/sql/ResultSet;
invokevirtual io.vertx.ext.sql.ResultSet.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 1
ldc "numColumns"
aload 0
invokevirtual io.vertx.ext.sql.ResultSet.getNumColumns:()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
7: aload 1
ldc "numRows"
aload 0
invokevirtual io.vertx.ext.sql.ResultSet.getNumRows:()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
8: aload 0
invokevirtual io.vertx.ext.sql.ResultSet.getOutput:()Lio/vertx/core/json/JsonArray;
ifnull 10
9: aload 1
ldc "output"
aload 0
invokevirtual io.vertx.ext.sql.ResultSet.getOutput:()Lio/vertx/core/json/JsonArray;
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.ext.sql.ResultSet.getResults:()Ljava/util/List;
ifnull 14
11: new io.vertx.core.json.JsonArray
dup
invokespecial io.vertx.core.json.JsonArray.<init>:()V
astore 2
start local 2 12: aload 0
invokevirtual io.vertx.ext.sql.ResultSet.getResults:()Ljava/util/List;
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/ext/sql/ResultSetConverter.lambda$3(Lio/vertx/core/json/JsonArray;Lio/vertx/core/json/JsonArray;)V (6)
(Lio/vertx/core/json/JsonArray;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
13: aload 1
ldc "results"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 14: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.sql.ResultSet.getRows:()Ljava/util/List;
ifnull 18
15: new io.vertx.core.json.JsonArray
dup
invokespecial io.vertx.core.json.JsonArray.<init>:()V
astore 2
start local 2 16: aload 0
invokevirtual io.vertx.ext.sql.ResultSet.getRows:()Ljava/util/List;
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/ext/sql/ResultSetConverter.lambda$4(Lio/vertx/core/json/JsonArray;Lio/vertx/core/json/JsonObject;)V (6)
(Lio/vertx/core/json/JsonObject;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
17: aload 1
ldc "rows"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 obj Lio/vertx/ext/sql/ResultSet;
0 19 1 json Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
2 4 2 array Lio/vertx/core/json/JsonArray;
12 14 2 array Lio/vertx/core/json/JsonArray;
16 18 2 array Lio/vertx/core/json/JsonArray;
Signature: (Lio/vertx/ext/sql/ResultSet;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
obj
json
private static void lambda$0(java.util.ArrayList, java.lang.Object);
descriptor: (Ljava/util/ArrayList;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.ArrayList.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(java.util.ArrayList, java.lang.Object);
descriptor: (Ljava/util/ArrayList;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 io.vertx.core.json.JsonArray
ifeq 2
1: aload 0
aload 1
checkcast io.vertx.core.json.JsonArray
invokevirtual io.vertx.core.json.JsonArray.copy:()Lio/vertx/core/json/JsonArray;
invokevirtual java.util.ArrayList.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$2(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/String;)Lio/vertx/core/json/JsonArray;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 item Ljava/lang/String;
private static void lambda$3(io.vertx.core.json.JsonArray, io.vertx.core.json.JsonArray);
descriptor: (Lio/vertx/core/json/JsonArray;Lio/vertx/core/json/JsonArray;)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:(Lio/vertx/core/json/JsonArray;)Lio/vertx/core/json/JsonArray;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 item Lio/vertx/core/json/JsonArray;
private static void lambda$4(io.vertx.core.json.JsonArray, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonArray;Lio/vertx/core/json/JsonObject;)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:(Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonArray;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 item Lio/vertx/core/json/JsonObject;
}
SourceFile: "ResultSetConverter.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