I'm looking for a Java tool which can automate reducing the visibility of classes and methods which don't need to be public. I want to reduce the amount of methods/classes that are public so that the only remaining public ones are the ones I want to expose as part of the public API. I have quite a lot of classes and methods so would like a tool to automate this.
I expected some better tools for doing this - is there anything in IntelliJ that can help?