View Javadoc

    1   package net.sourceforge.pmd.lang;
    2
    3   import java.util.List;
    4
    5   import net.sourceforge.pmd.lang.ast.Node;
    6   import net.sourceforge.pmd.lang.dfa.DataFlowNode;
    7
    8   public interface DataFlowHandler {
    9
    10      DataFlowHandler DUMMY = new DataFlowHandler() {
    11  	public DataFlowNode createDataFlowNode(List<DataFlowNode> dataFlow, Node node) {
    12  	    return null;
    13  	}
    14  	public Class<? extends Node> getLabelStatementNodeClass() {
    15  	    return null;
    16  	}
    17      };
    18
    19      DataFlowNode createDataFlowNode(List<DataFlowNode> dataFlow, Node node);
    20      Class<? extends Node> getLabelStatementNodeClass();
    21  }