public static @NotNull GlobalSearchScope getElementUseScope(@NotNull PsiElement element) {
    return getInstance(element.getProject()).getUseScope(element);
  }
public static @NotNull GlobalSearchScope getElementUseScope(@NotNull PsiElement element)