com.ibm.wala.cast.ipa.callgraph
Class AstCallGraph.AstCGNode

java.lang.Object
  extended by com.ibm.wala.util.graph.impl.NodeWithNumber
      extended by com.ibm.wala.ipa.callgraph.impl.BasicCallGraph.NodeImpl
          extended by com.ibm.wala.ipa.callgraph.impl.ExplicitCallGraph.ExplicitNode
              extended by 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


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
 void addAllCallbacks(java.util.Set<Function<java.lang.Object,java.lang.Object>> callback)
           
 void addCallback(Function<java.lang.Object,java.lang.Object> callback)
           
 boolean addTarget(CallSiteReference site, CGNode node)
          This is for use only by call graph builders ...
 void clearMutatedCache(CallSiteReference cs)
           
 DefUse getLexicallyMutatedDU()
           
 IR getLexicallyMutatedIR()
           
 void setLexicallyMutatedIR(IR ir)
           
 
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

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