static List<Class<?>> findAnnotations(Method method) {
        return Stream.of(method.getAnnotations())
                .filter(UseAnnotationExtensionHandlerFactory::matchAnnotation)
                .map(Annotation::annotationType)
                .collect(Collectors.toList());
    }
Processes {@link UseExtensionHandler} annotations on methods.
core/src/main/java/org/jdbi/v3/core/extension/UseAnnotationExtensionHandlerFactory.java