public class org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler extends org.jdbi.v3.sqlobject.statement.internal.CustomizingStatementHandler<org.jdbi.v3.core.statement.Query>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler
super_class: org.jdbi.v3.sqlobject.statement.internal.CustomizingStatementHandler
{
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=3, 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 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.SqlQueryHandler.magic:Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
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/SqlQueryHandler;
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
void configureReturner(org.jdbi.v3.core.statement.Query, org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration);
descriptor: (Lorg/jdbi/v3/core/statement/Query;Lorg/jdbi/v3/sqlobject/statement/internal/SqlObjectStatementConfiguration;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler.getMethod:()Ljava/lang/reflect/Method;
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
astore 3
start local 3 1: aload 0
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler.getMethod:()Ljava/lang/reflect/Method;
ldc Lorg/jdbi/v3/sqlobject/statement/UseRowReducer;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.jdbi.v3.sqlobject.statement.UseRowReducer
astore 4
start local 4 2: aload 4
ifnull 4
aload 3
ifnull 4
3: new java.lang.IllegalStateException
dup
ldc "Cannot declare @UseRowMapper and @UseRowReducer on the same method."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.jdbi.v3.sqlobject.statement.UseRowMapper org.jdbi.v3.sqlobject.statement.UseRowReducer
StackMap stack:
aload 2
aload 0
aload 1
aload 4
aload 3
invokedynamic get(Lorg/jdbi/v3/sqlobject/statement/internal/SqlQueryHandler;Lorg/jdbi/v3/core/statement/Query;Lorg/jdbi/v3/sqlobject/statement/UseRowReducer;Lorg/jdbi/v3/sqlobject/statement/UseRowMapper;)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/SqlQueryHandler.lambda$0(Lorg/jdbi/v3/core/statement/Query;Lorg/jdbi/v3/sqlobject/statement/UseRowReducer;Lorg/jdbi/v3/sqlobject/statement/UseRowMapper;)Ljava/lang/Object; (7)
()Ljava/lang/Object;
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration.setReturner:(Ljava/util/function/Supplier;)V
5: return
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/statement/internal/SqlQueryHandler;
0 6 1 q Lorg/jdbi/v3/core/statement/Query;
0 6 2 cfg Lorg/jdbi/v3/sqlobject/statement/internal/SqlObjectStatementConfiguration;
1 6 3 useRowMapper Lorg/jdbi/v3/sqlobject/statement/UseRowMapper;
2 6 4 useRowReducer Lorg/jdbi/v3/sqlobject/statement/UseRowReducer;
MethodParameters:
Name Flags
q
cfg
org.jdbi.v3.core.statement.Query createStatement(org.jdbi.v3.core.Handle, java.lang.String);
descriptor: (Lorg/jdbi/v3/core/Handle;Ljava/lang/String;)Lorg/jdbi/v3/core/statement/Query;
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.createQuery:(Ljava/lang/String;)Lorg/jdbi/v3/core/statement/Query;
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/SqlQueryHandler;
0 1 1 handle Lorg/jdbi/v3/core/Handle;
0 1 2 locatedSql Ljava/lang/String;
MethodParameters:
Name Flags
handle
locatedSql
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
Exceptions:
throws java.lang.Exception
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.Query
aload 2
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler.configureReturner:(Lorg/jdbi/v3/core/statement/Query;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.SqlQueryHandler.createStatement:(Lorg/jdbi/v3/core/Handle;Ljava/lang/String;)Lorg/jdbi/v3/core/statement/Query;
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.lang.Object lambda$0(org.jdbi.v3.core.statement.Query, org.jdbi.v3.sqlobject.statement.UseRowReducer, org.jdbi.v3.sqlobject.statement.UseRowMapper);
descriptor: (Lorg/jdbi/v3/core/statement/Query;Lorg/jdbi/v3/sqlobject/statement/UseRowReducer;Lorg/jdbi/v3/sqlobject/statement/UseRowMapper;)Ljava/lang/Object;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=7, args_size=4
start local 0 0: aload 1
invokevirtual org.jdbi.v3.core.statement.Query.getContext:()Lorg/jdbi/v3/core/statement/StatementContext;
astore 4
start local 4 1: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler.magic:Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
aload 4
invokevirtual org.jdbi.v3.sqlobject.statement.internal.ResultReturner.elementType:(Lorg/jdbi/v3/core/statement/StatementContext;)Lorg/jdbi/v3/core/qualifier/QualifiedType;
astore 5
start local 5 2: aload 2
ifnull 4
3: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler.magic:Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
aload 1
aload 2
invokestatic org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler.rowReducerFor:(Lorg/jdbi/v3/sqlobject/statement/UseRowReducer;)Lorg/jdbi/v3/core/result/RowReducer;
invokevirtual org.jdbi.v3.core.statement.Query.reduceRows:(Lorg/jdbi/v3/core/result/RowReducer;)Ljava/util/stream/Stream;
aload 4
invokevirtual org.jdbi.v3.sqlobject.statement.internal.ResultReturner.reducedResult:(Ljava/util/stream/Stream;Lorg/jdbi/v3/core/statement/StatementContext;)Ljava/lang/Object;
areturn
4: StackMap locals: org.jdbi.v3.core.statement.StatementContext org.jdbi.v3.core.qualifier.QualifiedType
StackMap stack:
aload 3
ifnonnull 6
5: aload 1
aload 5
invokevirtual org.jdbi.v3.core.statement.Query.mapTo:(Lorg/jdbi/v3/core/qualifier/QualifiedType;)Lorg/jdbi/v3/core/result/ResultIterable;
goto 7
6: StackMap locals:
StackMap stack:
aload 1
aload 3
invokestatic org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler.rowMapperFor:(Lorg/jdbi/v3/sqlobject/statement/UseRowMapper;)Lorg/jdbi/v3/core/mapper/RowMapper;
invokevirtual org.jdbi.v3.core.statement.Query.map:(Lorg/jdbi/v3/core/mapper/RowMapper;)Lorg/jdbi/v3/core/result/ResultIterable;
7: StackMap locals:
StackMap stack: org.jdbi.v3.core.result.ResultIterable
astore 6
start local 6 8: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler.magic:Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
aload 6
aload 4
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 6 end local 5 end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlQueryHandler;
1 9 4 ctx Lorg/jdbi/v3/core/statement/StatementContext;
2 9 5 elementType Lorg/jdbi/v3/core/qualifier/QualifiedType<*>;
8 9 6 iterable Lorg/jdbi/v3/core/result/ResultIterable<*>;
}
Signature: Lorg/jdbi/v3/sqlobject/statement/internal/CustomizingStatementHandler<Lorg/jdbi/v3/core/statement/Query;>;
SourceFile: "SqlQueryHandler.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles