private static boolean checkConcreteClass(@NotNull PsiType psiType) {
    if (psiType instanceof PsiClassType) {
      PsiClass psiClass = ((PsiClassType)psiType).resolve();
      return !(psiClass instanceof PsiTypeParameter);
    }
    return false;
  }
private static boolean checkConcreteClass(@NotNull PsiType psiType)