String (Object... infos) { final Object errorElement = infos[0]; if (errorElement instanceof PsiMethodCallExpression) { return InspectionGadgetsBundle.message("use.of.clone.call.problem.descriptor"); } else if (errorElement instanceof PsiMethod) { return InspectionGadgetsBundle.message("use.of.clone.call.method.problem.descriptor"); } else { return InspectionGadgetsBundle.message("use.of.clone.reference.problem.descriptor"); } }