public abstract class AbstractDataFlowNode extends Object implements DataFlowNode
Modifier and Type | Field and Description |
---|---|
protected List<DataFlowNode> |
children |
protected List<DataFlowNode> |
dataFlow |
protected int |
line |
protected Node |
node |
protected List<DataFlowNode> |
parents |
protected BitSet |
type |
protected List<VariableAccess> |
variableAccess |
Constructor and Description |
---|
AbstractDataFlowNode(List<DataFlowNode> dataFlow) |
AbstractDataFlowNode(List<DataFlowNode> dataFlow,
Node node) |
Modifier and Type | Method and 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(int intype) |
boolean |
removePathToChild(DataFlowNode child) |
void |
reverseParentPathsTo(DataFlowNode destination) |
void |
setType(int type) |
void |
setVariableAccess(List<VariableAccess> variableAccess) |
String |
toString() |
protected Node node
protected List<DataFlowNode> parents
protected List<DataFlowNode> children
protected BitSet type
protected List<VariableAccess> variableAccess
protected List<DataFlowNode> dataFlow
protected int line
public AbstractDataFlowNode(List<DataFlowNode> dataFlow)
public AbstractDataFlowNode(List<DataFlowNode> dataFlow, Node node)
public void addPathToChild(DataFlowNode child)
addPathToChild
in interface DataFlowNode
public boolean removePathToChild(DataFlowNode child)
removePathToChild
in interface DataFlowNode
public void reverseParentPathsTo(DataFlowNode destination)
reverseParentPathsTo
in interface DataFlowNode
public int getLine()
getLine
in interface DataFlowNode
public void setType(int type)
setType
in interface DataFlowNode
public boolean isType(int intype)
isType
in interface DataFlowNode
public Node getNode()
getNode
in interface DataFlowNode
public List<DataFlowNode> getChildren()
getChildren
in interface DataFlowNode
public List<DataFlowNode> getParents()
getParents
in interface DataFlowNode
public List<DataFlowNode> getFlow()
getFlow
in interface DataFlowNode
public int getIndex()
getIndex
in interface DataFlowNode
public void setVariableAccess(List<VariableAccess> variableAccess)
setVariableAccess
in interface DataFlowNode
public List<VariableAccess> getVariableAccess()
getVariableAccess
in interface DataFlowNode
Copyright © 2002–2017 PMD. All rights reserved.