boolean (@NotNull final PsiClass psiClass) { final PsiMethod[] constructors = psiClass.getConstructors(); for (PsiMethod method : constructors) { if (method.getParameterList().isEmpty()) return true; } return constructors.length == 0; }