public interface FactMergeHandler<Fact>
Modifier and Type | Method and Description |
---|---|
void |
merge(Fact previousFact,
Fact currentFact)
Called when propagating a Fact to a statement at which an equal Fact was already propagated to.
|
void |
restoreCallingContext(Fact factAtReturnSite,
Fact factAtCallSite)
Called on Facts being propagated over a return edge.
|
void merge(Fact previousFact, Fact currentFact)
previousFact
- The Fact instance that was propagated to the statement first.currentFact
- The Fact that was propagated to the statement last.void restoreCallingContext(Fact factAtReturnSite, Fact factAtCallSite)
factAtReturnSite
- The fact being propagated over the return edge.factAtCallSite
- The Fact that was present at the call site, i.e., the Fact used as input to the call flow function.