Possible Duplicate:
Static Analysis tool recommendation for Java?
I have to find a java code analysis or inspection tool which can customized with user defined rule. Actually, I have to make some static code in my workspace to non-static. a tool where i can write some rules like if such a code is encountered in entire workspace then do something.
Can anyone suggest something.