I have an outdated code base that I want to reorganize in order to reduce the visibility of methods to the minimum possible (closed, protected, by default), so that the code still works. Many of the methods in the code base are unjustifiably public, and I would like to change this to reduce the load on the interface and simplify the documentation as the code evolves in the future. Is there a tool that will analyze the code base and generate a list of suggested methods whose visibility can be reduced? I can specify all the entry points to the code (only the main methods), and the code base does not use reflection.
The Eclipse plugin will be even better.
source
share