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
In this implementation, super.targets is 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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ibm.wala.ipa.callgraph.ContextItem
ContextItem.Value<T>
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delegate
(CallSiteReference site, CGNode delegateNode, CallSiteReference delegateSite) int
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 Details
-
DelegatingCGNode
-
-
Method Details
-
getAllTargetNumbers
- Overrides:
getAllTargetNumbers
in classExplicitCallGraph.ExplicitNode
-
getPossibleTargets
- Overrides:
getPossibleTargets
in classExplicitCallGraph.ExplicitNode
-
getPossibleTargetNumbers
- Overrides:
getPossibleTargetNumbers
in classExplicitCallGraph.ExplicitNode
-
getNumberOfTargets
- Overrides:
getNumberOfTargets
in classExplicitCallGraph.ExplicitNode
-
delegate
-