static getURLDisplayName(url, options) {
    return Util.getURLDisplayName(new URL(url), options);
  }
@param {string} url
@param {{numPathParts: number, preserveQuery: boolean, preserveHost: boolean}=} options
@return {string}