Package net.sourceforge.pmd.lang.dfa
Class AbstractDataFlowNode
- java.lang.Object
-
- net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
-
- All Implemented Interfaces:
DataFlowNode
- Direct Known Subclasses:
StartOrEndDataFlowNode
@Deprecated public abstract class AbstractDataFlowNode extends Object implements DataFlowNode
Deprecated.SeeDataFlowNode
Each data flow contains a set of DataFlowNodes.- Author:
- raik
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DataFlowNode>
children
Deprecated.protected List<DataFlowNode>
dataFlow
Deprecated.protected int
line
Deprecated.protected Node
node
Deprecated.protected List<DataFlowNode>
parents
Deprecated.protected Set<NodeType>
type
Deprecated.protected List<VariableAccess>
variableAccess
Deprecated.
-
Constructor Summary
Constructors Constructor Description AbstractDataFlowNode(List<DataFlowNode> dataFlow)
Deprecated.AbstractDataFlowNode(List<DataFlowNode> dataFlow, Node node)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addPathToChild(DataFlowNode child)
Deprecated.List<DataFlowNode>
getChildren()
Deprecated.List<DataFlowNode>
getFlow()
Deprecated.int
getIndex()
Deprecated.int
getLine()
Deprecated.Node
getNode()
Deprecated.List<DataFlowNode>
getParents()
Deprecated.List<VariableAccess>
getVariableAccess()
Deprecated.boolean
isType(NodeType type)
Deprecated.boolean
removePathToChild(DataFlowNode child)
Deprecated.void
reverseParentPathsTo(DataFlowNode destination)
Deprecated.void
setType(NodeType type)
Deprecated.void
setVariableAccess(List<VariableAccess> variableAccess)
Deprecated.String
toString()
Deprecated.
-
-
-
Field Detail
-
node
protected Node node
Deprecated.
-
parents
protected List<DataFlowNode> parents
Deprecated.
-
children
protected List<DataFlowNode> children
Deprecated.
-
variableAccess
protected List<VariableAccess> variableAccess
Deprecated.
-
dataFlow
protected List<DataFlowNode> dataFlow
Deprecated.
-
line
protected int line
Deprecated.
-
-
Constructor Detail
-
AbstractDataFlowNode
public AbstractDataFlowNode(List<DataFlowNode> dataFlow)
Deprecated.
-
AbstractDataFlowNode
public AbstractDataFlowNode(List<DataFlowNode> dataFlow, Node node)
Deprecated.
-
-
Method Detail
-
addPathToChild
public void addPathToChild(DataFlowNode child)
Deprecated.- Specified by:
addPathToChild
in interfaceDataFlowNode
-
removePathToChild
public boolean removePathToChild(DataFlowNode child)
Deprecated.- Specified by:
removePathToChild
in interfaceDataFlowNode
-
reverseParentPathsTo
public void reverseParentPathsTo(DataFlowNode destination)
Deprecated.- Specified by:
reverseParentPathsTo
in interfaceDataFlowNode
-
getLine
public int getLine()
Deprecated.- Specified by:
getLine
in interfaceDataFlowNode
-
setType
public void setType(NodeType type)
Deprecated.- Specified by:
setType
in interfaceDataFlowNode
-
isType
public boolean isType(NodeType type)
Deprecated.- Specified by:
isType
in interfaceDataFlowNode
-
getNode
public Node getNode()
Deprecated.- Specified by:
getNode
in interfaceDataFlowNode
-
getChildren
public List<DataFlowNode> getChildren()
Deprecated.- Specified by:
getChildren
in interfaceDataFlowNode
-
getParents
public List<DataFlowNode> getParents()
Deprecated.- Specified by:
getParents
in interfaceDataFlowNode
-
getFlow
public List<DataFlowNode> getFlow()
Deprecated.- Specified by:
getFlow
in interfaceDataFlowNode
-
getIndex
public int getIndex()
Deprecated.- Specified by:
getIndex
in interfaceDataFlowNode
-
setVariableAccess
public void setVariableAccess(List<VariableAccess> variableAccess)
Deprecated.- Specified by:
setVariableAccess
in interfaceDataFlowNode
-
getVariableAccess
public List<VariableAccess> getVariableAccess()
Deprecated.- Specified by:
getVariableAccess
in interfaceDataFlowNode
-
-