String (Object... infos) { final PsiClass aClass = (PsiClass)infos[0]; if (aClass instanceof PsiAnonymousClass) { return InspectionGadgetsBundle.message("anonymous.extends.thread.problem.descriptor"); } else { return InspectionGadgetsBundle.message("extends.thread.problem.descriptor"); } }