Package com.ibm.wala.cast.ipa.callgraph
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
public class AstCallGraph.AstCGNode extends ExplicitCallGraph.ExplicitNode
-
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllCallbacks(Set<Function<Object,Object>> callback)
void
addCallback(Function<Object,Object> callback)
boolean
addTarget(CallSiteReference site, CGNode node)
This is for use only by call graph builders ...void
clearMutatedCache(CallSiteReference cs)
-
Methods inherited from class com.ibm.wala.ipa.callgraph.impl.ExplicitCallGraph.ExplicitNode
addTarget, clearAllTargets, equals, getAllTargetNumbers, getCallGraph, getCFG, getDU, getIR, getNumberOfTargets, getPossibleSites, getPossibleTargetNumbers, getPossibleTargets, 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
-
-
-
-
Method Detail
-
clearMutatedCache
public void clearMutatedCache(CallSiteReference cs)
-
addTarget
public boolean addTarget(CallSiteReference site, CGNode node)
Description copied from interface:CGNode
This is for use only by call graph builders ... not by the general public. Clients should not use this. 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:
addTarget
in interfaceCGNode
- Overrides:
addTarget
in classExplicitCallGraph.ExplicitNode
-
-