this should probably be

```js
writeAnnotations_(annotations, writeNewLine = this.prettyPrint) {
```