Reputation: 974
Is there option in IntelliJ IDEA to show list of all java source files where variable or return value of method annotated with @Nullable is used in a code?
For example, if I want to improve and update all source files with such violations I would like to see list all files (otherwise I have to open each single source and visually inspect highlighted areas)
Upvotes: 0
Views: 99
Reputation: 21124
Yes, you should be able to find probable problems/bugs by running a single inspection, via
Analyze > Run inspection by name
You might then customize the inspection settings for the single execution.
Those are the inspections you're looking for, most probably.
Running the inspection "Constant conditions & exceptions returns
Btw, I'm an inspections maniac for these kind of things, glad to see others do so ;)
Upvotes: 1