void (@NotNull PsiPolyadicExpression expression) { if (expression.getOperationTokenType() != JavaTokenType.PLUS) return; if (!ExpressionUtils.hasStringType(expression)) return; final ProblemHighlightType type = getProblemHighlightType(expression); if (type == null || (type == ProblemHighlightType.INFORMATION && !isOnTheFly)) return; holder.registerProblem(expression, JavaBundle.message("inspection.string.template.migration.string.message"), type, new ReplaceWithStringTemplateFix()); }