private static boolean isSafeToShortenReference(@NotNull PsiElement psiReference, @NotNull PsiClass refClass) {
    return isSafeToShortenReference(refClass.getName(), psiReference, refClass);
  }
private static boolean isSafeToShortenReference(@NotNull PsiElement psiReference, @NotNull PsiClass refClass)