private static boolean isTheOnlyEmptyDefaultConstructor(PsiMethod constructor) {
    if (!constructor.getParameterList().isEmpty()) return false;
    PsiCodeBlock body = constructor.getBody();
    if (body != null && !body.isEmpty()) return false;
    PsiClass aClass = constructor.getContainingClass();
    if (aClass == null) return false;
    return aClass.getConstructors().length == 1;
  }
private static boolean isTheOnlyEmptyDefaultConstructor(PsiMethod constructor)