advertisement

Article:
  Custom PMD Rules
Subject:   Rule to search for a particular word in a java file.
Date:   2005-06-22 15:23:26
From:   tcopeland
Response to: Rule to search for a particular word in a java file.

Hi Aarts -


Hm, I'm not sure if PMD will be the best tool for you in this regard, since it discards comments.


However, perhaps the Unix utility "grep" would work for you... it can search files with regular expressions, report the surrounding context for each occurrence, and so forth.


Yours,


Tom


1 to 1 of 1
  1. Rule to search for a particular word in a java file.
    2005-07-05 06:00:05  Aarts [View]

    • Rule to search for a particular word in a java file.
      2006-03-21 23:13:41  PravinD [View]

    • Rule to search for a particular word in a java file.
      2005-07-05 06:07:22  tcopeland [View]

1 to 1 of 1