public class org.jdbi.v3.json.internal.JsonArgumentFactory implements org.jdbi.v3.core.argument.ArgumentFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jdbi.v3.json.internal.JsonArgumentFactory
super_class: java.lang.Object
{
private static final java.lang.String JSON_NOT_STORABLE;
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 argument factory 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.JsonArgumentFactory.JSON_NOT_STORABLE: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/JsonArgumentFactory;
public java.util.Optional<org.jdbi.v3.core.argument.Argument> build(java.lang.reflect.Type, , org.jdbi.v3.core.config.ConfigRegistry);
descriptor: (Ljava/lang/reflect/Type;Ljava/lang/Object;Lorg/jdbi/v3/core/config/ConfigRegistry;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 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
ifnonnull 3
aconst_null
goto 4
StackMap locals:
StackMap stack:
3: aload 3
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;
aload 1
aload 2
aload 3
invokeinterface org.jdbi.v3.json.JsonMapper.toJson:(Ljava/lang/reflect/Type;Ljava/lang/Object;Lorg/jdbi/v3/core/config/ConfigRegistry;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
4: astore 4
start local 4 5: ldc "null"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
aconst_null
goto 7
StackMap locals: java.lang.String
StackMap stack:
6: aload 4
StackMap locals:
StackMap stack: java.lang.String
7: astore 5
start local 5 8: aload 3
ldc Lorg/jdbi/v3/core/argument/Arguments;
invokevirtual org.jdbi.v3.core.config.ConfigRegistry.get:(Ljava/lang/Class;)Lorg/jdbi/v3/core/config/JdbiConfig;
checkcast org.jdbi.v3.core.argument.Arguments
astore 6
start local 6 9: iconst_2
anewarray java.util.function.Supplier
dup
iconst_0
10: aload 6
aload 5
invokedynamic get(Lorg/jdbi/v3/core/argument/Arguments;Ljava/lang/String;)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/JsonArgumentFactory.lambda$0(Lorg/jdbi/v3/core/argument/Arguments;Ljava/lang/String;)Ljava/util/Optional; (6)
()Ljava/util/Optional;
aastore
dup
iconst_1
11: aload 6
aload 5
invokedynamic get(Lorg/jdbi/v3/core/argument/Arguments;Ljava/lang/String;)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/JsonArgumentFactory.lambda$1(Lorg/jdbi/v3/core/argument/Arguments;Ljava/lang/String;)Ljava/util/Optional; (6)
()Ljava/util/Optional;
aastore
12: invokestatic org.jdbi.v3.core.internal.JdbiOptionals.findFirstPresent:([Ljava/util/function/Supplier;)Ljava/util/Optional;
13: 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/JsonArgumentFactory.lambda$2()Lorg/jdbi/v3/core/statement/UnableToCreateStatementException; (6)
()Lorg/jdbi/v3/core/statement/UnableToCreateStatementException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast org.jdbi.v3.core.argument.Argument
14: invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 6 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 15 0 this Lorg/jdbi/v3/json/internal/JsonArgumentFactory;
0 15 1 type Ljava/lang/reflect/Type;
0 15 2 value Ljava/lang/Object;
0 15 3 config Lorg/jdbi/v3/core/config/ConfigRegistry;
5 15 4 nullableJson Ljava/lang/String;
8 15 5 json Ljava/lang/String;
9 15 6 a Lorg/jdbi/v3/core/argument/Arguments;
Signature: (Ljava/lang/reflect/Type;Ljava/lang/Object;Lorg/jdbi/v3/core/config/ConfigRegistry;)Ljava/util/Optional<Lorg/jdbi/v3/core/argument/Argument;>;
MethodParameters:
Name Flags
type
value
config
private static java.util.Optional lambda$0(org.jdbi.v3.core.argument.Arguments, java.lang.String);
descriptor: (Lorg/jdbi/v3/core/argument/Arguments;Ljava/lang/String;)Ljava/util/Optional;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=2, args_size=2
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;
aload 1
invokevirtual org.jdbi.v3.core.argument.Arguments.findFor:(Lorg/jdbi/v3/core/qualifier/QualifiedType;Ljava/lang/Object;)Ljava/util/Optional;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.util.Optional lambda$1(org.jdbi.v3.core.argument.Arguments, java.lang.String);
descriptor: (Lorg/jdbi/v3/core/argument/Arguments;Ljava/lang/String;)Ljava/util/Optional;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
0: aload 0
ldc Ljava/lang/String;
aload 1
invokevirtual org.jdbi.v3.core.argument.Arguments.findFor:(Ljava/lang/reflect/Type;Ljava/lang/Object;)Ljava/util/Optional;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static org.jdbi.v3.core.statement.UnableToCreateStatementException lambda$2();
descriptor: ()Lorg/jdbi/v3/core/statement/UnableToCreateStatementException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: new org.jdbi.v3.core.statement.UnableToCreateStatementException
dup
getstatic org.jdbi.v3.json.internal.JsonArgumentFactory.JSON_NOT_STORABLE:Ljava/lang/String;
invokespecial org.jdbi.v3.core.statement.UnableToCreateStatementException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JsonArgumentFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
org.jdbi.v3.json.Json()