Package net.sourceforge.pmd.lang.dfa
Interface DataFlowNode
-
- All Known Implementing Classes:
AbstractDataFlowNode
,StartOrEndDataFlowNode
public interface DataFlowNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPathToChild(DataFlowNode child)
List<DataFlowNode>
getChildren()
List<DataFlowNode>
getFlow()
int
getIndex()
int
getLine()
Node
getNode()
List<DataFlowNode>
getParents()
List<VariableAccess>
getVariableAccess()
boolean
isType(NodeType type)
boolean
removePathToChild(DataFlowNode child)
void
reverseParentPathsTo(DataFlowNode destination)
void
setType(NodeType type)
void
setVariableAccess(List<VariableAccess> variableAccess)
-
-
-
Method Detail
-
getVariableAccess
List<VariableAccess> getVariableAccess()
-
getLine
int getLine()
-
getIndex
int getIndex()
-
isType
boolean isType(NodeType type)
-
setType
void setType(NodeType type)
-
getChildren
List<DataFlowNode> getChildren()
-
getParents
List<DataFlowNode> getParents()
-
getFlow
List<DataFlowNode> getFlow()
-
getNode
Node getNode()
-
setVariableAccess
void setVariableAccess(List<VariableAccess> variableAccess)
-
addPathToChild
void addPathToChild(DataFlowNode child)
-
removePathToChild
boolean removePathToChild(DataFlowNode child)
-
reverseParentPathsTo
void reverseParentPathsTo(DataFlowNode destination)
-
-