net.sourceforge.pmd.rules
public class XPathRule extends CommonAbstractRule
Method Summary | |
---|---|
void | apply(List astCompilationUnits, RuleContext ctx)
Apply the rule to all compilation units. |
void | evaluate(Node compilationUnit, RuleContext data)
Evaluate the AST with compilationUnit as root-node, against
the XPath expression found as property with name "xpath".
|
Parameters: compilationUnit the Node that is the root of the AST to be checked data
Returns: