public class org.jdbi.v3.sqlobject.statement.internal.MapToFactory 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.statement.internal.MapToFactory
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/statement/internal/MapToFactory;
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=2, locals=7, 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 2
aload 3
invokedynamic apply(Ljava/lang/Class;Ljava/lang/reflect/Method;)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/statement/internal/MapToFactory.lambda$0(Ljava/lang/Class;Ljava/lang/reflect/Method;Lorg/jdbi/v3/core/statement/SqlStatement;Ljava/lang/Object;)V (6)
(Lorg/jdbi/v3/core/statement/SqlStatement;Ljava/lang/Object;)V
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 1 0 this Lorg/jdbi/v3/sqlobject/statement/internal/MapToFactory;
0 1 1 annotation Ljava/lang/annotation/Annotation;
0 1 2 sqlObjectType Ljava/lang/Class<*>;
0 1 3 method Ljava/lang/reflect/Method;
0 1 4 param Ljava/lang/reflect/Parameter;
0 1 5 index I
0 1 6 type Ljava/lang/reflect/Type;
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
annotation
sqlObjectType
method
param
index
type
private static void lambda$0(java.lang.Class, java.lang.reflect.Method, org.jdbi.v3.core.statement.SqlStatement, java.lang.Object);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;Lorg/jdbi/v3/core/statement/SqlStatement;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=6, args_size=4
start local 2 start local 3 0: aload 3
instanceof org.jdbi.v3.core.qualifier.QualifiedType
ifeq 3
1: aload 3
checkcast org.jdbi.v3.core.qualifier.QualifiedType
astore 4
start local 4 2: goto 10
end local 4 StackMap locals:
StackMap stack:
3: aload 3
instanceof org.jdbi.v3.core.generic.GenericType
ifeq 6
4: aload 3
checkcast org.jdbi.v3.core.generic.GenericType
invokevirtual org.jdbi.v3.core.generic.GenericType.getType:()Ljava/lang/reflect/Type;
invokestatic org.jdbi.v3.core.qualifier.QualifiedType.of:(Ljava/lang/reflect/Type;)Lorg/jdbi/v3/core/qualifier/QualifiedType;
astore 4
start local 4 5: goto 10
end local 4 StackMap locals:
StackMap stack:
6: aload 3
instanceof java.lang.reflect.Type
ifeq 9
7: aload 3
checkcast java.lang.reflect.Type
invokestatic org.jdbi.v3.core.qualifier.QualifiedType.of:(Ljava/lang/reflect/Type;)Lorg/jdbi/v3/core/qualifier/QualifiedType;
astore 4
start local 4 8: goto 10
end local 4 9: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "@MapTo must take a GenericType, QualifiedType, or Type, but got a "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
start local 4 10: StackMap locals: org.jdbi.v3.core.qualifier.QualifiedType
StackMap stack:
aload 0
aload 1
invokestatic org.jdbi.v3.sqlobject.statement.internal.ResultReturner.forMethod:(Ljava/lang/Class;Ljava/lang/reflect/Method;)Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
astore 5
start local 5 11: aload 2
ldc Lorg/jdbi/v3/sqlobject/statement/internal/SqlObjectStatementConfiguration;
invokevirtual org.jdbi.v3.core.statement.SqlStatement.getConfig:(Ljava/lang/Class;)Lorg/jdbi/v3/core/config/JdbiConfig;
checkcast org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration
12: aload 5
aload 2
aload 4
invokedynamic get(Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;Lorg/jdbi/v3/core/statement/SqlStatement;Lorg/jdbi/v3/core/qualifier/QualifiedType;)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/MapToFactory.lambda$1(Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;Lorg/jdbi/v3/core/statement/SqlStatement;Lorg/jdbi/v3/core/qualifier/QualifiedType;)Ljava/lang/Object; (6)
()Ljava/lang/Object;
13: invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlObjectStatementConfiguration.setReturner:(Ljava/util/function/Supplier;)V
end local 5 end local 4 14: return
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 15 2 stmt Lorg/jdbi/v3/core/statement/SqlStatement<*>;
0 15 3 arg Ljava/lang/Object;
2 3 4 mapTo Lorg/jdbi/v3/core/qualifier/QualifiedType<*>;
5 6 4 mapTo Lorg/jdbi/v3/core/qualifier/QualifiedType<*>;
8 9 4 mapTo Lorg/jdbi/v3/core/qualifier/QualifiedType<*>;
10 14 4 mapTo Lorg/jdbi/v3/core/qualifier/QualifiedType<*>;
11 14 5 returner Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;
Exceptions:
throws java.sql.SQLException
private static java.lang.Object lambda$1(org.jdbi.v3.sqlobject.statement.internal.ResultReturner, org.jdbi.v3.core.statement.SqlStatement, org.jdbi.v3.core.qualifier.QualifiedType);
descriptor: (Lorg/jdbi/v3/sqlobject/statement/internal/ResultReturner;Lorg/jdbi/v3/core/statement/SqlStatement;Lorg/jdbi/v3/core/qualifier/QualifiedType;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.jdbi.v3.core.result.ResultBearing
aload 2
invokeinterface org.jdbi.v3.core.result.ResultBearing.mapTo:(Lorg/jdbi/v3/core/qualifier/QualifiedType;)Lorg/jdbi/v3/core/result/ResultIterable;
aload 1
invokevirtual org.jdbi.v3.core.statement.SqlStatement.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
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "MapToFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles