private static boolean classHasNoArgConstructor(PsiClass aClass, boolean ignoreNoConstructor) {
      final PsiMethod[] constructors = aClass.getConstructors();
      if (ignoreNoConstructor && constructors.length == 0) {
        return true;
      }
      return ContainerUtil.exists(constructors, c -> c.getParameterList().isEmpty());
    }
private static boolean classHasNoArgConstructor(PsiClass aClass, boolean ignoreNoConstructor)