Possibly allow the use of null within an assert ?
If you wish to switch off a null check for a single line, then you can do:
// scalastyle:off null
// scalastyle:on null
Type of thing. Is this ok. I'd rather not have an exception of this type.
sure np, just an idea. Though will raise a diff issue with regards to comments