Find unused code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 6 years ago. Improve this question I have to refactor a large … Read more

How to find unused/dead code in java projects [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 2 years ago. Improve this question What tools do you use to find unused/dead code in large java projects? Our product has been in development … Read more

How to use IntelliJ IDEA to find all unused code?

When I am in a .java file the unused code is usually grayed out or has a green underline saying this code will probably (probably because of some weird JNI/Reflection corner cases) be unused. But I have this project with thousands of Java files and I want to find ALL INSTANCES of such probable-unused codes. … Read more

Is there a way to convert all comments into javadoc comments? [Eclipse/Java]

Javadocs are a specific comment format used to generate external documentation for your code. You shouldn’t be converting regular comments to Javadoc. For example: /** * Do foo with a. * @param a the a value * @return some different value * @see #bar */ public String foo(String a) { // blah blah blah } … Read more