Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
@NotNull annotations should introduce a null check #344
Consider the attached code.
Also note that lombok.NonNull will add the null checks, but the lombok.NonNull annotation is not being removed.
I am using Java 6 and have witnessed this on Windows and Mac.
referenced this issue
Jul 14, 2015
This issue will only cover the support of @ NotNull.
Furthermore we should fix a small inconsistency in the documentation:
"@ Data" states that @ NonNull and @ NotNull will create null checks, while "@ Getter and @ Setter" only states @ NonNull.