net.sourceforge.pmd.rules
public class XPathRule extends AbstractJavaRule
| 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".
|
| List<String> | getRuleChainVisits() |
Parameters: compilationUnit the Node that is the root of the AST to be checked data