class org.jdbi.v3.sqlobject.WithHandleMethodHandlerFactory implements org.jdbi.v3.sqlobject.HandlerFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jdbi.v3.sqlobject.WithHandleMethodHandlerFactory
super_class: java.lang.Object
{
private static final java.lang.reflect.Method WITH_HANDLE;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc Lorg/jdbi/v3/sqlobject/SqlObject;
ldc "withHandle"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jdbi/v3/core/HandleCallback;
aastore
invokestatic org.jdbi.v3.sqlobject.Handlers.methodLookup:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putstatic org.jdbi.v3.sqlobject.WithHandleMethodHandlerFactory.WITH_HANDLE:Ljava/lang/reflect/Method;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
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/WithHandleMethodHandlerFactory;
public java.util.Optional<org.jdbi.v3.sqlobject.Handler> buildHandler(java.lang.Class<?>, java.lang.reflect.Method);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jdbi.v3.sqlobject.WithHandleMethodHandlerFactory.WITH_HANDLE:Ljava/lang/reflect/Method;
aload 2
invokevirtual java.lang.reflect.Method.equals:(Ljava/lang/Object;)Z
ifne 2
1: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
2: StackMap locals:
StackMap stack:
new org.jdbi.v3.core.extension.ExtensionMethod
dup
aload 1
aload 2
invokespecial org.jdbi.v3.core.extension.ExtensionMethod.<init>:(Ljava/lang/Class;Ljava/lang/reflect/Method;)V
astore 3
start local 3 3: aload 3
invokedynamic invoke(Lorg/jdbi/v3/core/extension/ExtensionMethod;)Lorg/jdbi/v3/sqlobject/Handler;
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;Lorg/jdbi/v3/core/extension/HandleSupplier;)Ljava/lang/Object;
org/jdbi/v3/sqlobject/WithHandleMethodHandlerFactory.lambda$0(Lorg/jdbi/v3/core/extension/ExtensionMethod;Ljava/lang/Object;[Ljava/lang/Object;Lorg/jdbi/v3/core/extension/HandleSupplier;)Ljava/lang/Object; (6)
(Ljava/lang/Object;[Ljava/lang/Object;Lorg/jdbi/v3/core/extension/HandleSupplier;)Ljava/lang/Object;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jdbi/v3/sqlobject/WithHandleMethodHandlerFactory;
0 4 1 sqlObjectType Ljava/lang/Class<*>;
0 4 2 method Ljava/lang/reflect/Method;
3 4 3 extensionMethod Lorg/jdbi/v3/core/extension/ExtensionMethod;
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Method;)Ljava/util/Optional<Lorg/jdbi/v3/sqlobject/Handler;>;
MethodParameters:
Name Flags
sqlObjectType
method
private static java.lang.Object lambda$0(org.jdbi.v3.core.extension.ExtensionMethod, java.lang.Object, java.lang.Object[], org.jdbi.v3.core.extension.HandleSupplier);
descriptor: (Lorg/jdbi/v3/core/extension/ExtensionMethod;Ljava/lang/Object;[Ljava/lang/Object;Lorg/jdbi/v3/core/extension/HandleSupplier;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=4
start local 1 start local 2 start local 3 0: aload 3
1: aload 0
2: aload 3
invokeinterface org.jdbi.v3.core.extension.HandleSupplier.getConfig:()Lorg/jdbi/v3/core/config/ConfigRegistry;
3: aload 2
aload 3
invokedynamic call([Ljava/lang/Object;Lorg/jdbi/v3/core/extension/HandleSupplier;)Ljava/util/concurrent/Callable;
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/WithHandleMethodHandlerFactory.lambda$1([Ljava/lang/Object;Lorg/jdbi/v3/core/extension/HandleSupplier;)Ljava/lang/Object; (6)
()Ljava/lang/Object;
4: invokeinterface org.jdbi.v3.core.extension.HandleSupplier.invokeInContext:(Lorg/jdbi/v3/core/extension/ExtensionMethod;Lorg/jdbi/v3/core/config/ConfigRegistry;Ljava/util/concurrent/Callable;)Ljava/lang/Object;
5: areturn
end local 3 end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 6 1 t Ljava/lang/Object;
0 6 2 a [Ljava/lang/Object;
0 6 3 h Lorg/jdbi/v3/core/extension/HandleSupplier;
Exceptions:
throws java.lang.Exception
private static java.lang.Object lambda$1(java.lang.Object[], org.jdbi.v3.core.extension.HandleSupplier);
descriptor: ([Ljava/lang/Object;Lorg/jdbi/v3/core/extension/HandleSupplier;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iconst_0
aaload
checkcast org.jdbi.v3.core.HandleCallback
aload 1
invokeinterface org.jdbi.v3.core.extension.HandleSupplier.getHandle:()Lorg/jdbi/v3/core/Handle;
invokeinterface org.jdbi.v3.core.HandleCallback.withHandle:(Lorg/jdbi/v3/core/Handle;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
SourceFile: "WithHandleMethodHandlerFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles