net.sourceforge.pmd.dfa.report

Class ReportTree

public class ReportTree extends Object

Method Summary
voidaddRuleViolation(IRuleViolation violation)
Adds the RuleViolation to the tree.
AbstractReportNodegetRootNode()
Iterator<IRuleViolation>iterator()
intsize()

Method Detail

addRuleViolation

public void addRuleViolation(IRuleViolation violation)
Adds the RuleViolation to the tree. Splits the package name. Each package, class and violation gets there own tree node.

getRootNode

public AbstractReportNode getRootNode()

iterator

public Iterator<IRuleViolation> iterator()

size

public int size()