public class io.vertx.cassandra.CassandraClientOptionsConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.cassandra.CassandraClientOptionsConverter
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/cassandra/CassandraClientOptionsConverter;
public static void fromJson(java.lang.Iterable<java.util.Map$Entry<java.lang.String, java.lang.Object>>, io.vertx.cassandra.CassandraClientOptions);
descriptor: (Ljava/lang/Iterable;Lio/vertx/cassandra/CassandraClientOptions;)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.cassandra.CassandraClientOptions 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
519468551: 3
526701859: 4
default: 10
}
StackMap locals: java.lang.Iterable io.vertx.cassandra.CassandraClientOptions java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
3: aload 4
ldc "keyspace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 10
StackMap locals:
StackMap stack:
4: aload 4
ldc "contactPoints"
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.JsonObject
ifeq 10
6: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Iterable
aload 1
invokedynamic accept(Lio/vertx/cassandra/CassandraClientOptions;)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/cassandra/CassandraClientOptionsConverter.lambda$0(Lio/vertx/cassandra/CassandraClientOptions;Ljava/util/Map$Entry;)V (6)
(Ljava/util/Map$Entry;)V
invokeinterface java.lang.Iterable.forEach:(Ljava/util/function/Consumer;)V
7: goto 10
8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 10
9: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.cassandra.CassandraClientOptions.setKeyspace:(Ljava/lang/String;)Lio/vertx/cassandra/CassandraClientOptions;
pop
end local 2 10: StackMap locals: java.lang.Iterable io.vertx.cassandra.CassandraClientOptions 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/cassandra/CassandraClientOptions;
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/cassandra/CassandraClientOptions;)V
MethodParameters:
Name Flags
json
obj
public static void toJson(io.vertx.cassandra.CassandraClientOptions, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/cassandra/CassandraClientOptions;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.cassandra.CassandraClientOptionsConverter.toJson:(Lio/vertx/cassandra/CassandraClientOptions;Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Lio/vertx/cassandra/CassandraClientOptions;
0 2 1 json Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
obj
json
public static void toJson(io.vertx.cassandra.CassandraClientOptions, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lio/vertx/cassandra/CassandraClientOptions;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.cassandra.CassandraClientOptions.getKeyspace:()Ljava/lang/String;
ifnull 2
1: aload 1
ldc "keyspace"
aload 0
invokevirtual io.vertx.cassandra.CassandraClientOptions.getKeyspace:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 obj Lio/vertx/cassandra/CassandraClientOptions;
0 3 1 json Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Lio/vertx/cassandra/CassandraClientOptions;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
obj
json
private static void lambda$0(io.vertx.cassandra.CassandraClientOptions, java.util.Map$Entry);
descriptor: (Lio/vertx/cassandra/CassandraClientOptions;Ljava/util/Map$Entry;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.Number
ifeq 2
1: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.intValue:()I
invokevirtual io.vertx.cassandra.CassandraClientOptions.addContactPoint:(Ljava/lang/String;I)Lio/vertx/cassandra/CassandraClientOptions;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
}
SourceFile: "CassandraClientOptionsConverter.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