Thanks @demobox I think you are right, there is no need to checkNotNull in builder's deprecated method. Thanks