Inspection for IntelliJ IDEA to find variables which may safely be made final
Instruction:
- Go to Analyze -> Inspect Code
- Import 'finalized_variables_idea' in Inspection profile section
- Apply inspection
- There is 2 different Code Style issues:
- Field may be final
- Local variable or parameter can be final
- Right-click on each of them, and select "Apply fix" or anything similar option