--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No, but just blanket declaration that they must all be @NonNull is weird. Why not introduce @Strings, which declares that all arguments are strings? Where does it end?
I can see @FinalArgs in the sense that some misguided souls believe that all params should be final, but I think that's a bad habit, so I'm loathe to support this bad habit by adding a lombok annotation that serves no purpose other than to prolong the bad habit.
--
You received this message because you are subscribed to a topic in the Google Groups "Project Lombok" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/project-lombok/nGNbyDn0Qps/unsubscribe.
To unsubscribe from this group and all its topics, send an email to project-lombo...@googlegroups.com.
There's @ParametersAreNonnullByDefault in JSR 305 and IMHO that's the right point to end at. In some codebases (e.g., Guava), most of the time no nulls are allowed. To make an exception, @Nullable gets used. No other property of the arguments holds nearly as often.