public static boolean isAbleToInstantiate(@NotNull PsiClass psiClass) {
    return isAbleToInstantiate(psiClass, message -> {
    });
  }
public static boolean isAbleToInstantiate(@NotNull PsiClass psiClass)