void (@NotNull PsiExpression expression, char[] array, int from, int to) { if (array[from] == 'p' && (to >= array.length || !isLetter(array[to]))) { holder.registerProblem(expression, ExpressionUtils.findStringLiteralRange(expression, from, to), InspectionGadgetsBundle.message("inspection.incorrect.date.format.message.padding", 'p')); } }