public class org.jdbi.v3.sqlobject.customizer.internal.TimestampedFactory 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.TimestampedFactory
super_class: java.lang.Object
{
private static java.util.function.Function<java.time.ZoneId, java.time.Clock> timeSource;
descriptor: Ljava/util/function/Function;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/function/Function<Ljava/time/ZoneId;Ljava/time/Clock;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: 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;
java/time/Clock.system(Ljava/time/ZoneId;)Ljava/time/Clock; (6)
(Ljava/time/ZoneId;)Ljava/time/Clock;
putstatic org.jdbi.v3.sqlobject.customizer.internal.TimestampedFactory.timeSource:Ljava/util/function/Function;
return
LocalVariableTable:
Start End Slot Name Signature
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/TimestampedFactory;
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=1, 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.Timestamped
invokeinterface org.jdbi.v3.sqlobject.customizer.Timestamped.value:()Ljava/lang/String;
astore 4
start local 4 1: aload 4
invokedynamic apply(Ljava/lang/String;)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/TimestampedFactory.lambda$1(Ljava/lang/String;Lorg/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 2 0 this Lorg/jdbi/v3/sqlobject/customizer/internal/TimestampedFactory;
0 2 1 annotation Ljava/lang/annotation/Annotation;
0 2 2 sqlObjectType Ljava/lang/Class<*>;
0 2 3 method Ljava/lang/reflect/Method;
1 2 4 parameterName Ljava/lang/String;
Signature: (Ljava/lang/annotation/Annotation;Ljava/lang/Class<*>;Ljava/lang/reflect/Method;)Lorg/jdbi/v3/sqlobject/customizer/SqlStatementCustomizer;
MethodParameters:
Name Flags
annotation
sqlObjectType
method
static void setTimeSource(java.util.function.Function<java.time.ZoneId, java.time.Clock>);
descriptor: (Ljava/util/function/Function;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic org.jdbi.v3.sqlobject.customizer.internal.TimestampedFactory.timeSource:Ljava/util/function/Function;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 timeSource Ljava/util/function/Function<Ljava/time/ZoneId;Ljava/time/Clock;>;
Signature: (Ljava/util/function/Function<Ljava/time/ZoneId;Ljava/time/Clock;>;)V
RuntimeInvisibleAnnotations:
org.jdbi.v3.meta.Beta()
MethodParameters:
Name Flags
timeSource
private static void lambda$1(java.lang.String, org.jdbi.v3.core.statement.SqlStatement);
descriptor: (Ljava/lang/String;Lorg/jdbi/v3/core/statement/SqlStatement;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=2
start local 1 0: aload 1
ldc Lorg/jdbi/v3/sqlobject/customizer/TimestampedConfig;
invokevirtual org.jdbi.v3.core.statement.SqlStatement.getConfig:(Ljava/lang/Class;)Lorg/jdbi/v3/core/config/JdbiConfig;
checkcast org.jdbi.v3.sqlobject.customizer.TimestampedConfig
invokevirtual org.jdbi.v3.sqlobject.customizer.TimestampedConfig.getTimezone:()Ljava/time/ZoneId;
astore 2
start local 2 1: aload 1
aload 0
getstatic org.jdbi.v3.sqlobject.customizer.internal.TimestampedFactory.timeSource:Ljava/util/function/Function;
aload 2
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.time.Clock
invokestatic java.time.OffsetDateTime.now:(Ljava/time/Clock;)Ljava/time/OffsetDateTime;
invokevirtual org.jdbi.v3.core.statement.SqlStatement.bind:(Ljava/lang/String;Ljava/lang/Object;)Lorg/jdbi/v3/core/statement/SqlStatement;
pop
end local 2 2: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 stmt Lorg/jdbi/v3/core/statement/SqlStatement<*>;
1 2 2 zone Ljava/time/ZoneId;
Exceptions:
throws java.sql.SQLException
}
SourceFile: "TimestampedFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles