walkmod-comments-cleaner-plugin
Example
Let’s see an example. Take a look to this code.
package example;
import java.util.*;
public class Foo{
public void goodBye(String s){
//System.out.println("bye +"s);
return "bye +"s;
}
}
What this plugins generates is the following modified code:
package example;
public class Foo{
public void goodBye(String s){
return "bye +"s;
}
}
Usage
Check that your walkmod version is at least 2.2.0. You can add walkmod-comments-cleaner-plugin via walkmod.
$walkmod add comments-cleaner
And then, to see the results
$ walkmod apply
Or, you can also check which would be the modified classes typing:
$ walkmod check
Contributing
If you want to hack on this, fork it, improve it and send me a pull request.
To get started using it, just clone it and call mvn install.