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
| 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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
addCallback
public void addCallback(Function<java.lang.Object,java.lang.Object> callback)
addAllCallbacks
public void addAllCallbacks(java.util.Set<Function<java.lang.Object,java.lang.Object>> callback)
setLexicallyMutatedIR
public void setLexicallyMutatedIR(IR ir)
clearMutatedCache
public void clearMutatedCache(CallSiteReference cs)
getLexicallyMutatedIR
public IR getLexicallyMutatedIR()
getLexicallyMutatedDU
public DefUse getLexicallyMutatedDU()
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 interface CGNode- Overrides:
addTarget in class ExplicitCallGraph.ExplicitNode