01: package net.sourceforge.pmd.dfa.report;
02:
03: public class ClassNode extends AbstractReportNode {
04:
05: private String className;
06:
07: public ClassNode(String className) {
08: this .className = className;
09: }
10:
11: public String getClassName() {
12: return this .className;
13: }
14:
15: public boolean equalsNode(AbstractReportNode arg0) {
16: if (!(arg0 instanceof ClassNode)) {
17: return false;
18: }
19: return ((ClassNode) arg0).getClassName().equals(this.className);
20: }
21:
22: }
|