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