This may be a simple question: how can I massage refactoring Java code to make most of the method arguments "final"? This must follow one of our checkstyle rules. We have thousands of Java files, so manually editing all of them seems like an unacceptable solution for us.
In IntelliJ, I did not find such a refactoring option. Does anyone know any tool that can help? Or any smart approach to achieve this?
java intellij-idea refactoring checkstyle
John Zhang
source share