@Nullable
  public static PsiClass getPsiClass(@Nullable PsiType psiType) {
    return psiType instanceof PsiClassType? ((PsiClassType)psiType).resolve() : null;
  }
@Nullable
  public static PsiClass getPsiClass(@Nullable PsiType psiType)