void (@NotNull PsiExpression expression, int pos, char c) { if (c == '{' || c == '}' || c == '#') { holder.registerProblem(expression, ExpressionUtils.findStringLiteralRange(expression, pos, pos + 1), InspectionGadgetsBundle.message("inspection.incorrect.date.format.message.reserved.character", c)); } }