public class org.jdbi.v3.sqlobject.internal.CreateSqlObjectHandler implements org.jdbi.v3.sqlobject.Handler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jdbi.v3.sqlobject.internal.CreateSqlObjectHandler
super_class: java.lang.Object
{
private final java.lang.reflect.Method method;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jdbi.v3.sqlobject.internal.CreateSqlObjectHandler.method:Ljava/lang/reflect/Method;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jdbi/v3/sqlobject/internal/CreateSqlObjectHandler;
0 3 1 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
method
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: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
instanceof org.jdbi.v3.core.internal.OnDemandHandleSupplier
ifeq 2
1: aload 3
ldc Lorg/jdbi/v3/core/internal/OnDemandExtensions;
invokeinterface org.jdbi.v3.core.extension.HandleSupplier.getConfig:(Ljava/lang/Class;)Lorg/jdbi/v3/core/config/JdbiConfig;
checkcast org.jdbi.v3.core.internal.OnDemandExtensions
aload 3
invokeinterface org.jdbi.v3.core.extension.HandleSupplier.getJdbi:()Lorg/jdbi/v3/core/Jdbi;
aload 0
getfield org.jdbi.v3.sqlobject.internal.CreateSqlObjectHandler.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jdbi/v3/sqlobject/SqlObject;
aastore
invokevirtual org.jdbi.v3.core.internal.OnDemandExtensions.create:(Lorg/jdbi/v3/core/Jdbi;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 3
ldc Lorg/jdbi/v3/core/extension/Extensions;
invokeinterface org.jdbi.v3.core.extension.HandleSupplier.getConfig:(Ljava/lang/Class;)Lorg/jdbi/v3/core/config/JdbiConfig;
checkcast org.jdbi.v3.core.extension.Extensions
3: ldc Lorg/jdbi/v3/sqlobject/SqlObjectFactory;
invokevirtual org.jdbi.v3.core.extension.Extensions.findFactory:(Ljava/lang/Class;)Ljava/util/Optional;
4: invokedynamic get()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/internal/CreateSqlObjectHandler.lambda$0()Ljava/lang/IllegalStateException; (6)
()Ljava/lang/IllegalStateException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast org.jdbi.v3.sqlobject.SqlObjectFactory
5: aload 0
getfield org.jdbi.v3.sqlobject.internal.CreateSqlObjectHandler.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
aload 3
invokevirtual org.jdbi.v3.sqlobject.SqlObjectFactory.attach:(Ljava/lang/Class;Lorg/jdbi/v3/core/extension/HandleSupplier;)Ljava/lang/Object;
6: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jdbi/v3/sqlobject/internal/CreateSqlObjectHandler;
0 7 1 target Ljava/lang/Object;
0 7 2 args [Ljava/lang/Object;
0 7 3 handle Lorg/jdbi/v3/core/extension/HandleSupplier;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
target
args
handle
private static java.lang.IllegalStateException lambda$0();
descriptor: ()Ljava/lang/IllegalStateException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.IllegalStateException
dup
ldc "Can't locate SqlObject factory"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "CreateSqlObjectHandler.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles