void (@NotNull Project project, @NotNull PsiElement classNameIdentifier, @NotNull ModPsiUpdater updater) { final PsiClass aClass = (PsiClass)classNameIdentifier.getParent(); if (aClass == null) { return; } final PsiMethod constructor = getNoArgConstructor(aClass.getConstructors()); if (constructor == null) { return; } constructor.getModifierList().setModifierProperty(PsiModifier.PUBLIC, true); }