net.sourceforge.pmd.lang.dfa.report
Class ReportTree
java.lang.Object
net.sourceforge.pmd.lang.dfa.report.ReportTree
- All Implemented Interfaces:
- Iterable<RuleViolation>
public class ReportTree
- extends Object
- implements Iterable<RuleViolation>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportTree
public ReportTree()
iterator
public Iterator<RuleViolation> iterator()
- Specified by:
iterator
in interface Iterable<RuleViolation>
size
public int size()
getRootNode
public AbstractReportNode getRootNode()
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.
Copyright © 2002-2015 InfoEther. All Rights Reserved.