@Override
    public void invoke(@NotNull Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
        final XmlTag templateTag = findTemplateTag();
        assert templateTag != null;

        XmlTag paramTag = templateTag.createChildTag("param", XsltSupport.XSLT_NS, null, false);
        paramTag.setAttribute("name", getParamName());

        RefactoringUtil.addParameter(templateTag, paramTag);

        DaemonCodeAnalyzer.getInstance(project).restart();
    }
@Override
    public void invoke(@NotNull Project project, Editor editor, PsiFile file)