class org.jdbi.v3.sqlobject.DefaultMethodHandler implements org.jdbi.v3.sqlobject.Handler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jdbi.v3.sqlobject.DefaultMethodHandler
super_class: java.lang.Object
{
private static final int ANY_ACCESS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 15
private static final java.lang.reflect.Method PRIVATE_LOOKUP_IN;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<java.lang.Class<?>, java.lang.invoke.MethodHandles$Lookup> PRIVATE_LOOKUPS;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/invoke/MethodHandles$Lookup;>;
private final java.lang.invoke.MethodHandle methodHandle;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic org.jdbi.v3.sqlobject.DefaultMethodHandler.privateLookupIn:()Ljava/lang/reflect/Method;
putstatic org.jdbi.v3.sqlobject.DefaultMethodHandler.PRIVATE_LOOKUP_IN:Ljava/lang/reflect/Method;
1: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
invokestatic java.util.Collections.synchronizedMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic org.jdbi.v3.sqlobject.DefaultMethodHandler.PRIVATE_LOOKUPS:Ljava/util/Map;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
astore 2
start local 2 2: aload 0
aload 2
invokestatic org.jdbi.v3.sqlobject.DefaultMethodHandler.lookupFor:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandles$Lookup;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Ljava/lang/invoke/MethodHandles$Lookup;)Lorg/jdbi/v3/core/internal/exceptions/CheckedBiFunction;
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;)Ljava/lang/Object;
java/lang/invoke/MethodHandles$Lookup.unreflectSpecial(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle; (5)
(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
invokestatic org.jdbi.v3.core.internal.exceptions.Unchecked.biFunction:(Lorg/jdbi/v3/core/internal/exceptions/CheckedBiFunction;)Ljava/util/function/BiFunction;
aload 1
aload 2
invokeinterface java.util.function.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.invoke.MethodHandle
putfield org.jdbi.v3.sqlobject.DefaultMethodHandler.methodHandle:Ljava/lang/invoke/MethodHandle;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jdbi/v3/sqlobject/DefaultMethodHandler;
0 4 1 method Ljava/lang/reflect/Method;
2 4 2 declaringClass Ljava/lang/Class<*>;
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=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jdbi.v3.sqlobject.DefaultMethodHandler.methodHandle:Ljava/lang/invoke/MethodHandle;
aload 1
invokevirtual java.lang.invoke.MethodHandle.bindTo:(Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 4
aload 4
invokedynamic apply(Ljava/lang/invoke/MethodHandle;)Lorg/jdbi/v3/core/internal/exceptions/CheckedFunction;
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;
org/jdbi/v3/sqlobject/DefaultMethodHandler.lambda$3(Ljava/lang/invoke/MethodHandle;[Ljava/lang/Object;)Ljava/lang/Object; (6)
([Ljava/lang/Object;)Ljava/lang/Object;
invokestatic org.jdbi.v3.core.internal.exceptions.Unchecked.function:(Lorg/jdbi/v3/core/internal/exceptions/CheckedFunction;)Ljava/util/function/Function;
aload 2
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
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/DefaultMethodHandler;
0 1 1 target Ljava/lang/Object;
0 1 2 args [Ljava/lang/Object;
0 1 3 handle Lorg/jdbi/v3/core/extension/HandleSupplier;
MethodParameters:
Name Flags
target
args
handle
private static java.lang.reflect.Method privateLookupIn();
descriptor: ()Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc Ljava/lang/invoke/MethodHandles;
ldc "privateLookupIn"
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Class;
aastore
dup
iconst_1
ldc Ljava/lang/invoke/MethodHandles$Lookup;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
3: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodException
static java.lang.invoke.MethodHandles$Lookup lookupFor(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: getstatic org.jdbi.v3.sqlobject.DefaultMethodHandler.PRIVATE_LOOKUP_IN:Ljava/lang/reflect/Method;
ifnull 8
1: getstatic org.jdbi.v3.sqlobject.DefaultMethodHandler.PRIVATE_LOOKUP_IN:Ljava/lang/reflect/Method;
aconst_null
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.invoke.MethodHandles$Lookup
2: areturn
3: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 1
start local 1 4: ldc "Error invoking MethodHandles.privateLookupIn(%s.class, MethodHandles.lookup()) in JDK 9+ runtime"
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: aload 0
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 7: new java.lang.RuntimeException
dup
aload 2
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 8: StackMap locals:
StackMap stack:
getstatic org.jdbi.v3.sqlobject.DefaultMethodHandler.PRIVATE_LOOKUPS:Ljava/util/Map;
aload 0
invokedynamic apply()Lorg/jdbi/v3/core/internal/exceptions/CheckedFunction;
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;
org/jdbi/v3/sqlobject/DefaultMethodHandler.getConstructorLookup(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandles$Lookup; (6)
(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandles$Lookup;
invokestatic org.jdbi.v3.core.internal.exceptions.Unchecked.function:(Lorg/jdbi/v3/core/internal/exceptions/CheckedFunction;)Ljava/util/function/Function;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.lang.invoke.MethodHandles$Lookup
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 clazz Ljava/lang/Class<*>;
4 8 1 e Ljava/lang/ReflectiveOperationException;
7 8 2 message Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.IllegalAccessException
1 2 3 Class java.lang.reflect.InvocationTargetException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandles$Lookup;
MethodParameters:
Name Flags
clazz
private static java.lang.invoke.MethodHandles$Lookup getConstructorLookup(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: ldc Ljava/lang/invoke/MethodHandles$Lookup;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Class;
aastore
dup
iconst_1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.reflect.Constructor.isAccessible:()Z
ifne 3
2: aload 1
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
3: StackMap locals: java.lang.reflect.Constructor
StackMap stack:
aload 1
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
bipush 15
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.invoke.MethodHandles$Lookup
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 type Ljava/lang/Class<*>;
1 4 1 constructor Ljava/lang/reflect/Constructor<Ljava/lang/invoke/MethodHandles$Lookup;>;
Exceptions:
throws java.lang.ReflectiveOperationException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandles$Lookup;
MethodParameters:
Name Flags
type
private static java.lang.Object lambda$3(java.lang.invoke.MethodHandle, java.lang.Object[]);
descriptor: (Ljava/lang/invoke/MethodHandle;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual java.lang.invoke.MethodHandle.invokeWithArguments:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 arg0 [Ljava/lang/Object;
Exceptions:
throws java.lang.Throwable
}
SourceFile: "DefaultMethodHandler.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles