Hello!
We are big fans of Lombok and mostly use it for data and value objects at the moment.
Recently, we decided to leverage our IDE more by adding the javax.validation.Nonnull annotations to method parameters that are never supposed to be null. We also decided to enforce this at runtime by adding an explicit checkNotNull() (Guava) check to the method. We are aware of Lombok's @NonNull annotation - but it is not picked up by IntelliJ to provide warnings. That means that currently in order to get the IDE warnings and the runtime null checks, we'd need to annotate a parameter with @Nonnull and @NonNull.
So long story short, would it be possible for us to extend Lombok in a way that it generates runtime null checks for parameters annotated with @Nonnull?
Regards
Stephan