Interface FastSolverLinkedNode<D,N>
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
Abstraction
Common interface for all abstractions processed by the IFDS solver
- Author:
- Steven Arzt
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddNeighbor(D originalAbstraction) Links this node to a neighbor node, i.e., to an abstraction that would have been merged with this one of paths were not being tracked.clone()Clones this data flow abstractionClones this data flow abstraction with the current statement and corresponding call site setIf this abstraction supports alias analysis, this returns the active copy of the current abstraction.intGets the number of neighbors already registered with this abstractionintGets the length of the path over which this node was propagatedGets the predecessor of this nodevoidsetPredecessor(D predecessor) Explicitly sets the predecessor of this node.
-
Method Details
-
addNeighbor
Links this node to a neighbor node, i.e., to an abstraction that would have been merged with this one of paths were not being tracked.- Returns:
- True if the neighbor was added, false if it was rejected
-
getNeighborCount
int getNeighborCount()Gets the number of neighbors already registered with this abstraction- Returns:
- The number of neighbors already registered with this abstraction
-
setPredecessor
Explicitly sets the predecessor of this node.- Parameters:
predecessor- The predecessor node to set
-
getPredecessor
D getPredecessor()Gets the predecessor of this node- Returns:
- The predecessor of this node is applicable, null for source nodes
-
clone
D clone()Clones this data flow abstraction- Returns:
- A clone of the current data flow abstraction
-
clone
Clones this data flow abstraction with the current statement and corresponding call site set- Returns:
- A clone of the current data flow abstraction
-
getActiveCopy
D getActiveCopy()If this abstraction supports alias analysis, this returns the active copy of the current abstraction. Otherwise, "this" is returned.- Returns:
- The active copy if supported, otherwise the "this" reference
-
getPathLength
int getPathLength()Gets the length of the path over which this node was propagated- Returns:
- The length of the path over which this node was propagated
-