Sorry for the subject line - just could not figure out how to say it in 1 liner :(
What I am looking for is a way for identifying certain patterns e.g. hard-coded IP addresses (in java/jsp/xml) and flagging those as error marks. Also using these during cvs commit code smell check. Not sure if there is something that I can already use.
We are putting these pre-commit checks on cvs for people using non-idea tools but at least for the ones using idea - wondering if they can notice these "violations" earlier.