public final class CallGraphPruning
extends java.lang.Object
| Constructor and Description |
|---|
CallGraphPruning(CallGraph cg) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<CGNode> |
findApplicationNodes()
Searches all nodes in the callgraph that correspond to a method of the application (and not the
system library).
|
java.util.Set<CGNode> |
findApplicationNodes(int depth)
Searches all nodes in the callgraph that correspond to a method of the application (and not the
system library).
|
java.util.Set<CGNode> |
findNodes(int depth,
PruningPolicy policy)
Searches all nodes in the callgraph according to the given pruning policy.
|
public CallGraphPruning(CallGraph cg)
public java.util.Set<CGNode> findApplicationNodes()
public java.util.Set<CGNode> findApplicationNodes(int depth)
depth - The level at which non-returning library methods are cut off.public java.util.Set<CGNode> findNodes(int depth, PruningPolicy policy)
depth - the level at which methods which do not comply to the given pruning policy are cut
off.policy - pruning policy which decides which branches are kept in the call graph