public class org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler extends org.jdbi.v3.sqlobject.statement.internal.CustomizingStatementHandler<org.jdbi.v3.core.statement.PreparedBatch>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler
super_class: org.jdbi.v3.sqlobject.statement.internal.CustomizingStatementHandler
{
private final org.jdbi.v3.sqlobject.statement.SqlBatch sqlBatch;
descriptor: Lorg/jdbi/v3/sqlobject/statement/SqlBatch;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ChunkSizeFunction batchChunkSize;
descriptor: Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler$ChunkSizeFunction;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.function.Function<org.jdbi.v3.core.statement.PreparedBatch, org.jdbi.v3.core.result.ResultIterator<?>> batchIntermediate;
descriptor: Ljava/util/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Function<Lorg/jdbi/v3/core/statement/PreparedBatch;Lorg/jdbi/v3/core/result/ResultIterator<*>;>;
private final org.jdbi.v3.sqlobject.statement.internal.ResultReturner magic;
descriptor: Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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=6, 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 2
ldc Lorg/jdbi/v3/sqlobject/statement/UseRowReducer;
invokevirtual java.lang.reflect.Method.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 3
2: new java.lang.UnsupportedOperationException
dup
ldc "Cannot declare @UseRowReducer on a @SqlUpdate method."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler java.lang.Class java.lang.reflect.Method
StackMap stack:
aload 0
aload 2
ldc Lorg/jdbi/v3/sqlobject/statement/SqlBatch;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.jdbi.v3.sqlobject.statement.SqlBatch
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.sqlBatch:Lorg/jdbi/v3/sqlobject/statement/SqlBatch;
4: aload 0
aload 0
aload 1
aload 2
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.determineBatchChunkSize:(Ljava/lang/Class;Ljava/lang/reflect/Method;)Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler$ChunkSizeFunction;
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.batchChunkSize:Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler$ChunkSizeFunction;
5: aload 2
ldc Lorg/jdbi/v3/sqlobject/statement/GetGeneratedKeys;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.jdbi.v3.sqlobject.statement.GetGeneratedKeys
astore 3
start local 3 6: aload 3
ifnonnull 16
7: aload 2
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
invokestatic org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.returnTypeIsValid:(Ljava/lang/Class;)Z
ifne 9
8: new org.jdbi.v3.sqlobject.UnableToCreateSqlObjectException
dup
aload 2
invokestatic org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.invalidReturnTypeMessage:(Ljava/lang/reflect/Method;)Ljava/lang/String;
invokespecial org.jdbi.v3.sqlobject.UnableToCreateSqlObjectException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: org.jdbi.v3.sqlobject.statement.GetGeneratedKeys
StackMap stack:
invokedynamic apply()Ljava/util/function/Function;
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;
org/jdbi/v3/core/statement/PreparedBatch.executeAndGetModCount()Lorg/jdbi/v3/core/result/ResultIterator; (5)
(Lorg/jdbi/v3/core/statement/PreparedBatch;)Lorg/jdbi/v3/core/result/ResultIterator;
astore 4
start local 4 10: aload 0
aload 2
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
ldc [Z
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 12
11: aload 0
aload 4
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.mapToBoolean:(Ljava/util/function/Function;)Ljava/util/function/Function;
goto 13
12: StackMap locals: org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler java.lang.Class java.lang.reflect.Method org.jdbi.v3.sqlobject.statement.GetGeneratedKeys java.util.function.Function
StackMap stack: org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler
aload 4
13: StackMap locals: org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler java.lang.Class java.lang.reflect.Method org.jdbi.v3.sqlobject.statement.GetGeneratedKeys java.util.function.Function
StackMap stack: org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler java.util.function.Function
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.batchIntermediate:Ljava/util/function/Function;
14: aload 0
aload 1
aload 2
invokestatic org.jdbi.v3.sqlobject.statement.internal.ResultReturner.forOptionalReturn:(Ljava/lang/Class;Ljava/lang/reflect/Method;)Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.magic:Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
end local 4 15: goto 23
16: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.jdbi.v3.sqlobject.statement.GetGeneratedKeys.value:()[Ljava/lang/String;
astore 4
start local 4 17: aload 0
aload 1
aload 2
invokestatic org.jdbi.v3.sqlobject.statement.internal.ResultReturner.forMethod:(Ljava/lang/Class;Ljava/lang/reflect/Method;)Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.magic:Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
18: aload 2
ldc Lorg/jdbi/v3/sqlobject/statement/UseRowMapper;
invokevirtual java.lang.reflect.Method.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 22
19: aload 2
ldc Lorg/jdbi/v3/sqlobject/statement/UseRowMapper;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.jdbi.v3.sqlobject.statement.UseRowMapper
invokestatic org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.rowMapperFor:(Lorg/jdbi/v3/sqlobject/statement/UseRowMapper;)Lorg/jdbi/v3/core/mapper/RowMapper;
astore 5
start local 5 20: aload 0
aload 4
aload 5
invokedynamic apply([Ljava/lang/String;Lorg/jdbi/v3/core/mapper/RowMapper;)Ljava/util/function/Function;
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;
org/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler.lambda$1([Ljava/lang/String;Lorg/jdbi/v3/core/mapper/RowMapper;Lorg/jdbi/v3/core/statement/PreparedBatch;)Lorg/jdbi/v3/core/result/ResultIterator; (6)
(Lorg/jdbi/v3/core/statement/PreparedBatch;)Lorg/jdbi/v3/core/result/ResultIterator;
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.batchIntermediate:Ljava/util/function/Function;
end local 5 21: goto 23
22: StackMap locals: java.lang.String[]
StackMap stack:
aload 0
aload 0
aload 4
invokedynamic apply(Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;[Ljava/lang/String;)Ljava/util/function/Function;
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;
org/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler.lambda$2([Ljava/lang/String;Lorg/jdbi/v3/core/statement/PreparedBatch;)Lorg/jdbi/v3/core/result/ResultIterator; (7)
(Lorg/jdbi/v3/core/statement/PreparedBatch;)Lorg/jdbi/v3/core/result/ResultIterator;
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.batchIntermediate:Ljava/util/function/Function;
end local 4 23: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
0 24 1 sqlObjectType Ljava/lang/Class<*>;
0 24 2 method Ljava/lang/reflect/Method;
6 24 3 getGeneratedKeys Lorg/jdbi/v3/sqlobject/statement/GetGeneratedKeys;
10 15 4 modCounts Ljava/util/function/Function<Lorg/jdbi/v3/core/statement/PreparedBatch;Lorg/jdbi/v3/core/result/ResultIterator<*>;>;
17 23 4 columnNames [Ljava/lang/String;
20 21 5 mapper Lorg/jdbi/v3/core/mapper/RowMapper<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Method;)V
MethodParameters:
Name Flags
sqlObjectType
method
public void warm(org.jdbi.v3.core.config.ConfigRegistry);
descriptor: (Lorg/jdbi/v3/core/config/ConfigRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jdbi.v3.sqlobject.statement.internal.CustomizingStatementHandler.warm:(Lorg/jdbi/v3/core/config/ConfigRegistry;)V
1: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.magic:Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
aload 1
invokevirtual org.jdbi.v3.sqlobject.statement.internal.ResultReturner.warm:(Lorg/jdbi/v3/core/config/ConfigRegistry;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
0 3 1 config Lorg/jdbi/v3/core/config/ConfigRegistry;
MethodParameters:
Name Flags
config
private java.util.function.Function<org.jdbi.v3.core.statement.PreparedBatch, org.jdbi.v3.core.result.ResultIterator<?>> mapToBoolean(java.util.function.Function<org.jdbi.v3.core.statement.PreparedBatch, org.jdbi.v3.core.result.ResultIterator<?>>);
descriptor: (Ljava/util/function/Function;)Ljava/util/function/Function;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokedynamic apply(Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;)Ljava/util/function/Function;
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;
org/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler.lambda$3(Lorg/jdbi/v3/core/result/ResultIterator;)Lorg/jdbi/v3/core/result/ResultIterator; (7)
(Lorg/jdbi/v3/core/result/ResultIterator;)Lorg/jdbi/v3/core/result/ResultIterator;
invokeinterface java.util.function.Function.andThen:(Ljava/util/function/Function;)Ljava/util/function/Function;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
0 1 1 modCounts Ljava/util/function/Function<Lorg/jdbi/v3/core/statement/PreparedBatch;Lorg/jdbi/v3/core/result/ResultIterator<*>;>;
Signature: (Ljava/util/function/Function<Lorg/jdbi/v3/core/statement/PreparedBatch;Lorg/jdbi/v3/core/result/ResultIterator<*>;>;)Ljava/util/function/Function<Lorg/jdbi/v3/core/statement/PreparedBatch;Lorg/jdbi/v3/core/result/ResultIterator<*>;>;
MethodParameters:
Name Flags
modCounts
private org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ChunkSizeFunction determineBatchChunkSize(java.lang.Class<?>, java.lang.reflect.Method);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;)Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler$ChunkSizeFunction;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.indexOfBatchChunkSizeParameter:(Ljava/lang/reflect/Method;)I
istore 3
start local 3 1: iload 3
iflt 3
2: new org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ParamBasedChunkSizeFunction
dup
iload 3
invokespecial org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ParamBasedChunkSizeFunction.<init>:(I)V
areturn
3: StackMap locals: int
StackMap stack:
aload 2
ldc Lorg/jdbi/v3/sqlobject/statement/BatchChunkSize;
invokevirtual java.lang.reflect.Method.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 8
4: aload 2
ldc Lorg/jdbi/v3/sqlobject/statement/BatchChunkSize;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.jdbi.v3.sqlobject.statement.BatchChunkSize
invokeinterface org.jdbi.v3.sqlobject.statement.BatchChunkSize.value:()I
istore 4
start local 4 5: iload 4
ifgt 7
6: new java.lang.IllegalArgumentException
dup
ldc "Batch chunk size must be >= 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: int
StackMap stack:
new org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ConstantChunkSizeFunction
dup
iload 4
invokespecial org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ConstantChunkSizeFunction.<init>:(I)V
areturn
end local 4 8: StackMap locals:
StackMap stack:
aload 1
ldc Lorg/jdbi/v3/sqlobject/statement/BatchChunkSize;
invokevirtual java.lang.Class.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 11
9: aload 1
ldc Lorg/jdbi/v3/sqlobject/statement/BatchChunkSize;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.jdbi.v3.sqlobject.statement.BatchChunkSize
invokeinterface org.jdbi.v3.sqlobject.statement.BatchChunkSize.value:()I
istore 4
start local 4 10: new org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ConstantChunkSizeFunction
dup
iload 4
invokespecial org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ConstantChunkSizeFunction.<init>:(I)V
areturn
end local 4 11: StackMap locals:
StackMap stack:
new org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ConstantChunkSizeFunction
dup
ldc 2147483647
invokespecial org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ConstantChunkSizeFunction.<init>:(I)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
0 12 1 sqlObjectType Ljava/lang/Class<*>;
0 12 2 method Ljava/lang/reflect/Method;
1 12 3 batchChunkSizeParameterIndex I
5 8 4 size I
10 11 4 size I
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Method;)Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler$ChunkSizeFunction;
MethodParameters:
Name Flags
sqlObjectType
method
private int indexOfBatchChunkSizeParameter(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.reflect.Method.getParameterAnnotations:()[[Ljava/lang/annotation/Annotation;
astore 2
start local 2 1: iconst_0
aload 2
arraylength
invokestatic java.util.stream.IntStream.range:(II)Ljava/util/stream/IntStream;
2: aload 2
invokedynamic test([[Ljava/lang/annotation/Annotation;)Ljava/util/function/IntPredicate;
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:
(I)Z
org/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler.lambda$4([[Ljava/lang/annotation/Annotation;I)Z (6)
(I)Z
invokeinterface java.util.stream.IntStream.filter:(Ljava/util/function/IntPredicate;)Ljava/util/stream/IntStream;
3: invokeinterface java.util.stream.IntStream.findFirst:()Ljava/util/OptionalInt;
4: iconst_m1
invokevirtual java.util.OptionalInt.orElse:(I)I
5: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
0 6 1 method Ljava/lang/reflect/Method;
1 6 2 parameterAnnotations [[Ljava/lang/annotation/Annotation;
MethodParameters:
Name Flags
method
org.jdbi.v3.core.statement.PreparedBatch createStatement(org.jdbi.v3.core.Handle, java.lang.String);
descriptor: (Lorg/jdbi/v3/core/Handle;Ljava/lang/String;)Lorg/jdbi/v3/core/statement/PreparedBatch;
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.prepareBatch:(Ljava/lang/String;)Lorg/jdbi/v3/core/statement/PreparedBatch;
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/SqlBatchHandler;
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.PreparedBatch, org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration);
descriptor: (Lorg/jdbi/v3/core/statement/PreparedBatch;Lorg/jdbi/v3/sqlobject/statement/internal/SqlObjectStatementConfiguration;)V
flags: (0x0000)
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
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/SqlBatchHandler;
0 1 1 stmt Lorg/jdbi/v3/core/statement/PreparedBatch;
0 1 2 cfg Lorg/jdbi/v3/sqlobject/statement/internal/SqlObjectStatementConfiguration;
MethodParameters:
Name Flags
stmt
cfg
java.lang.reflect.Type getParameterType(java.lang.reflect.Parameter);
descriptor: (Ljava/lang/reflect/Parameter;)Ljava/lang/reflect/Type;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jdbi.v3.sqlobject.statement.internal.CustomizingStatementHandler.getParameterType:(Ljava/lang/reflect/Parameter;)Ljava/lang/reflect/Type;
astore 2
start local 2 1: aload 1
ldc Lorg/jdbi/v3/sqlobject/SingleValue;
invokevirtual java.lang.reflect.Parameter.isAnnotationPresent:(Ljava/lang/Class;)Z
ifne 9
2: aload 2
invokestatic org.jdbi.v3.core.generic.GenericTypes.getErasedType:(Ljava/lang/reflect/Type;)Ljava/lang/Class;
astore 3
start local 3 3: ldc Ljava/lang/Iterable;
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 5
4: aload 2
ldc Ljava/lang/Iterable;
invokestatic org.jdbi.v3.core.generic.GenericTypes.findGenericParameter:(Ljava/lang/reflect/Type;Ljava/lang/Class;)Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.reflect.Type
areturn
5: StackMap locals: java.lang.reflect.Type java.lang.Class
StackMap stack:
ldc Ljava/util/Iterator;
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 7
6: aload 2
ldc Ljava/util/Iterator;
invokestatic org.jdbi.v3.core.generic.GenericTypes.findGenericParameter:(Ljava/lang/reflect/Type;Ljava/lang/Class;)Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.reflect.Type
areturn
7: StackMap locals:
StackMap stack:
aload 2
invokestatic org.jdbi.v3.core.generic.GenericTypes.isArray:(Ljava/lang/reflect/Type;)Z
ifeq 9
8: aload 2
checkcast java.lang.Class
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
areturn
end local 3 9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
0 10 1 parameter Ljava/lang/reflect/Parameter;
1 10 2 type Ljava/lang/reflect/Type;
3 9 3 erasedType Ljava/lang/Class<*>;
MethodParameters:
Name Flags
parameter
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: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface org.jdbi.v3.core.extension.HandleSupplier.getHandle:()Lorg/jdbi/v3/core/Handle;
astore 4
start local 4 1: aload 0
aload 4
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.locateSql:(Lorg/jdbi/v3/core/Handle;)Ljava/lang/String;
astore 5
start local 5 2: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.batchChunkSize:Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler$ChunkSizeFunction;
aload 2
invokeinterface org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ChunkSizeFunction.call:([Ljava/lang/Object;)I
istore 6
start local 6 3: aload 0
aload 0
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.getMethod:()Ljava/lang/reflect/Method;
aload 2
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.zipArgs:(Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/util/Iterator;
astore 7
start local 7 4: aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 8
5: new org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4
dup
aload 0
aload 7
aload 4
aload 5
iload 6
invokespecial org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.<init>:(Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;Ljava/util/Iterator;Lorg/jdbi/v3/core/Handle;Ljava/lang/String;I)V
astore 8
start local 8 6: aload 8
invokeinterface org.jdbi.v3.core.result.ResultIterator.hasNext:()Z
pop
7: goto 10
end local 8 8: StackMap locals: org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler java.lang.Object java.lang.Object[] org.jdbi.v3.core.extension.HandleSupplier org.jdbi.v3.core.Handle java.lang.String int java.util.Iterator
StackMap stack:
aload 4
aload 5
invokevirtual org.jdbi.v3.core.Handle.prepareBatch:(Ljava/lang/String;)Lorg/jdbi/v3/core/statement/PreparedBatch;
astore 9
start local 9 9: new org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$5
dup
aload 0
aload 9
invokespecial org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$5.<init>:(Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;Lorg/jdbi/v3/core/statement/PreparedBatch;)V
astore 8
end local 9 start local 8 10: StackMap locals: org.jdbi.v3.core.result.ResultIterator
StackMap stack:
aload 8
invokestatic org.jdbi.v3.core.result.ResultIterable.of:(Lorg/jdbi/v3/core/result/ResultIterator;)Lorg/jdbi/v3/core/result/ResultIterable;
astore 9
start local 9 11: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.magic:Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
aload 9
aload 8
invokeinterface org.jdbi.v3.core.result.ResultIterator.getContext:()Lorg/jdbi/v3/core/statement/StatementContext;
invokevirtual org.jdbi.v3.sqlobject.statement.internal.ResultReturner.mappedResult:(Lorg/jdbi/v3/core/result/ResultIterable;Lorg/jdbi/v3/core/statement/StatementContext;)Ljava/lang/Object;
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 12 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
0 12 1 target Ljava/lang/Object;
0 12 2 args [Ljava/lang/Object;
0 12 3 h Lorg/jdbi/v3/core/extension/HandleSupplier;
1 12 4 handle Lorg/jdbi/v3/core/Handle;
2 12 5 sql Ljava/lang/String;
3 12 6 chunkSize I
4 12 7 batchArgs Ljava/util/Iterator<[Ljava/lang/Object;>;
6 8 8 result Lorg/jdbi/v3/core/result/ResultIterator<Ljava/lang/Object;>;
10 12 8 result Lorg/jdbi/v3/core/result/ResultIterator<Ljava/lang/Object;>;
9 10 9 dummy Lorg/jdbi/v3/core/statement/PreparedBatch;
11 12 9 iterable Lorg/jdbi/v3/core/result/ResultIterable<Ljava/lang/Object;>;
MethodParameters:
Name Flags
target
args
h
private java.util.Iterator<java.lang.Object[]> zipArgs(java.lang.reflect.Method, []);
descriptor: (Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 12
4: StackMap locals: int java.util.List int
StackMap stack:
aload 1
invokevirtual java.lang.reflect.Method.getParameters:()[Ljava/lang/reflect/Parameter;
iload 5
aaload
ldc Lorg/jdbi/v3/sqlobject/SingleValue;
invokevirtual java.lang.reflect.Parameter.isAnnotationPresent:(Ljava/lang/Class;)Z
istore 6
start local 6 5: aload 2
iload 5
aaload
astore 7
start local 7 6: iload 6
ifne 10
aload 7
invokestatic org.jdbi.v3.core.internal.IterableLike.isIterable:(Ljava/lang/Object;)Z
ifeq 10
7: aload 4
aload 7
invokestatic org.jdbi.v3.core.internal.IterableLike.of:(Ljava/lang/Object;)Ljava/util/Iterator;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: iconst_1
istore 3
9: goto 11
10: StackMap locals: int java.lang.Object
StackMap stack:
aload 4
aload 7
invokedynamic get(Ljava/lang/Object;)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/SqlBatchHandler.lambda$6(Ljava/lang/Object;)Ljava/lang/Object; (6)
()Ljava/lang/Object;
invokestatic java.util.stream.Stream.generate:(Ljava/util/function/Supplier;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.iterator:()Ljava/util/Iterator;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
aload 1
invokevirtual java.lang.reflect.Method.getParameterCount:()I
if_icmplt 4
end local 5 13: iload 3
ifne 17
14: new org.jdbi.v3.core.statement.UnableToCreateStatementException
dup
ldc "@SqlBatch method has no Iterable or array parameters, did you mean @SqlQuery?"
15: aconst_null
aconst_null
16: invokespecial org.jdbi.v3.core.statement.UnableToCreateStatementException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Lorg/jdbi/v3/core/statement/StatementContext;)V
athrow
17: StackMap locals:
StackMap stack:
aload 2
arraylength
anewarray java.lang.Object
astore 5
start local 5 18: new org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$6
dup
aload 0
aload 4
aload 5
invokespecial org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$6.<init>:(Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;Ljava/util/List;[Ljava/lang/Object;)V
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 19 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
0 19 1 method Ljava/lang/reflect/Method;
0 19 2 args [Ljava/lang/Object;
1 19 3 foundIterator Z
2 19 4 extras Ljava/util/List<Ljava/util/Iterator<*>;>;
3 13 5 paramIdx I
5 11 6 singleValue Z
6 11 7 arg Ljava/lang/Object;
18 19 5 sharedArg [Ljava/lang/Object;
Signature: (Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/util/Iterator<[Ljava/lang/Object;>;
MethodParameters:
Name Flags
method
args
private org.jdbi.v3.core.result.ResultIterator<?> executeBatch(org.jdbi.v3.core.Handle, org.jdbi.v3.core.statement.PreparedBatch);
descriptor: (Lorg/jdbi/v3/core/Handle;Lorg/jdbi/v3/core/statement/PreparedBatch;)Lorg/jdbi/v3/core/result/ResultIterator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.jdbi.v3.core.Handle.isInTransaction:()Z
ifne 2
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.sqlBatch:Lorg/jdbi/v3/sqlobject/statement/SqlBatch;
invokeinterface org.jdbi.v3.sqlobject.statement.SqlBatch.transactional:()Z
ifeq 2
1: aload 1
aload 0
aload 2
invokedynamic withHandle(Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;Lorg/jdbi/v3/core/statement/PreparedBatch;)Lorg/jdbi/v3/core/HandleCallback;
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/Handle;)Ljava/lang/Object;
org/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler.lambda$7(Lorg/jdbi/v3/core/statement/PreparedBatch;Lorg/jdbi/v3/core/Handle;)Lorg/jdbi/v3/core/result/ResultIterator; (7)
(Lorg/jdbi/v3/core/Handle;)Lorg/jdbi/v3/core/result/ResultIterator;
invokevirtual org.jdbi.v3.core.Handle.inTransaction:(Lorg/jdbi/v3/core/HandleCallback;)Ljava/lang/Object;
checkcast org.jdbi.v3.core.result.ResultIterator
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.batchIntermediate:Ljava/util/function/Function;
aload 2
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jdbi.v3.core.result.ResultIterator
areturn
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/SqlBatchHandler;
0 3 1 handle Lorg/jdbi/v3/core/Handle;
0 3 2 batch Lorg/jdbi/v3/core/statement/PreparedBatch;
Signature: (Lorg/jdbi/v3/core/Handle;Lorg/jdbi/v3/core/statement/PreparedBatch;)Lorg/jdbi/v3/core/result/ResultIterator<*>;
MethodParameters:
Name Flags
handle final
batch final
private static boolean returnTypeIsValid(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isArray:()Z
ifeq 6
3: aload 0
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 1
start local 1 4: aload 1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 5
aload 1
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 5
iconst_0
ireturn
StackMap locals: java.lang.Class
StackMap stack:
5: iconst_1
ireturn
end local 1 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 type Ljava/lang/Class<*>;
4 6 1 componentType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type
private static java.lang.String invalidReturnTypeMessage(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc " method is annotated with @SqlBatch so should return void, int[], or boolean[] but is returning: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 0
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
method
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.PreparedBatch
aload 2
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.configureReturner:(Lorg/jdbi/v3/core/statement/PreparedBatch;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.SqlBatchHandler.createStatement:(Lorg/jdbi/v3/core/Handle;Ljava/lang/String;)Lorg/jdbi/v3/core/statement/PreparedBatch;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static org.jdbi.v3.core.result.ResultIterator lambda$1(java.lang.String[], org.jdbi.v3.core.mapper.RowMapper, org.jdbi.v3.core.statement.PreparedBatch);
descriptor: ([Ljava/lang/String;Lorg/jdbi/v3/core/mapper/RowMapper;Lorg/jdbi/v3/core/statement/PreparedBatch;)Lorg/jdbi/v3/core/result/ResultIterator;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 2
aload 0
invokevirtual org.jdbi.v3.core.statement.PreparedBatch.executeAndReturnGeneratedKeys:([Ljava/lang/String;)Lorg/jdbi/v3/core/result/ResultBearing;
1: aload 1
invokeinterface org.jdbi.v3.core.result.ResultBearing.map:(Lorg/jdbi/v3/core/mapper/RowMapper;)Lorg/jdbi/v3/core/result/ResultIterable;
2: invokeinterface org.jdbi.v3.core.result.ResultIterable.iterator:()Lorg/jdbi/v3/core/result/ResultIterator;
areturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 3 2 batch Lorg/jdbi/v3/core/statement/PreparedBatch;
private org.jdbi.v3.core.result.ResultIterator lambda$2(java.lang.String[], org.jdbi.v3.core.statement.PreparedBatch);
descriptor: ([Ljava/lang/String;Lorg/jdbi/v3/core/statement/PreparedBatch;)Lorg/jdbi/v3/core/result/ResultIterator;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 2
aload 1
invokevirtual org.jdbi.v3.core.statement.PreparedBatch.executeAndReturnGeneratedKeys:([Ljava/lang/String;)Lorg/jdbi/v3/core/result/ResultBearing;
1: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.magic:Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
aload 2
invokevirtual org.jdbi.v3.core.statement.PreparedBatch.getConfig:()Lorg/jdbi/v3/core/config/ConfigRegistry;
invokevirtual org.jdbi.v3.sqlobject.statement.internal.ResultReturner.elementType:(Lorg/jdbi/v3/core/config/ConfigRegistry;)Lorg/jdbi/v3/core/qualifier/QualifiedType;
invokeinterface org.jdbi.v3.core.result.ResultBearing.mapTo:(Lorg/jdbi/v3/core/qualifier/QualifiedType;)Lorg/jdbi/v3/core/result/ResultIterable;
2: invokeinterface org.jdbi.v3.core.result.ResultIterable.iterator:()Lorg/jdbi/v3/core/result/ResultIterator;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
0 3 2 batch Lorg/jdbi/v3/core/statement/PreparedBatch;
private org.jdbi.v3.core.result.ResultIterator lambda$3(org.jdbi.v3.core.result.ResultIterator);
descriptor: (Lorg/jdbi/v3/core/result/ResultIterator;)Lorg/jdbi/v3/core/result/ResultIterator;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$3
dup
aload 0
aload 1
invokespecial org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$3.<init>:(Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;Lorg/jdbi/v3/core/result/ResultIterator;)V
1: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
0 2 1 iterator Lorg/jdbi/v3/core/result/ResultIterator<*>;
private static boolean lambda$4(java.lang.annotation.Annotation[][], int);
descriptor: ([[Ljava/lang/annotation/Annotation;I)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
iload 1
aaload
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
ldc Lorg/jdbi/v3/sqlobject/statement/BatchChunkSize;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic test(Ljava/lang/Class;)Ljava/util/function/Predicate;
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;)Z
java/lang/Class.isInstance(Ljava/lang/Object;)Z (5)
(Ljava/lang/annotation/Annotation;)Z
invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 i I
private static java.lang.Object lambda$6(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
areturn
LocalVariableTable:
Start End Slot Name Signature
private org.jdbi.v3.core.result.ResultIterator lambda$7(org.jdbi.v3.core.statement.PreparedBatch, org.jdbi.v3.core.Handle);
descriptor: (Lorg/jdbi/v3/core/statement/PreparedBatch;Lorg/jdbi/v3/core/Handle;)Lorg/jdbi/v3/core/result/ResultIterator;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.batchIntermediate:Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jdbi.v3.core.result.ResultIterator
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
0 1 2 c Lorg/jdbi/v3/core/Handle;
Exceptions:
throws java.lang.RuntimeException
}
Signature: Lorg/jdbi/v3/sqlobject/statement/internal/CustomizingStatementHandler<Lorg/jdbi/v3/core/statement/PreparedBatch;>;
SourceFile: "SqlBatchHandler.java"
NestMembers:
org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$1 org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$2 org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$3 org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4 org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$5 org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$6 org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ChunkSizeFunction org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ConstantChunkSizeFunction org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ParamBasedChunkSizeFunction
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$3
org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4
org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$5
org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$6
private abstract ChunkSizeFunction = org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ChunkSizeFunction of org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler
private ConstantChunkSizeFunction = org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ConstantChunkSizeFunction of org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler
private ParamBasedChunkSizeFunction = org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$ParamBasedChunkSizeFunction of org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler