class org.jdbi.v3.core.OnDemandExtensions
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jdbi.v3.core.OnDemandExtensions
super_class: java.lang.Object
{
private static final java.lang.reflect.Method EQUALS_METHOD;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method HASHCODE_METHOD;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method TOSTRING_METHOD;
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=1, args_size=0
0: ldc Ljava/lang/Object;
ldc "equals"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putstatic org.jdbi.v3.core.OnDemandExtensions.EQUALS_METHOD:Ljava/lang/reflect/Method;
1: ldc Ljava/lang/Object;
ldc "hashCode"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putstatic org.jdbi.v3.core.OnDemandExtensions.HASHCODE_METHOD:Ljava/lang/reflect/Method;
2: ldc Ljava/lang/Object;
ldc "toString"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putstatic org.jdbi.v3.core.OnDemandExtensions.TOSTRING_METHOD:Ljava/lang/reflect/Method;
3: goto 6
StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
4: astore 0
start local 0 5: new java.lang.IllegalStateException
dup
ldc "JVM error"
aload 0
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 0 6: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
5 6 0 wat Ljava/lang/NoSuchMethodException;
Exception table:
from to target type
0 3 4 Class java.lang.NoSuchMethodException
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new org.jdbi.v3.core.internal.UtilityClassException
dup
invokespecial org.jdbi.v3.core.internal.UtilityClassException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jdbi/v3/core/OnDemandExtensions;
static <E> E create(org.jdbi.v3.core.Jdbi, java.lang.Class<E>);
descriptor: (Lorg/jdbi/v3/core/Jdbi;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokedynamic invoke(Ljava/lang/Class;Lorg/jdbi/v3/core/Jdbi;)Ljava/lang/reflect/InvocationHandler;
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/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
org/jdbi/v3/core/OnDemandExtensions.lambda$0(Ljava/lang/Class;Lorg/jdbi/v3/core/Jdbi;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; (6)
(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 1
2: aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
3: iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 1
aastore
aload 2
4: invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
5: invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 db Lorg/jdbi/v3/core/Jdbi;
0 6 1 extensionType Ljava/lang/Class<TE;>;
1 6 2 handler Ljava/lang/reflect/InvocationHandler;
Signature: <E:Ljava/lang/Object;>(Lorg/jdbi/v3/core/Jdbi;Ljava/lang/Class<TE;>;)TE;
MethodParameters:
Name Flags
db
extensionType
private static java.lang.Object invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic java.lang.reflect.Proxy.isProxyClass:(Ljava/lang/Class;)Z
ifeq 3
1: aload 0
invokestatic java.lang.reflect.Proxy.getInvocationHandler:(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
astore 3
start local 3 2: aload 3
aload 0
aload 1
invokedynamic apply(Ljava/lang/reflect/InvocationHandler;Ljava/lang/Object;Ljava/lang/reflect/Method;)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/core/OnDemandExtensions.lambda$2(Ljava/lang/reflect/InvocationHandler;Ljava/lang/Object;Ljava/lang/reflect/Method;[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 3: StackMap locals:
StackMap stack:
invokestatic java.lang.invoke.MethodHandles.lookup:()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/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;
java/lang/invoke/MethodHandles$Lookup.unreflect(Ljava/lang/reflect/Method;)Ljava/lang/invoke/MethodHandle; (5)
(Ljava/lang/reflect/Method;)Ljava/lang/invoke/MethodHandle;
invokestatic org.jdbi.v3.core.internal.exceptions.Unchecked.function:(Lorg/jdbi/v3/core/internal/exceptions/CheckedFunction;)Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.invoke.MethodHandle
aload 0
invokevirtual java.lang.invoke.MethodHandle.bindTo:(Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 3
start local 3 4: aload 3
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/core/OnDemandExtensions.lambda$5(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 5 0 target Ljava/lang/Object;
0 5 1 method Ljava/lang/reflect/Method;
0 5 2 args [Ljava/lang/Object;
2 3 3 handler Ljava/lang/reflect/InvocationHandler;
4 5 3 handle Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
target
method
args
private static java.lang.Object lambda$0(java.lang.Class, org.jdbi.v3.core.Jdbi, java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/Class;Lorg/jdbi/v3/core/Jdbi;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=5, args_size=5
start local 2 start local 3 start local 4 0: getstatic org.jdbi.v3.core.OnDemandExtensions.EQUALS_METHOD:Ljava/lang/reflect/Method;
aload 3
invokevirtual java.lang.reflect.Method.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 2
aload 4
iconst_0
aaload
if_acmpne 2
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
StackMap locals:
StackMap stack:
2: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
3: StackMap locals:
StackMap stack:
getstatic org.jdbi.v3.core.OnDemandExtensions.HASHCODE_METHOD:Ljava/lang/reflect/Method;
aload 3
invokevirtual java.lang.reflect.Method.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 2
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
5: StackMap locals:
StackMap stack:
getstatic org.jdbi.v3.core.OnDemandExtensions.TOSTRING_METHOD:Ljava/lang/reflect/Method;
aload 3
invokevirtual java.lang.reflect.Method.equals:(Ljava/lang/Object;)Z
ifeq 7
6: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "@"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 3
aload 4
invokedynamic withExtension(Ljava/lang/reflect/Method;[Ljava/lang/Object;)Lorg/jdbi/v3/core/extension/ExtensionCallback;
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/core/OnDemandExtensions.lambda$1(Ljava/lang/reflect/Method;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (6)
(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.jdbi.v3.core.Jdbi.withExtension:(Ljava/lang/Class;Lorg/jdbi/v3/core/extension/ExtensionCallback;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 8 2 proxy Ljava/lang/Object;
0 8 3 method Ljava/lang/reflect/Method;
0 8 4 args [Ljava/lang/Object;
Exceptions:
throws java.lang.Throwable
private static java.lang.Object lambda$2(java.lang.reflect.InvocationHandler, java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/reflect/InvocationHandler;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 3 0: aload 0
aload 1
aload 2
aload 3
invokeinterface java.lang.reflect.InvocationHandler.invoke:(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 1 3 params [Ljava/lang/Object;
Exceptions:
throws java.lang.Throwable
private static java.lang.Object lambda$5(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
private static java.lang.Object lambda$1(java.lang.reflect.Method, java.lang.Object[], java.lang.Object);
descriptor: (Ljava/lang/reflect/Method;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
aload 0
aload 1
invokestatic org.jdbi.v3.core.OnDemandExtensions.invoke:(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 extension TE;
Exceptions:
throws java.lang.RuntimeException
}
SourceFile: "OnDemandExtensions.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles