net.sourceforge.pmd.dfa.report
public abstract class AbstractReportNode extends Object
Method Summary | |
---|---|
void | accept(ReportVisitor visitor) |
void | add(AbstractReportNode child)
Adds the child at the end. |
void | addFirst(AbstractReportNode child)
Adds the child in front of any other childs. |
void | addNumberOfViolation(int number) |
void | childrenAccept(ReportVisitor visitor) |
abstract boolean | equalsNode(AbstractReportNode arg0)
Should compare to nodes of the tree. |
AbstractReportNode | getChildAt(int arg0) |
int | getChildCount() |
AbstractReportNode | getFirstChild() |
AbstractReportNode | getNextSibling() |
int | getNumberOfViolations() |
AbstractReportNode | getParent() |
boolean | isLeaf() |
Returns: null If there isn't any child.
Returns: null If there isn't any sibling.
Returns: The number of all violations downside the node.