The following StringTemplate gives me an "invalid character '}'" exception because of the closing curly brace after return null;
:
$StatementList:{statement |
public T $statement$(X x) { return null; } }$
I want to have an output like:
public T statement1(X x) {return null; }
public T statement2(X x) {return null; }
How can I escape this closing curly brace?