public class CallGraphTransitiveClosure extends Object
Constructor and Description |
---|
CallGraphTransitiveClosure() |
Modifier and Type | Method and Description |
---|---|
static <T> Map<CGNode,Collection<T>> |
collectNodeResults(CallGraph cg,
Function<CGNode,Collection<T>> nodeResultComputer)
|
static <T> Map<CGNode,OrdinalSet<T>> |
transitiveClosure(CallGraph cg,
Map<CGNode,Collection<T>> nodeResults)
Compute the transitive closure of an analysis result over all callees.
|
public static <T> Map<CGNode,OrdinalSet<T>> transitiveClosure(CallGraph cg, Map<CGNode,Collection<T>> nodeResults)
cg
- the call graphnodeResults
- analysis result for each individual nodepublic static <T> Map<CGNode,Collection<T>> collectNodeResults(CallGraph cg, Function<CGNode,Collection<T>> nodeResultComputer)