View Javadoc

1   package net.sourceforge.pmd.dfa;
2   
3   import net.sourceforge.pmd.ast.SimpleNode;
4   
5   import java.util.List;
6   
7   public interface IDataFlowNode {
8       List getVariableAccess();
9   
10      int getLine();
11  
12      int getIndex();
13  
14      boolean isType(int type);
15  
16      List getChildren();
17  
18      List getParents();
19  
20      List getFlow();
21  
22      SimpleNode getSimpleNode();
23  
24      void setVariableAccess(List variableAccess);
25  
26      void addPathToChild(IDataFlowNode child);
27  
28      boolean removePathToChild(IDataFlowNode child);
29  
30      void reverseParentPathsTo(IDataFlowNode destination);
31  
32  }