private Optional<ExtensionHandler> findExtensionHandlerFor(Class<?> extensionType, Method method) {
            for (ExtensionHandlerFactory extensionHandlerFactory : extensionHandlerFactories) {
                if (extensionHandlerFactory.accepts(extensionType, method)) {
                    Optional<ExtensionHandler> result = extensionHandlerFactory.createExtensionHandler(extensionType, method);
                    if (result.isPresent()) {
                        return result;
                    }
                }
            }
            return Optional.empty();
        }
Creates a new {@link ExtensionMetadata} object.

@return A {@link ExtensionMetadata} object
core/src/main/java/org/jdbi/v3/core/extension/ExtensionMetadata.java