void (final PsiFile file, int caretOffset, final String textToInsert) { for (TemplatePreprocessor preprocessor : TemplatePreprocessor.EP_NAME.getExtensionList()) { preprocessor.preprocessTemplate(getEditor(), file, caretOffset, textToInsert, getTemplate().getTemplateText()); } }