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