this is Java api, and then `null` is used