public class org.jdbi.v3.json.internal.JsonColumnMapperFactory implements org.jdbi.v3.core.mapper.ColumnMapperFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jdbi.v3.json.internal.JsonColumnMapperFactory
super_class: java.lang.Object
{
private static final java.lang.String JSON_NOT_RETRIEVABLE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc "No column mapper found for '@%s String', or 'String'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
1: ldc Lorg/jdbi/v3/json/Json;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
putstatic org.jdbi.v3.json.internal.JsonColumnMapperFactory.JSON_NOT_RETRIEVABLE:Ljava/lang/String;
3: return
LocalVariableTable:
Start End Slot Name Signature
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 Lorg/jdbi/v3/json/internal/JsonColumnMapperFactory;
public java.util.Optional<org.jdbi.v3.core.mapper.ColumnMapper<?>> build(java.lang.reflect.Type, org.jdbi.v3.core.config.ConfigRegistry);
descriptor: (Ljava/lang/reflect/Type;Lorg/jdbi/v3/core/config/ConfigRegistry;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: ldc Ljava/lang/String;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
1: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
2: StackMap locals:
StackMap stack:
aload 2
ldc Lorg/jdbi/v3/core/mapper/ColumnMappers;
invokevirtual org.jdbi.v3.core.config.ConfigRegistry.get:(Ljava/lang/Class;)Lorg/jdbi/v3/core/config/JdbiConfig;
checkcast org.jdbi.v3.core.mapper.ColumnMappers
astore 3
start local 3 3: iconst_2
anewarray java.util.function.Supplier
dup
iconst_0
4: aload 3
invokedynamic get(Lorg/jdbi/v3/core/mapper/ColumnMappers;)Ljava/util/function/Supplier;
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;
org/jdbi/v3/json/internal/JsonColumnMapperFactory.lambda$0(Lorg/jdbi/v3/core/mapper/ColumnMappers;)Ljava/util/Optional; (6)
()Ljava/util/Optional;
aastore
dup
iconst_1
5: aload 3
invokedynamic get(Lorg/jdbi/v3/core/mapper/ColumnMappers;)Ljava/util/function/Supplier;
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;
org/jdbi/v3/json/internal/JsonColumnMapperFactory.lambda$1(Lorg/jdbi/v3/core/mapper/ColumnMappers;)Ljava/util/Optional; (6)
()Ljava/util/Optional;
aastore
6: invokestatic org.jdbi.v3.core.internal.JdbiOptionals.findFirstPresent:([Ljava/util/function/Supplier;)Ljava/util/Optional;
7: invokedynamic get()Ljava/util/function/Supplier;
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;
org/jdbi/v3/json/internal/JsonColumnMapperFactory.lambda$2()Lorg/jdbi/v3/core/result/UnableToProduceResultException; (6)
()Lorg/jdbi/v3/core/result/UnableToProduceResultException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast org.jdbi.v3.core.mapper.ColumnMapper
8: astore 4
start local 4 9: aload 2
ldc Lorg/jdbi/v3/json/JsonConfig;
invokevirtual org.jdbi.v3.core.config.ConfigRegistry.get:(Ljava/lang/Class;)Lorg/jdbi/v3/core/config/JdbiConfig;
checkcast org.jdbi.v3.json.JsonConfig
invokevirtual org.jdbi.v3.json.JsonConfig.getJsonMapper:()Lorg/jdbi/v3/json/JsonMapper;
astore 5
start local 5 10: aload 5
aload 1
aload 4
aload 2
invokedynamic map(Lorg/jdbi/v3/json/JsonMapper;Ljava/lang/reflect/Type;Lorg/jdbi/v3/core/mapper/ColumnMapper;Lorg/jdbi/v3/core/config/ConfigRegistry;)Lorg/jdbi/v3/core/mapper/ColumnMapper;
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/sql/ResultSet;ILorg/jdbi/v3/core/statement/StatementContext;)Ljava/lang/Object;
org/jdbi/v3/json/internal/JsonColumnMapperFactory.lambda$3(Lorg/jdbi/v3/json/JsonMapper;Ljava/lang/reflect/Type;Lorg/jdbi/v3/core/mapper/ColumnMapper;Lorg/jdbi/v3/core/config/ConfigRegistry;Ljava/sql/ResultSet;ILorg/jdbi/v3/core/statement/StatementContext;)Ljava/lang/Object; (6)
(Ljava/sql/ResultSet;ILorg/jdbi/v3/core/statement/StatementContext;)Ljava/lang/Object;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jdbi/v3/json/internal/JsonColumnMapperFactory;
0 11 1 type Ljava/lang/reflect/Type;
0 11 2 config Lorg/jdbi/v3/core/config/ConfigRegistry;
3 11 3 cm Lorg/jdbi/v3/core/mapper/ColumnMappers;
9 11 4 jsonStringMapper Lorg/jdbi/v3/core/mapper/ColumnMapper<Ljava/lang/String;>;
10 11 5 mapper Lorg/jdbi/v3/json/JsonMapper;
Signature: (Ljava/lang/reflect/Type;Lorg/jdbi/v3/core/config/ConfigRegistry;)Ljava/util/Optional<Lorg/jdbi/v3/core/mapper/ColumnMapper<*>;>;
MethodParameters:
Name Flags
type
config
private static java.util.Optional lambda$0(org.jdbi.v3.core.mapper.ColumnMappers);
descriptor: (Lorg/jdbi/v3/core/mapper/ColumnMappers;)Ljava/util/Optional;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=1, args_size=1
0: aload 0
ldc Ljava/lang/String;
invokestatic org.jdbi.v3.core.qualifier.QualifiedType.of:(Ljava/lang/Class;)Lorg/jdbi/v3/core/qualifier/QualifiedType;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jdbi/v3/json/Json;
aastore
invokevirtual org.jdbi.v3.core.qualifier.QualifiedType.with:([Ljava/lang/Class;)Lorg/jdbi/v3/core/qualifier/QualifiedType;
invokevirtual org.jdbi.v3.core.mapper.ColumnMappers.findFor:(Lorg/jdbi/v3/core/qualifier/QualifiedType;)Ljava/util/Optional;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.util.Optional lambda$1(org.jdbi.v3.core.mapper.ColumnMappers);
descriptor: (Lorg/jdbi/v3/core/mapper/ColumnMappers;)Ljava/util/Optional;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
ldc Ljava/lang/String;
invokevirtual org.jdbi.v3.core.mapper.ColumnMappers.findFor:(Ljava/lang/Class;)Ljava/util/Optional;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static org.jdbi.v3.core.result.UnableToProduceResultException lambda$2();
descriptor: ()Lorg/jdbi/v3/core/result/UnableToProduceResultException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: new org.jdbi.v3.core.result.UnableToProduceResultException
dup
getstatic org.jdbi.v3.json.internal.JsonColumnMapperFactory.JSON_NOT_RETRIEVABLE:Ljava/lang/String;
invokespecial org.jdbi.v3.core.result.UnableToProduceResultException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Object lambda$3(org.jdbi.v3.json.JsonMapper, java.lang.reflect.Type, org.jdbi.v3.core.mapper.ColumnMapper, org.jdbi.v3.core.config.ConfigRegistry, java.sql.ResultSet, int, org.jdbi.v3.core.statement.StatementContext);
descriptor: (Lorg/jdbi/v3/json/JsonMapper;Ljava/lang/reflect/Type;Lorg/jdbi/v3/core/mapper/ColumnMapper;Lorg/jdbi/v3/core/config/ConfigRegistry;Ljava/sql/ResultSet;ILorg/jdbi/v3/core/statement/StatementContext;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=7, args_size=7
start local 4 start local 5 start local 6 0: aload 0
1: aload 1
2: aload 2
aload 4
iload 5
aload 6
invokeinterface org.jdbi.v3.core.mapper.ColumnMapper.map:(Ljava/sql/ResultSet;ILorg/jdbi/v3/core/statement/StatementContext;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
3: ldc "null"
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
4: aload 3
5: invokeinterface org.jdbi.v3.json.JsonMapper.fromJson:(Ljava/lang/reflect/Type;Ljava/lang/String;Lorg/jdbi/v3/core/config/ConfigRegistry;)Ljava/lang/Object;
6: areturn
end local 6 end local 5 end local 4 LocalVariableTable:
Start End Slot Name Signature
0 7 4 rs Ljava/sql/ResultSet;
0 7 5 i I
0 7 6 ctx Lorg/jdbi/v3/core/statement/StatementContext;
Exceptions:
throws java.sql.SQLException
}
SourceFile: "JsonColumnMapperFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
org.jdbi.v3.json.Json()