void (@NotNull final PyExpression rightExpression) { final int arguments = inspectArguments(rightExpression, rightExpression); if (myUsedMappingKeys.isEmpty() && arguments >= 0) { if (myExpectedArguments < arguments) { registerProblem(rightExpression, PyPsiBundle.message("INSP.too.many.args.for.fmt.string")); } else if (myExpectedArguments > arguments) { registerProblem(rightExpression, PyPsiBundle.message("INSP.too.few.args.for.fmt.string")); } } }