public class org.jdbi.v3.sqlobject.Handlers implements org.jdbi.v3.core.config.JdbiConfig<org.jdbi.v3.sqlobject.Handlers>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jdbi.v3.sqlobject.Handlers
super_class: java.lang.Object
{
private final java.util.List<org.jdbi.v3.sqlobject.HandlerFactory> factories;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/jdbi/v3/sqlobject/HandlerFactory;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield org.jdbi.v3.sqlobject.Handlers.factories:Ljava/util/List;
2: aload 0
new org.jdbi.v3.sqlobject.DefaultMethodHandlerFactory
dup
invokespecial org.jdbi.v3.sqlobject.DefaultMethodHandlerFactory.<init>:()V
invokevirtual org.jdbi.v3.sqlobject.Handlers.register:(Lorg/jdbi/v3/sqlobject/HandlerFactory;)Lorg/jdbi/v3/sqlobject/Handlers;
pop
3: aload 0
new org.jdbi.v3.sqlobject.SqlMethodHandlerFactory
dup
invokespecial org.jdbi.v3.sqlobject.SqlMethodHandlerFactory.<init>:()V
invokevirtual org.jdbi.v3.sqlobject.Handlers.register:(Lorg/jdbi/v3/sqlobject/HandlerFactory;)Lorg/jdbi/v3/sqlobject/Handlers;
pop
4: aload 0
new org.jdbi.v3.sqlobject.BridgeMethodHandlerFactory
dup
invokespecial org.jdbi.v3.sqlobject.BridgeMethodHandlerFactory.<init>:()V
invokevirtual org.jdbi.v3.sqlobject.Handlers.register:(Lorg/jdbi/v3/sqlobject/HandlerFactory;)Lorg/jdbi/v3/sqlobject/Handlers;
pop
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jdbi/v3/sqlobject/Handlers;
private void <init>(org.jdbi.v3.sqlobject.Handlers);
descriptor: (Lorg/jdbi/v3/sqlobject/Handlers;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield org.jdbi.v3.sqlobject.Handlers.factories:Ljava/util/List;
2: aload 0
getfield org.jdbi.v3.sqlobject.Handlers.factories:Ljava/util/List;
aload 1
getfield org.jdbi.v3.sqlobject.Handlers.factories:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jdbi/v3/sqlobject/Handlers;
0 4 1 that Lorg/jdbi/v3/sqlobject/Handlers;
MethodParameters:
Name Flags
that
public org.jdbi.v3.sqlobject.Handlers register(org.jdbi.v3.sqlobject.HandlerFactory);
descriptor: (Lorg/jdbi/v3/sqlobject/HandlerFactory;)Lorg/jdbi/v3/sqlobject/Handlers;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jdbi.v3.sqlobject.Handlers.factories:Ljava/util/List;
iconst_0
aload 1
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jdbi/v3/sqlobject/Handlers;
0 2 1 factory Lorg/jdbi/v3/sqlobject/HandlerFactory;
MethodParameters:
Name Flags
factory
public java.util.Optional<org.jdbi.v3.sqlobject.Handler> findFor(java.lang.Class<?>, java.lang.reflect.Method);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jdbi.v3.sqlobject.Handlers.factories:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
1: aload 1
aload 2
invokedynamic apply(Ljava/lang/Class;Ljava/lang/reflect/Method;)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;
org/jdbi/v3/sqlobject/Handlers.lambda$0(Ljava/lang/Class;Ljava/lang/reflect/Method;Lorg/jdbi/v3/sqlobject/HandlerFactory;)Ljava/util/stream/Stream; (6)
(Lorg/jdbi/v3/sqlobject/HandlerFactory;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jdbi/v3/sqlobject/Handlers;
0 4 1 sqlObjectType Ljava/lang/Class<*>;
0 4 2 method Ljava/lang/reflect/Method;
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Method;)Ljava/util/Optional<Lorg/jdbi/v3/sqlobject/Handler;>;
MethodParameters:
Name Flags
sqlObjectType
method
public org.jdbi.v3.sqlobject.Handlers createCopy();
descriptor: ()Lorg/jdbi/v3/sqlobject/Handlers;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.jdbi.v3.sqlobject.Handlers
dup
aload 0
invokespecial org.jdbi.v3.sqlobject.Handlers.<init>:(Lorg/jdbi/v3/sqlobject/Handlers;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jdbi/v3/sqlobject/Handlers;
public org.jdbi.v3.core.config.JdbiConfig createCopy();
descriptor: ()Lorg/jdbi/v3/core/config/JdbiConfig;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.jdbi.v3.sqlobject.Handlers.createCopy:()Lorg/jdbi/v3/sqlobject/Handlers;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.util.stream.Stream lambda$0(java.lang.Class, java.lang.reflect.Method, org.jdbi.v3.sqlobject.HandlerFactory);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;Lorg/jdbi/v3/sqlobject/HandlerFactory;)Ljava/util/stream/Stream;
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
invokeinterface org.jdbi.v3.sqlobject.HandlerFactory.buildHandler:(Ljava/lang/Class;Ljava/lang/reflect/Method;)Ljava/util/Optional;
invokestatic org.jdbi.v3.core.internal.JdbiOptionals.stream:(Ljava/util/Optional;)Ljava/util/stream/Stream;
areturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 factory Lorg/jdbi/v3/sqlobject/HandlerFactory;
}
Signature: Ljava/lang/Object;Lorg/jdbi/v3/core/config/JdbiConfig<Lorg/jdbi/v3/sqlobject/Handlers;>;
SourceFile: "Handlers.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles