com.ibm.wala.ipa.callgraph.propagation.rta
Class DelegatingExplicitCallGraph.DelegatingCGNode

java.lang.Object
  extended by com.ibm.wala.util.graph.impl.NodeWithNumber
      extended by com.ibm.wala.ipa.callgraph.impl.BasicCallGraph.NodeImpl
          extended by com.ibm.wala.ipa.callgraph.impl.ExplicitCallGraph.ExplicitNode
              extended by 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


Field Summary
 
Fields inherited from class com.ibm.wala.ipa.callgraph.impl.ExplicitCallGraph.ExplicitNode
targets
 
Fields inherited from class com.ibm.wala.ipa.callgraph.impl.BasicCallGraph.NodeImpl
method
 
Constructor Summary
protected DelegatingExplicitCallGraph.DelegatingCGNode(IMethod method, Context C)
           
 
Method Summary
 void delegate(CallSiteReference site, CGNode delegateNode, CallSiteReference delegateSite)
           
 MutableSharedBitVectorIntSet getAllTargetNumbers()
           
 int getNumberOfTargets(CallSiteReference site)
           
 IntSet getPossibleTargetNumbers(CallSiteReference site)
           
 java.util.Set<CGNode> getPossibleTargets(CallSiteReference site)
           
 
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 com.ibm.wala.ipa.callgraph.impl.BasicCallGraph.NodeImpl
getClassHierarchy, getContext, getMethod, toString
 
Methods inherited from class com.ibm.wala.util.graph.impl.NodeWithNumber
getGraphNodeId, setGraphNodeId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.wala.util.graph.INodeWithNumber
getGraphNodeId, setGraphNodeId
 

Constructor Detail

DelegatingExplicitCallGraph.DelegatingCGNode

protected DelegatingExplicitCallGraph.DelegatingCGNode(IMethod method,
                                                       Context C)
Method Detail

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)