PathElement.java :  » Code-Analyzer » pmd-4.2rc1 » net » sourceforge » pmd » dfa » pathfinder » Java Open Source

Java Open Source » Code Analyzer » pmd 4.2rc1 
pmd 4.2rc1 » net » sourceforge » pmd » dfa » pathfinder » PathElement.java
package net.sourceforge.pmd.dfa.pathfinder;

import net.sourceforge.pmd.dfa.IDataFlowNode;

public class PathElement {

    public int currentChild;
    public IDataFlowNode node;
    public IDataFlowNode pseudoRef;

    PathElement(IDataFlowNode node) {
        this.node = node;
    }

    PathElement(IDataFlowNode node, IDataFlowNode ref) {
        this.node = node;
        this.pseudoRef = ref;
    }

    public boolean isPseudoPathElement() {
        return pseudoRef != null;
    }
}

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.