I'm trying to write a rule to enforce that a package contains a Javadoc comment with a particular expression, e.g:
/**
* Example Expression
*/
Does anybody know how I would write such a rule using the AbstractJavaRule class. I've looked at ASTPackageDeclaration, but this doesn't appear to have what I want.
Many thanks in advance...