void (@NotNull Document document, @NotNull CharSequence before) { LOG.assertTrue(getInfoCollector() != null); int number = VcsFacade.getInstance().calculateChangedLinesNumber(document, before); if (number > 0) { String message = CodeInsightBundle.message("hint.text.formatted.line", number); getInfoCollector().setReformatCodeNotification(message); } }