public static Optional<Hover> getRankFeatureHover(SpecificFunction function) {
        Optional<Hover> result = getFileHoverInformation("rankExpression", function.getSignatureString(), new Range());

        if (result.isPresent()) {
            return result;
        }

        return getFileHoverInformation("rankExpression", function.getSignatureString(true), new Range());
    }
Public interface to be used by {@link SchemaCompletion}
@param function
@return Hover with empty range
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/lsp/schema/hover/SchemaHover.java