@Nullable and @NotNull Annotations in IntelliJ
Every time I have to configure a new instance of IntelliJ I have to hunt for these settings to ensure that inspections catch possible NPEs to code annotated with @NotNull, so I'm writing the steps here,
The inspection is under Java -> Probable bugs -> Constant conditions & exceptions.
You will also probably need to add the javax validation annotations, which can be done by clicking Configure annotations.
The inspection is under Java -> Probable bugs -> Constant conditions & exceptions.
You will also probably need to add the javax validation annotations, which can be done by clicking Configure annotations.
Comments
Linux Cloud Hosting
Digital Marketing Course in Hyderabad