PsiFragment (@NotNull String newText, @NotNull IElementType tokenType, @Nullable PsiElement context) { int index; if (tokenType == JavaTokenType.TEXT_BLOCK_TEMPLATE_BEGIN) { newText += "}\"\"\""; index = 0; }