#4724·grpc-java

Consider adding @Nullable / @Nonnull annotations to generated services

Author: robfletcherCreated Aug 1, 2018Updated Sep 3, 2026

Please answer these questions before submitting your issue.

What version of gRPC are you using?

1.13.2

What did you expect to see?

It would be very helpful for those of us implementing *ImplBase classes in Kotlin if the parameters of generated rpc methods were annotated with @javax.annotation.Nonnull as it gives tooling a hint that the signature of an override should use the non-nullable form of the parameter types.

Minor, but would make implementing services in Kotlin that bit more seamless.