`scala.NotNull` is deprecated

https://github.com/scala/scala/commit/3fe7b8c0a8c86b