@Override
  public PsiReference @NotNull [] createReferences(@NotNull final PsiElement psiElement,
                                                   final boolean soft,
                                                   boolean endingSlashNotAllowed,
                                                   final boolean relativePathsAllowed,
                                                   FileType[] suitableFileTypes,
                                                   PathReferenceProvider... additionalProviders) {
    List<PsiReference> references = new ArrayList<>();

    processProvider(psiElement, myGlobalPathsProvider, references, soft);
    if (!references.isEmpty()) return references.toArray(PsiReference.EMPTY_ARRAY);  // references like https://www.jetbrains.com/idea/

    StaticPathReferenceProvider staticProvider = new StaticPathReferenceProvider(suitableFileTypes);
    staticProvider.setEndingSlashNotAllowed(endingSlashNotAllowed);
    staticProvider.setRelativePathsAllowed(relativePathsAllowed);
    processProvider(psiElement, staticProvider, references, soft);

    for (PathReferenceProvider provider : getProviders()) {
      processProvider(psiElement, provider, references, soft);
    }
    for (PathReferenceProvider provider : additionalProviders) {
      processProvider(psiElement, provider, references, soft);
    }
    for (PathReferenceProvider provider : ANCHOR_REFERENCE_PROVIDER_EP.getExtensionList()) {
      processProvider(psiElement, provider, references, soft);
    }
    return doMerge(psiElement, references);
  }
@Override
  public PsiReference @NotNull [] createReferences(@NotNull final PsiElement psiElement,
                                                   final boolean soft,
                                                   boolean endingSlashNotAllowed,
                                                   final boolean relativePathsAllowed,
                                                   FileType[] suitableFileTypes,
                                                   PathReferenceProvider... additionalProviders)