Class ReportTree
- java.lang.Object
-
- net.sourceforge.pmd.lang.dfa.report.ReportTree
-
- All Implemented Interfaces:
Iterable<RuleViolation>
@Deprecated public class ReportTree extends Object implements Iterable<RuleViolation>
Deprecated.This class will be removed with PMD 7.0.0 without replacement. It is very specific for Java as it tries to recreate the package hierarchy of the analyzed classes and put the found violations in there. So it is of limited use for any other language.
-
-
Constructor Summary
Constructors Constructor Description ReportTree()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addRuleViolation(RuleViolation violation)
Deprecated.Adds the RuleViolation to the tree.AbstractReportNode
getRootNode()
Deprecated.Iterator<RuleViolation>
iterator()
Deprecated.int
size()
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
iterator
public Iterator<RuleViolation> iterator()
Deprecated.- Specified by:
iterator
in interfaceIterable<RuleViolation>
-
size
public int size()
Deprecated.
-
getRootNode
public AbstractReportNode getRootNode()
Deprecated.
-
addRuleViolation
public void addRuleViolation(RuleViolation violation)
Deprecated.Adds the RuleViolation to the tree. Splits the package name. Each package, class and violation gets there own tree node.
-
-