@NotNull
  default SearchCostResult isCheapEnoughToSearch(@NotNull String name,
                                                 @NotNull GlobalSearchScope scope,
                                                 @Nullable PsiFile fileToIgnoreOccurrencesIn) {
    return isCheapEnoughToSearch(name, scope, fileToIgnoreOccurrencesIn, null);
  }
@NotNull
  default SearchCostResult isCheapEnoughToSearch(@NotNull String name,
                                                 @NotNull GlobalSearchScope scope,
                                                 @Nullable PsiFile fileToIgnoreOccurrencesIn)