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
targetsModifier and TypeFieldDescriptionprotected final SparseVector<Object> A Mapping from call site program counter (int) -> 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.Fields 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, removeTargetModifier and TypeMethodDescriptionprotected booleanbooleanaddTarget(CallSiteReference site, CGNode tNode) NOTE: This is for use only by call graph builders, not by any other client of this interface.voidbooleangetCFG()getDU()getIR()protected Iterator<CallSiteReference> inthashCode()voidremoveTarget(CGNode target) Methods inherited from class BasicCallGraph.NodeImpl
getClassHierarchy, getContext, getMethod, toStringMethods inherited from class NodeWithNumber
getGraphNodeId, setGraphNodeIdModifier and TypeMethodDescriptionintA non-negative integer which serves as an identifier for this node in it's "dominant" graph.voidsetGraphNodeId(int i)
-
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
-