Class ReportTree
- java.lang.Object
-
- net.sourceforge.pmd.lang.dfa.report.ReportTree
-
- All Implemented Interfaces:
java.lang.Iterable<RuleViolation>
@Deprecated public class ReportTree extends java.lang.Object implements java.lang.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.java.util.Iterator<RuleViolation>
iterator()
Deprecated.int
size()
Deprecated.
-
-
-
Method Detail
-
iterator
public java.util.Iterator<RuleViolation> iterator()
Deprecated.- Specified by:
iterator
in interfacejava.lang.Iterable<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.
-
-