View Javadoc

    1   package net.sourceforge.pmd.dfa.pathfinder;
    2
    3   import net.sourceforge.pmd.dfa.IDataFlowNode;
    4
    5   public class PathElement {
    6
    7       public int currentChild;
    8       public IDataFlowNode node;
    9       public IDataFlowNode pseudoRef;
    10
    11      PathElement(IDataFlowNode node) {
    12          this.node = node;
    13      }
    14
    15      PathElement(IDataFlowNode node, IDataFlowNode ref) {
    16          this.node = node;
    17          this.pseudoRef = ref;
    18      }
    19
    20      public boolean isPseudoPathElement() {
    21          return pseudoRef != null;
    22      }
    23  }
    24