Re: tool to check that System.out.println() is only called from Log.java




"Meetlint" <meetlint@xxxxxxxxx> schrieb im Newsbeitrag news:428e629c$0$149$3a628fcd@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

What is the best tool if I want to check that a method like System.out.println() is only called from a certain class?

I would like to enforce certain programming conventions by adding these checks to the nightly Ant build process.

What about grep? AFAIR ant can search through files also.

   robert

.