@NotNull
  public static PsiClassType getClassType(@NotNull PsiClass psiClass) {
    return JavaPsiFacade.getElementFactory(psiClass.getProject()).createType(psiClass);
  }
@NotNull
  public static PsiClassType getClassType(@NotNull PsiClass psiClass)