Commit a780b13 removes the parentheses around the expression in synchronized statements. Probably, because there are two occurrences of "SynchronizedStmt" in Java4PrettyPrint.tt - the first one with parentheses and the second one without.
Thank you for this bug report! Indeed, the error was caused by the duplicate SynchronizedStmt in Java4PrettyPrint.
Fix pretty printing of synchronized statements
Fixed missing parenthesis around the expression in pretty printed synchronized
fixes #126 (bitbucket)
→ <<cset ad78bf5bd1ec>>