|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--harpoon.Analysis.MetaMethods.SmartCallGraph
Constructor Summary | |
SmartCallGraph(MetaCallGraph mcg)
Creates a SmartCallGraph . |
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)
Returns an array containing all possible methods called by method m . |
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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SmartCallGraph(MetaCallGraph mcg)
SmartCallGraph
.
Method Detail |
public final HMethod[] calls(HMethod hm)
m
. If hm
doesn't call any
method, return an array of length 0
.
calls
in interface CallGraph
public final HMethod[] calls(HMethod hm, CALL cs)
m
at the call site cs
.
If there is no known callee for the call site cs>/code>, or if
cs
doesn't belong to the code of hm
,
return an array pof length 0
.
- Specified by:
calls
in interface CallGraph
public CALL[] getCallSites(HMethod hm)
CALL
s quads in the code
of hm
.
getCallSites
in interface CallGraph
public Set callableMethods()
callableMethods
in interface CallGraph
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |