void (final @NotNull String abbreviation, final @NotNull CustomTemplateCallback callback) { final ZenCodingGenerator defaultGenerator = findApplicableDefaultGenerator(callback, true); assert defaultGenerator != null; Editor editor = callback.getEditor(); CaretModel model = editor.getCaretModel(); model.runForEachCaret(caret -> { doWrapForCaret(abbreviation, callback, caret, defaultGenerator); }); }