String (@NotNull PsiElement element) { PsiFile file = element.getContainingFile(); boolean isFinal = JavaCodeStyleSettings.getInstance(file).GENERATE_FINAL_LOCALS; return (isFinal ? "final " : "") + "$" + TYPE_VAR + "$ $" + VAR_NAME + "$ = ($" + TYPE_VAR + "$)$expr$;$END$"; }