Class AstCallGraph.AstCGNode
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.cast.ipa.callgraph.AstCallGraph.AstCGNode
- All Implemented Interfaces:
CGNode, ContextItem, IClassHierarchyDweller, INodeWithNumber
- Enclosing class:
AstCallGraph
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllCallbacks(Set<Function<Object, Object>> callback) voidaddCallback(Function<Object, Object> callback) booleanaddTarget(CallSiteReference site, CGNode node) NOTE: This is for use only by call graph builders, not by any other client of this interface.voidMethods inherited from class ExplicitCallGraph.ExplicitNode
addTarget, clearAllTargets, equals, getAllTargetNumbers, getCallGraph, getCFG, getDU, getIR, getNumberOfTargets, getPossibleSites, getPossibleTargetNumbers, getPossibleTargets, hashCode, iterateCallSites, iterateNewSites, removeTargetModifier and TypeMethodDescriptionprotected booleanvoidbooleanprotected MutableSharedBitVectorIntSetgetCFG()getDU()getIR()protected intprotected Iterator<CallSiteReference> protected IntSetinthashCode()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)
-
Method Details
-
addCallback
-
addAllCallbacks
-
clearMutatedCache
-
addTarget
Description copied from interface:CGNodeNOTE: This is for use only by call graph builders, not by any other client of this interface.Record that a particular call site might resolve to a call to a particular target node. Returns true if this is a new target
- Specified by:
addTargetin interfaceCGNode- Overrides:
addTargetin classExplicitCallGraph.ExplicitNode
-