|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CallGraph
is a general interface that should be
implemented by a call graph.
Method Summary | |
Set |
callableMethods()
Returns the set of all the methods that can be called in the execution of the program. |
HMethod[] |
calls(HMethod hm,
CALL cs)
Returns an array containing all possible methods called by method m at the call site cs . |
CALL[] |
getCallSites(HMethod hm)
Returns a list of all the CALL s quads in the code
of hm . |
Methods inherited from interface harpoon.Analysis.CallGraph |
calls |
Method Detail |
public HMethod[] calls(HMethod hm, CALL cs)
m
at the call site cs
.
If there is no known callee for the call site cs
, or if
cs
doesn't belong to the code of hm
,
return an array of length 0
.
public CALL[] getCallSites(HMethod hm)
CALL
s quads in the code
of hm
.
public Set callableMethods()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |