String (Object... infos) { final PsiMethodCallExpression methodCallExpression = (PsiMethodCallExpression)infos[0]; final PsiExpression expression = (PsiExpression)infos[1]; final String methodName = methodCallExpression.getMethodExpression().getReferenceName(); if (isFileSeparator(expression)) { return InspectionGadgetsBundle.message("replace.all.file.separator.problem.descriptor"); } return InspectionGadgetsBundle.message("replace.all.dot.problem.descriptor", methodName); }