private static boolean hasNoArgConstructor(PsiClass checkedClass) {
    final PsiMethod[] constructors = checkedClass.getConstructors();
    if (constructors.length == 0) return true; // default constructor
    for (PsiMethod constructor : constructors) {
      if (constructor.getParameterList().isEmpty()) {
        return true;
      }
    }
    return false;
  }
private static boolean hasNoArgConstructor(PsiClass checkedClass)