public class org.jdbi.v3.sqlobject.customizer.internal.MaxRowsFactory 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.MaxRowsFactory
super_class: java.lang.Object
{
public static final int DEFAULT_MAX_ROWS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
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/MaxRowsFactory;
public org.jdbi.v3.sqlobject.customizer.SqlStatementCustomizer createForMethod(java.lang.annotation.Annotation, java.lang.Class<?>, java.lang.reflect.Method);
descriptor: (Ljava/lang/annotation/Annotation;Ljava/lang/Class;Ljava/lang/reflect/Method;)Lorg/jdbi/v3/sqlobject/customizer/SqlStatementCustomizer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
checkcast org.jdbi.v3.sqlobject.customizer.MaxRows
invokeinterface org.jdbi.v3.sqlobject.customizer.MaxRows.value:()I
istore 4
start local 4 1: iload 4
iconst_m1
if_icmpne 8
2: new java.lang.IllegalArgumentException
dup
3: ldc "no value given for @%s on %s:%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
4: ldc Lorg/jdbi/v3/sqlobject/customizer/MaxRows;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
5: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
6: aload 3
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aastore
7: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: int
StackMap stack:
iload 4
ifgt 16
9: new java.lang.IllegalArgumentException
dup
10: ldc "@%s value given on %s:%s is %s, which is negative or 0. This makes no sense."
iconst_4
anewarray java.lang.Object
dup
iconst_0
11: ldc Lorg/jdbi/v3/sqlobject/customizer/MaxRows;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
12: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
13: aload 3
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aastore
dup
iconst_3
14: iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
15: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iload 4
invokedynamic apply(I)Lorg/jdbi/v3/sqlobject/customizer/SqlStatementCustomizer;
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;)V
org/jdbi/v3/sqlobject/customizer/internal/MaxRowsFactory.lambda$0(ILorg/jdbi/v3/core/statement/SqlStatement;)V (6)
(Lorg/jdbi/v3/core/statement/SqlStatement;)V
areturn
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/customizer/internal/MaxRowsFactory;
0 17 1 annotation Ljava/lang/annotation/Annotation;
0 17 2 sqlObjectType Ljava/lang/Class<*>;
0 17 3 method Ljava/lang/reflect/Method;
1 17 4 maxRows I
Signature: (Ljava/lang/annotation/Annotation;Ljava/lang/Class<*>;Ljava/lang/reflect/Method;)Lorg/jdbi/v3/sqlobject/customizer/SqlStatementCustomizer;
MethodParameters:
Name Flags
annotation
sqlObjectType
method
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=7, locals=8, 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.MaxRows
invokeinterface org.jdbi.v3.sqlobject.customizer.MaxRows.value:()I
istore 7
start local 7 1: iload 7
iconst_m1
if_icmpeq 9
2: new java.lang.IllegalArgumentException
dup
3: ldc "You've specified a value for @%s on %s:%s(%s) \u2014 this value won't do anything, the parameter value will be used instead. Remove the value to prevent confusion."
iconst_4
anewarray java.lang.Object
dup
iconst_0
4: ldc Lorg/jdbi/v3/sqlobject/customizer/MaxRows;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
5: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
6: aload 3
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aastore
dup
iconst_3
7: aload 4
invokevirtual java.lang.reflect.Parameter.getName:()Ljava/lang/String;
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: int
StackMap stack:
aload 2
aload 3
aload 4
invokedynamic apply(Ljava/lang/Class;Ljava/lang/reflect/Method;Ljava/lang/reflect/Parameter;)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/MaxRowsFactory.lambda$1(Ljava/lang/Class;Ljava/lang/reflect/Method;Ljava/lang/reflect/Parameter;Lorg/jdbi/v3/core/statement/SqlStatement;Ljava/lang/Object;)V (6)
(Lorg/jdbi/v3/core/statement/SqlStatement;Ljava/lang/Object;)V
areturn
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 10 0 this Lorg/jdbi/v3/sqlobject/customizer/internal/MaxRowsFactory;
0 10 1 annotation Ljava/lang/annotation/Annotation;
0 10 2 sqlObjectType Ljava/lang/Class<*>;
0 10 3 method Ljava/lang/reflect/Method;
0 10 4 param Ljava/lang/reflect/Parameter;
0 10 5 index I
0 10 6 type Ljava/lang/reflect/Type;
1 10 7 value I
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(int, org.jdbi.v3.core.statement.SqlStatement);
descriptor: (ILorg/jdbi/v3/core/statement/SqlStatement;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
checkcast org.jdbi.v3.core.statement.Query
iload 0
invokevirtual org.jdbi.v3.core.statement.Query.setMaxRows:(I)Lorg/jdbi/v3/core/statement/Query;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 stmt Lorg/jdbi/v3/core/statement/SqlStatement<*>;
Exceptions:
throws java.sql.SQLException
private static void lambda$1(java.lang.Class, java.lang.reflect.Method, java.lang.reflect.Parameter, org.jdbi.v3.core.statement.SqlStatement, java.lang.Object);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;Ljava/lang/reflect/Parameter;Lorg/jdbi/v3/core/statement/SqlStatement;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=6, args_size=5
start local 3 start local 4 0: aload 4
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 1: iload 5
ifgt 10
2: new java.lang.IllegalArgumentException
dup
3: ldc "@%s value given on %s:%s(%s) is %s, which is negative or 0. This makes no sense."
iconst_5
anewarray java.lang.Object
dup
iconst_0
4: ldc Lorg/jdbi/v3/sqlobject/customizer/MaxRows;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
5: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
6: aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aastore
dup
iconst_3
7: aload 2
invokevirtual java.lang.reflect.Parameter.getName:()Ljava/lang/String;
aastore
dup
iconst_4
8: iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: int
StackMap stack:
aload 3
checkcast org.jdbi.v3.core.statement.Query
iload 5
invokevirtual org.jdbi.v3.core.statement.Query.setMaxRows:(I)Lorg/jdbi/v3/core/statement/Query;
pop
end local 5 11: return
end local 4 end local 3 LocalVariableTable:
Start End Slot Name Signature
0 12 3 stmt Lorg/jdbi/v3/core/statement/SqlStatement<*>;
0 12 4 arg Ljava/lang/Object;
1 11 5 maxRows I
Exceptions:
throws java.sql.SQLException
}
SourceFile: "MaxRowsFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles