// that terminate at leaf nodes must be inside it.
if (!_isLeaf(method)) {
// Add all methods shown by the local callGraph to be called
// by this method.
CallGraph callGraph = Scene.v().getCallGraph();
Iterator outEdges = callGraph.edgesOutOf(method);
while (outEdges.hasNext()) {
Edge edge = (Edge) outEdges.next();
SootMethod targetMethod = edge.tgt();
_add(targetMethod);