public static boolean hasPrivateEmptyOrNoConstructor(@NotNull PsiClass aClass) {
    final PsiMethod[] constructors = aClass.getConstructors();
    if (constructors.length == 0) {
      return true;
    }
    if (constructors.length != 1) {
      return false;
    }
    final PsiMethod constructor = constructors[0];
    return constructor.hasModifierProperty(PsiModifier.PRIVATE) && ControlFlowUtils.isEmptyCodeBlock(constructor.getBody());
  }
public static boolean hasPrivateEmptyOrNoConstructor(@NotNull PsiClass aClass)