|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpaul.Graphs.DiGraph<HMethod>
harpoon.Analysis.CallGraph
harpoon.Analysis.Quads.CallGraph
public abstract class CallGraph
CallGraph
is a general interface that should be
implemented by a call graph.
Field Summary |
---|
Fields inherited from class harpoon.Analysis.CallGraph |
---|
navigator |
Fields inherited from class jpaul.Graphs.DiGraph |
---|
CACHING |
Constructor Summary | |
---|---|
CallGraph()
|
Method Summary | |
---|---|
abstract HMethod[] |
calls(HMethod hm,
CALL cs)
Returns an array containing all possible methods called by method m at the call site cs . |
abstract CALL[] |
getCallSites(HMethod hm)
Returns a list of all the CALL s quads in the code
of hm . |
Methods inherited from class harpoon.Analysis.CallGraph |
---|
callableMethods, calls, getBiDiNavigator, getForwardNavigator, getRoots, getRunMethods |
Methods inherited from class jpaul.Graphs.DiGraph |
---|
constructBiDiNavigator, dfs, dfs2, diGraph, diGraph, findPath, findPath, forAllVertices, getComponentDiGraph, numArcs, numVertices, reverseDiGraph, subDiGraph, toString, transitivePred, transitivePred, transitiveSucc, transitiveSucc, union, vertices |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CallGraph()
Method Detail |
---|
public abstract 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 abstract CALL[] getCallSites(HMethod hm)
CALL
s quads in the code
of hm
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |