public static UsageInfo @NotNull [] findUsages(@NotNull PsiElement element,
                                                 String newName,
                                                 boolean searchInStringsAndComments,
                                                 boolean searchForTextOccurrences,
                                                 Map<? extends PsiElement, String> allRenames) {
    return findUsages(element, newName, GlobalSearchScope.projectScope(element.getProject()),
                      searchInStringsAndComments, searchForTextOccurrences, allRenames);
  }
public static UsageInfo @NotNull [] findUsages(@NotNull PsiElement element,
                                                 String newName,
                                                 boolean searchInStringsAndComments,
                                                 boolean searchForTextOccurrences,
                                                 Map<? extends PsiElement, String> allRenames)