com.ibm.wala.ipa.callgraph.propagation.rta
Class DelegatingExplicitCallGraph.DelegatingCGNode
java.lang.Object
com.ibm.wala.util.graph.impl.NodeWithNumber
com.ibm.wala.ipa.callgraph.impl.BasicCallGraph.NodeImpl
com.ibm.wala.ipa.callgraph.impl.ExplicitCallGraph.ExplicitNode
com.ibm.wala.ipa.callgraph.propagation.rta.DelegatingExplicitCallGraph.DelegatingCGNode
- All Implemented Interfaces:
- CGNode, ContextItem, IClassHierarchyDweller, INodeWithNumber
- Enclosing class:
- DelegatingExplicitCallGraph
public class DelegatingExplicitCallGraph.DelegatingCGNode
- extends ExplicitCallGraph.ExplicitNode
In this implementation, super.targets is a mapping from call site ->
Object, where Object is a
A Mapping from call site -> Object, where Object is a
- CGNode if we've discovered exactly one target for the site
- or an IntSet of node numbers if we've discovered more than one target
for the site.
- a CallSite if we're delegating these edges to another node
| Methods inherited from class com.ibm.wala.ipa.callgraph.impl.ExplicitCallGraph.ExplicitNode |
addTarget, addTarget, clearAllTargets, equals, getCallGraph, getCFG, getDU, getIR, getPossibleSites, hashCode, iterateCallSites, iterateNewSites, removeTarget |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DelegatingExplicitCallGraph.DelegatingCGNode
protected DelegatingExplicitCallGraph.DelegatingCGNode(IMethod method,
Context C)
getAllTargetNumbers
public MutableSharedBitVectorIntSet getAllTargetNumbers()
- Overrides:
getAllTargetNumbers in class ExplicitCallGraph.ExplicitNode
getPossibleTargets
public java.util.Set<CGNode> getPossibleTargets(CallSiteReference site)
- Overrides:
getPossibleTargets in class ExplicitCallGraph.ExplicitNode
getPossibleTargetNumbers
public IntSet getPossibleTargetNumbers(CallSiteReference site)
- Overrides:
getPossibleTargetNumbers in class ExplicitCallGraph.ExplicitNode
getNumberOfTargets
public int getNumberOfTargets(CallSiteReference site)
- Overrides:
getNumberOfTargets in class ExplicitCallGraph.ExplicitNode
delegate
public void delegate(CallSiteReference site,
CGNode delegateNode,
CallSiteReference delegateSite)