public List<Edge> outgoingEdges(MethodOrMethodContext momc,Stmt stmt){
  List<Edge> edges=new LinkedList<Edge>();
  Iterator<Edge> it=callGraph.edgesOutOf(momc);
  while (it.hasNext()) {
    Edge e=it.next();
    if (stmt.equals(e.srcStmt()))     edges.add(e);
  }
  return edges;
}

public List < Edge > outgoingEdges ( MethodOrMethodContext momc , Stmt stmt ) { List < Edge > edges = new LinkedList < Edge > ( ) ; Iterator < Edge > it = callGraph . edgesOutOf ( momc ) ; while ( it . hasNext ( ) ) { Edge e = it . next ( ) ; if ( stmt . equals ( e . srcStmt ( ) ) ) edges . add ( e ) ; } return edges ; }
return edges out of a method / method + context that have stmt as source
