public class org.jdbi.v3.sqlobject.customizer.internal.BindMapFactory implements org.jdbi.v3.sqlobject.customizer.SqlStatementCustomizerFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jdbi.v3.sqlobject.customizer.internal.BindMapFactory
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 Lorg/jdbi/v3/sqlobject/customizer/internal/BindMapFactory;
public org.jdbi.v3.sqlobject.customizer.SqlStatementParameterCustomizer createForParameter(java.lang.annotation.Annotation, java.lang.Class<?>, java.lang.reflect.Method, java.lang.reflect.Parameter, int, java.lang.reflect.Type);
descriptor: (Ljava/lang/annotation/Annotation;Ljava/lang/Class;Ljava/lang/reflect/Method;Ljava/lang/reflect/Parameter;ILjava/lang/reflect/Type;)Lorg/jdbi/v3/sqlobject/customizer/SqlStatementParameterCustomizer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
checkcast org.jdbi.v3.sqlobject.customizer.BindMap
astore 7
start local 7 1: aload 7
invokeinterface org.jdbi.v3.sqlobject.customizer.BindMap.keys:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
astore 8
start local 8 2: aload 7
invokeinterface org.jdbi.v3.sqlobject.customizer.BindMap.value:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
ldc ""
goto 4
StackMap locals: org.jdbi.v3.sqlobject.customizer.BindMap java.util.List
StackMap stack:
3: new java.lang.StringBuilder
dup
aload 7
invokeinterface org.jdbi.v3.sqlobject.customizer.BindMap.value:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
4: astore 9
start local 9 5: aload 7
aload 8
aload 9
invokedynamic apply(Lorg/jdbi/v3/sqlobject/customizer/BindMap;Ljava/util/List;Ljava/lang/String;)Lorg/jdbi/v3/sqlobject/customizer/SqlStatementParameterCustomizer;
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:
(Lorg/jdbi/v3/core/statement/SqlStatement;Ljava/lang/Object;)V
org/jdbi/v3/sqlobject/customizer/internal/BindMapFactory.lambda$0(Lorg/jdbi/v3/sqlobject/customizer/BindMap;Ljava/util/List;Ljava/lang/String;Lorg/jdbi/v3/core/statement/SqlStatement;Ljava/lang/Object;)V (6)
(Lorg/jdbi/v3/core/statement/SqlStatement;Ljava/lang/Object;)V
areturn
end local 9 end local 8 end local 7 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 6 0 this Lorg/jdbi/v3/sqlobject/customizer/internal/BindMapFactory;
0 6 1 a Ljava/lang/annotation/Annotation;
0 6 2 sqlObjectType Ljava/lang/Class<*>;
0 6 3 method Ljava/lang/reflect/Method;
0 6 4 param Ljava/lang/reflect/Parameter;
0 6 5 index I
0 6 6 type Ljava/lang/reflect/Type;
1 6 7 annotation Lorg/jdbi/v3/sqlobject/customizer/BindMap;
2 6 8 keys Ljava/util/List<Ljava/lang/String;>;
5 6 9 prefix Ljava/lang/String;
Signature: (Ljava/lang/annotation/Annotation;Ljava/lang/Class<*>;Ljava/lang/reflect/Method;Ljava/lang/reflect/Parameter;ILjava/lang/reflect/Type;)Lorg/jdbi/v3/sqlobject/customizer/SqlStatementParameterCustomizer;
MethodParameters:
Name Flags
a
sqlObjectType
method
param
index
type
private static void lambda$0(org.jdbi.v3.sqlobject.customizer.BindMap, java.util.List, java.lang.String, org.jdbi.v3.core.statement.SqlStatement, java.lang.Object);
descriptor: (Lorg/jdbi/v3/sqlobject/customizer/BindMap;Ljava/util/List;Ljava/lang/String;Lorg/jdbi/v3/core/statement/SqlStatement;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=7, args_size=5
start local 3 start local 4 0: aload 4
checkcast java.util.Map
astore 5
start local 5 1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 6
start local 6 2: aload 5
aload 0
aload 1
aload 6
aload 2
invokedynamic accept(Lorg/jdbi/v3/sqlobject/customizer/BindMap;Ljava/util/List;Ljava/util/Map;Ljava/lang/String;)Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
org/jdbi/v3/sqlobject/customizer/internal/BindMapFactory.lambda$1(Lorg/jdbi/v3/sqlobject/customizer/BindMap;Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V (6)
(Ljava/lang/Object;Ljava/lang/Object;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
3: aload 1
aload 6
aload 2
invokedynamic accept(Ljava/util/Map;Ljava/lang/String;)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
org/jdbi/v3/sqlobject/customizer/internal/BindMapFactory.lambda$2(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
4: aload 3
aload 6
invokevirtual org.jdbi.v3.core.statement.SqlStatement.bindMap:(Ljava/util/Map;)Lorg/jdbi/v3/core/statement/SqlStatement;
pop
end local 6 end local 5 5: return
end local 4 end local 3 LocalVariableTable:
Start End Slot Name Signature
0 6 3 stmt Lorg/jdbi/v3/core/statement/SqlStatement<*>;
0 6 4 arg Ljava/lang/Object;
1 5 5 map Ljava/util/Map<**>;
2 5 6 toBind Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Exceptions:
throws java.sql.SQLException
private static void lambda$1(org.jdbi.v3.sqlobject.customizer.BindMap, java.util.List, java.util.Map, java.lang.String, java.lang.Object, java.lang.Object);
descriptor: (Lorg/jdbi/v3/sqlobject/customizer/BindMap;Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=7, args_size=6
start local 4 start local 5 0: aload 0
invokeinterface org.jdbi.v3.sqlobject.customizer.BindMap.convertKeys:()Z
ifne 1
aload 4
instanceof java.lang.String
ifeq 5
1: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 6
start local 6 2: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 3
aload 1
aload 6
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 6
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 4: goto 6
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Key "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " (of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ") must be a String"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 5 end local 4 LocalVariableTable:
Start End Slot Name Signature
0 7 4 k Ljava/lang/Object;
0 7 5 v Ljava/lang/Object;
2 4 6 key Ljava/lang/String;
private static void lambda$2(java.util.Map, java.lang.String, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 2 0: aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 key Ljava/lang/String;
}
SourceFile: "BindMapFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles