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 ContextItem
ContextItem.Value<T> -
Field Summary
Fields inherited from class ExplicitCallGraph.ExplicitNode
targetsFields inherited from class BasicCallGraph.NodeImpl
method -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelegate(CallSiteReference site, CGNode delegateNode, CallSiteReference delegateSite) intMethods inherited from class ExplicitCallGraph.ExplicitNode
addTarget, addTarget, clearAllTargets, equals, getCallGraph, getCFG, getDU, getIR, getPossibleSites, hashCode, iterateCallSites, iterateNewSites, removeTargetMethods inherited from class BasicCallGraph.NodeImpl
getClassHierarchy, getContext, getMethod, toStringMethods inherited from class NodeWithNumber
getGraphNodeId, setGraphNodeIdMethods inherited from interface INodeWithNumber
getGraphNodeId, setGraphNodeId
-
Constructor Details
-
DelegatingCGNode
-
-
Method Details
-
getAllTargetNumbers
- Overrides:
getAllTargetNumbersin classExplicitCallGraph.ExplicitNode
-
getPossibleTargets
- Overrides:
getPossibleTargetsin classExplicitCallGraph.ExplicitNode
-
getPossibleTargetNumbers
- Overrides:
getPossibleTargetNumbersin classExplicitCallGraph.ExplicitNode
-
getNumberOfTargets
- Overrides:
getNumberOfTargetsin classExplicitCallGraph.ExplicitNode
-
delegate
-