Does anyone know of a tool (besides Eclipse or any other IDE) that I can use to find unused imports in a Java source file?
I am looking for a command-line type of tool (to integrate in a larger script).
Thank you.
Does anyone know of a tool (besides Eclipse or any other IDE) that I can use to find unused imports in a Java source file?
I am looking for a command-line type of tool (to integrate in a larger script).
Thank you.
PMD has a rule about unused imports.
Other code quality tools, probably have similar rules