net.sourceforge.pmd.dfa.report

Class ReportTree

public class ReportTree extends Object

Method Summary
voidaddRuleViolation(RuleViolation violation)
Adds the RuleViolation to the tree.
AbstractReportNodegetRootNode()
Iteratoriterator()
intsize()

Method Detail

addRuleViolation

public void addRuleViolation(RuleViolation 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 iterator()

size

public int size()