LocalQuickFix (Object... infos) { final PsiClass psiClass = (PsiClass)infos[0]; final boolean hasInheritors = (Boolean)infos[1]; if (psiClass.getConstructors().length > 1) { return new UtilityClassWithPublicConstructorFix(true, hasInheritors); } else { return new UtilityClassWithPublicConstructorFix(false, hasInheritors); } }