I was doing some tests with the @NotNull and @Nullable annotation code inspection of Intellij IDEA
I liked it, and to make it really useful I wanted to increase the severity to error and let it fail or display the errors on compile.
I searched a lot, but I could not find any way to do this.
Sure... the file display red lines when open, and a standalone code analysis will display this, but this hardly forces me to
deal with the issue when working in other files and I have forgotten that there still was a problem in another file or did not notice the inspection
error when I made some change.
I would like these code inspection errors to let the compilation fail, or at least display these errors at this moment.