public class org.jdbi.v3.sqlobject.statement.internal.SqlCallHandler extends org.jdbi.v3.sqlobject.statement.internal.CustomizingStatementHandler<org.jdbi.v3.core.statement.Call>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jdbi.v3.sqlobject.statement.internal.SqlCallHandler
super_class: org.jdbi.v3.sqlobject.statement.internal.CustomizingStatementHandler
{
private final java.util.function.BiFunction<org.jdbi.v3.core.statement.OutParameters, org.jdbi.v3.core.statement.Call, ?> returner;
descriptor: Ljava/util/function/BiFunction;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/BiFunction<Lorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;*>;
public void <init>(java.lang.Class<?>, java.lang.reflect.Method);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jdbi.v3.sqlobject.statement.internal.CustomizingStatementHandler.<init>:(Ljava/lang/Class;Ljava/lang/reflect/Method;)V
1: aload 0
aload 0
aload 1
aload 2
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlCallHandler.createReturner:(Ljava/lang/Class;Ljava/lang/reflect/Method;)Ljava/util/function/BiFunction;
putfield org.jdbi.v3.sqlobject.statement.internal.SqlCallHandler.returner:Ljava/util/function/BiFunction;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlCallHandler;
0 3 1 sqlObjectType Ljava/lang/Class<*>;
0 3 2 method Ljava/lang/reflect/Method;
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Method;)V
MethodParameters:
Name Flags
sqlObjectType
method
private java.util.function.BiFunction<org.jdbi.v3.core.statement.OutParameters, org.jdbi.v3.core.statement.Call, ?> createReturner(java.lang.Class<?>, java.lang.reflect.Method);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;)Ljava/util/function/BiFunction;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.lang.reflect.Method.getGenericReturnType:()Ljava/lang/reflect/Type;
aload 1
invokestatic org.jdbi.v3.core.generic.GenericTypes.resolveType:(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)Ljava/lang/reflect/Type;
astore 3
start local 3 1: aload 3
invokestatic org.jdbi.v3.core.generic.GenericTypes.getErasedType:(Ljava/lang/reflect/Type;)Ljava/lang/Class;
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 11
4: StackMap locals: java.lang.reflect.Type java.lang.Class int
StackMap stack:
iload 5
istore 6
start local 6 5: aload 2
invokevirtual java.lang.reflect.Method.getParameters:()[Ljava/lang/reflect/Parameter;
iload 5
aaload
astore 7
start local 7 6: aload 7
invokevirtual java.lang.reflect.Parameter.getType:()Ljava/lang/Class;
ldc Ljava/util/function/Function;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iload 6
invokedynamic apply(I)Ljava/util/function/BiFunction;
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;)Ljava/lang/Object;
org/jdbi/v3/sqlobject/statement/internal/SqlCallHandler.lambda$0(ILorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object; (6)
(Lorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object;
areturn
8: StackMap locals: int java.lang.reflect.Parameter
StackMap stack:
aload 7
invokevirtual java.lang.reflect.Parameter.getType:()Ljava/lang/Class;
ldc Ljava/util/function/Consumer;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 10
9: iload 6
invokedynamic apply(I)Ljava/util/function/BiFunction;
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;)Ljava/lang/Object;
org/jdbi/v3/sqlobject/statement/internal/SqlCallHandler.lambda$1(ILorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object; (6)
(Lorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object;
areturn
end local 7 end local 6 10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
aload 2
invokevirtual java.lang.reflect.Method.getParameterCount:()I
if_icmplt 4
end local 5 12: getstatic java.lang.Void.TYPE:Ljava/lang/Class;
aload 4
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 14
13: invokedynamic apply()Ljava/util/function/BiFunction;
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;)Ljava/lang/Object;
org/jdbi/v3/sqlobject/statement/internal/SqlCallHandler.lambda$2(Lorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object; (6)
(Lorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object;
areturn
14: StackMap locals:
StackMap stack:
ldc Lorg/jdbi/v3/core/statement/OutParameters;
aload 4
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 16
15: invokedynamic apply()Ljava/util/function/BiFunction;
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;)Ljava/lang/Object;
org/jdbi/v3/sqlobject/statement/internal/SqlCallHandler.lambda$3(Lorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object; (6)
(Lorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object;
areturn
16: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "@SqlCall methods may only return null or OutParameters at present"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlCallHandler;
0 17 1 sqlObjectType Ljava/lang/Class<*>;
0 17 2 method Ljava/lang/reflect/Method;
1 17 3 returnType Ljava/lang/reflect/Type;
2 17 4 returnClass Ljava/lang/Class<*>;
3 12 5 idx I
5 10 6 pIdx I
6 10 7 p Ljava/lang/reflect/Parameter;
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Method;)Ljava/util/function/BiFunction<Lorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;*>;
MethodParameters:
Name Flags
sqlObjectType
method
org.jdbi.v3.core.statement.Call createStatement(org.jdbi.v3.core.Handle, java.lang.String);
descriptor: (Lorg/jdbi/v3/core/Handle;Ljava/lang/String;)Lorg/jdbi/v3/core/statement/Call;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual org.jdbi.v3.core.Handle.createCall:(Ljava/lang/String;)Lorg/jdbi/v3/core/statement/Call;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlCallHandler;
0 1 1 handle Lorg/jdbi/v3/core/Handle;
0 1 2 locatedSql Ljava/lang/String;
MethodParameters:
Name Flags
handle
locatedSql
void configureReturner(org.jdbi.v3.core.statement.Call, org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration);
descriptor: (Lorg/jdbi/v3/core/statement/Call;Lorg/jdbi/v3/sqlobject/statement/internal/SqlObjectStatementConfiguration;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
aload 1
invokedynamic get(Lorg/jdbi/v3/sqlobject/statement/internal/SqlCallHandler;Lorg/jdbi/v3/core/statement/Call;)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/sqlobject/statement/internal/SqlCallHandler.lambda$4(Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object; (7)
()Ljava/lang/Object;
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration.setReturner:(Ljava/util/function/Supplier;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlCallHandler;
0 2 1 c Lorg/jdbi/v3/core/statement/Call;
0 2 2 cfg Lorg/jdbi/v3/sqlobject/statement/internal/SqlObjectStatementConfiguration;
MethodParameters:
Name Flags
c
cfg
public java.lang.Object invoke(java.lang.Object, java.lang.Object[], org.jdbi.v3.core.extension.HandleSupplier);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;Lorg/jdbi/v3/core/extension/HandleSupplier;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokespecial org.jdbi.v3.sqlobject.statement.internal.CustomizingStatementHandler.invoke:(Ljava/lang/Object;[Ljava/lang/Object;Lorg/jdbi/v3/core/extension/HandleSupplier;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
void configureReturner(org.jdbi.v3.core.statement.SqlStatement, org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration);
descriptor: (Lorg/jdbi/v3/core/statement/SqlStatement;Lorg/jdbi/v3/sqlobject/statement/internal/SqlObjectStatementConfiguration;)V
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.jdbi.v3.core.statement.Call
aload 2
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlCallHandler.configureReturner:(Lorg/jdbi/v3/core/statement/Call;Lorg/jdbi/v3/sqlobject/statement/internal/SqlObjectStatementConfiguration;)V
return
LocalVariableTable:
Start End Slot Name Signature
org.jdbi.v3.core.statement.SqlStatement createStatement(org.jdbi.v3.core.Handle, java.lang.String);
descriptor: (Lorg/jdbi/v3/core/Handle;Ljava/lang/String;)Lorg/jdbi/v3/core/statement/SqlStatement;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlCallHandler.createStatement:(Lorg/jdbi/v3/core/Handle;Ljava/lang/String;)Lorg/jdbi/v3/core/statement/Call;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Object lambda$0(int, org.jdbi.v3.core.statement.OutParameters, org.jdbi.v3.core.statement.Call);
descriptor: (ILorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 1 start local 2 0: aload 2
ldc Lorg/jdbi/v3/sqlobject/statement/internal/SqlObjectStatementConfiguration;
invokevirtual org.jdbi.v3.core.statement.Call.getConfig:(Ljava/lang/Class;)Lorg/jdbi/v3/core/config/JdbiConfig;
checkcast org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration.getArgs:()[Ljava/lang/Object;
iload 0
aaload
checkcast java.util.function.Function
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 op Lorg/jdbi/v3/core/statement/OutParameters;
0 1 2 c Lorg/jdbi/v3/core/statement/Call;
private static java.lang.Object lambda$1(int, org.jdbi.v3.core.statement.OutParameters, org.jdbi.v3.core.statement.Call);
descriptor: (ILorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 1 start local 2 0: aload 2
ldc Lorg/jdbi/v3/sqlobject/statement/internal/SqlObjectStatementConfiguration;
invokevirtual org.jdbi.v3.core.statement.Call.getConfig:(Ljava/lang/Class;)Lorg/jdbi/v3/core/config/JdbiConfig;
checkcast org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration.getArgs:()[Ljava/lang/Object;
iload 0
aaload
checkcast java.util.function.Consumer
aload 1
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
1: aconst_null
areturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 op Lorg/jdbi/v3/core/statement/OutParameters;
0 2 2 c Lorg/jdbi/v3/core/statement/Call;
private static java.lang.Object lambda$2(org.jdbi.v3.core.statement.OutParameters, org.jdbi.v3.core.statement.Call);
descriptor: (Lorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 p Lorg/jdbi/v3/core/statement/OutParameters;
0 1 1 c Lorg/jdbi/v3/core/statement/Call;
private static java.lang.Object lambda$3(org.jdbi.v3.core.statement.OutParameters, org.jdbi.v3.core.statement.Call);
descriptor: (Lorg/jdbi/v3/core/statement/OutParameters;Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 p Lorg/jdbi/v3/core/statement/OutParameters;
0 1 1 c Lorg/jdbi/v3/core/statement/Call;
private java.lang.Object lambda$4(org.jdbi.v3.core.statement.Call);
descriptor: (Lorg/jdbi/v3/core/statement/Call;)Ljava/lang/Object;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlCallHandler.returner:Ljava/util/function/BiFunction;
aload 1
invokevirtual org.jdbi.v3.core.statement.Call.invoke:()Lorg/jdbi/v3/core/statement/OutParameters;
aload 1
invokeinterface java.util.function.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlCallHandler;
}
Signature: Lorg/jdbi/v3/sqlobject/statement/internal/CustomizingStatementHandler<Lorg/jdbi/v3/core/statement/Call;>;
SourceFile: "SqlCallHandler.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles