harpoon.Analysis
Interface CallGraph

All Known Subinterfaces:
CallGraph
All Known Implementing Classes:
CachingCallGraph, CallGraphImpl, CallGraphImpl2, SmartCallGraph

public interface CallGraph

CallGraph is a general IR-independant interface that for a call graph. IR-specific subclasses (see harpoon.Analysis.Quads.CallGraph) can provide call-site information.

Version:
$Id: CallGraph.java,v 1.2 2002/02/25 20:56:09 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Method Summary
 HMethod[] calls(HMethod hm)
          Returns an array containing all possible methods called by method m.
 

Method Detail

calls

public HMethod[] calls(HMethod hm)
Returns an array containing all possible methods called by method m. If hm doesn't call any method, return an array of length 0.