-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Labels
Description
I'm using java generator for webclient, and the generated clients do not contain @Nullable
/@Nonnull
annotations in the method parameters.
When using tools like NullAway, it causes some issues because you cannot easily use the clients when setting a nullable parameter, because the parameter is not annotated with @Nullable
.
I'd like to add the annotations to the method parameters, so that it's easier to enable tools like NullAway on code using the generated clients.
Some time ago, I've added the annotations to the POJO (#19600 and #19617), so I will soon submit a PR to also add the annotations to the clients.