public Template getTemplate() {
    PsiMethod element = Objects.requireNonNull(getPsiMember());
    TemplateBuilderImpl builder = new TemplateBuilderImpl(element);
    builder.replaceElement(getTemplateElement(element), myExpression);
    return builder.buildTemplate();
  }
public Template getTemplate()