String (Object... infos) { final PsiNamedElement element = (PsiNamedElement)infos[0]; final String containingClassName = element.getName(); final Boolean isAnonymous = (Boolean)infos[1]; if (isAnonymous.booleanValue()) { return InspectionGadgetsBundle.message( "class.references.subclass.problem.descriptor.anonymous", containingClassName); } return InspectionGadgetsBundle.message( "class.references.subclass.problem.descriptor", containingClassName); }