View Javadoc

    1   package net.sourceforge.pmd.dfa.report;
    2
    3   public class PackageNode extends AbstractReportNode {
    4
    5       private</str<a href="../../../../../ong> String packageName/package-summary.html">ong> String packageName;
    6
    7       public</str<a href="../../../../../ong> <a href="///////////////net/sourceforge/pmd/dfa/report/PackageNode/html">PackageNode(String packageName) {/package-summary.html">ong> PackageNode(String packageName) {
    8           this.packageName = packageName;
    9       }
    10
    11      public String getPackageName() {
    12          return</strong> this.packageName;
    13      }
    14
    15      public boolean equalsNode(AbstractReportNode arg0) {
    16          if (!(arg0 instanceof PackageNode)) {
    17              return false;
    18          }
    19
    20          return</strong> ((PackageNode) arg0).getPackageName().equals(this.packageName);
    21      }
    22
    23  }