public static boolean hasDefaultConstructor(@NotNull PsiClass clazz, boolean allowProtected) {
    return hasDefaultConstructor(clazz, allowProtected, false);
  }
public static boolean hasDefaultConstructor(@NotNull PsiClass clazz, boolean allowProtected)