|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpaul.Graphs.DiGraph<MetaMethod>
harpoon.Analysis.MetaMethods.MetaCallGraph
harpoon.Analysis.MetaMethods.MetaCallGraphAbstr
public abstract class MetaCallGraphAbstr
MetaCallGraphAbstr
Map based abstract
MetaCallGraph
.
Field Summary | |
---|---|
protected Set |
all_meta_methods
|
protected Map |
callees1_cmpct
|
protected Map |
callees2_cmpct
|
protected Set |
run_mms
|
Fields inherited from class harpoon.Analysis.MetaMethods.MetaCallGraph |
---|
navigator |
Fields inherited from class jpaul.Graphs.DiGraph |
---|
CACHING |
Constructor Summary | |
---|---|
MetaCallGraphAbstr()
|
Method Summary | |
---|---|
Set |
getAllMetaMethods()
Returns the set of all the meta methods that might be called during the execution of the program. |
MetaMethod[] |
getCallees(MetaMethod mm)
Returns the meta methods that can be called by mm . |
MetaMethod[] |
getCallees(MetaMethod mm,
CALL cs)
Returns the meta methods that can be called by mm
at the call site q . |
Set |
getCallSites(MetaMethod mm)
Returns the set of all the call sites in the code of the meta-method mm . |
Set |
getRunMetaMethods()
Returns the set of the meta-methods that could be called as the body of some thread. |
jpaul.DataStructs.Relation |
getSplitRelation()
Computes the split relation. |
Set |
getTransCallees(MetaMethod mm)
Returns the set of all the meta methods that might be called, directly or indirectly, by meta method mm . |
void |
print(PrintStream ps,
boolean detailed_view,
MetaMethod root)
Nice pretty-printer for debug purposes. |
Methods inherited from class harpoon.Analysis.MetaMethods.MetaCallGraph |
---|
getBiDiNavigator, getForwardNavigator, getRoots |
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 |
Field Detail |
---|
protected final Map callees1_cmpct
protected final Map callees2_cmpct
protected final Set all_meta_methods
protected Set run_mms
Constructor Detail |
---|
public MetaCallGraphAbstr()
Method Detail |
---|
public MetaMethod[] getCallees(MetaMethod mm)
mm
.
getCallees
in class MetaCallGraph
public MetaMethod[] getCallees(MetaMethod mm, CALL cs)
mm
at the call site q
.
getCallees
in class MetaCallGraph
public Set getTransCallees(MetaMethod mm)
mm
.
getTransCallees
in class MetaCallGraph
public Set getCallSites(MetaMethod mm)
mm
.
getCallSites
in class MetaCallGraph
public Set getAllMetaMethods()
getAllMetaMethods
in class MetaCallGraph
public jpaul.DataStructs.Relation getSplitRelation()
Relation
that associates to each HMethod
the set of
MetaMethod
s specialized from it.
getSplitRelation
in class MetaCallGraph
public Set getRunMetaMethods()
MetaCallGraph
getRunMetaMethods
in class MetaCallGraph
public void print(PrintStream ps, boolean detailed_view, MetaMethod root)
print
in class MetaCallGraph
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |