public boolean createUrlReference(@NotNull PsiElement psiElement,
                                    String url,
                                    TextRange rangeInElement, @NotNull List<? super PsiReference> references) {
    if (isWebReferenceUrl(url)) {
      references.add(new WebReference(psiElement, rangeInElement, url));
      return true;
    }
    else if (url.contains("://") || url.startsWith("//") || startsWithAllowedPrefix(url)) {
      references.add(PsiReferenceBase.createSelfReference(psiElement, rangeInElement, psiElement));
      return true;
    }
    return false;
  }
public boolean createUrlReference(@NotNull PsiElement psiElement,
                                    String url,
                                    TextRange rangeInElement, @NotNull List<? super PsiReference> references)