public interface CGNode extends com.ibm.wala.util.graph.INodeWithNumber, ContextItem, IClassHierarchyDweller
ContextItem.Value<T>| Modifier and Type | Method and Description |
|---|---|
boolean |
addTarget(CallSiteReference site,
CGNode target)
NOTE: This is for use only by call graph builders, not by any other client of this interface.
|
Context |
getContext()
Return the
context this CGNode represents. |
DefUse |
getDU() |
IR |
getIR() |
IMethod |
getMethod()
Return the
method this CGNode represents. |
java.util.Iterator<CallSiteReference> |
iterateCallSites() |
java.util.Iterator<NewSiteReference> |
iterateNewSites() |
getGraphNodeId, setGraphNodeIdgetClassHierarchyIMethod getMethod()
method this CGNode represents. This value will never be null.Context getContext()
context this CGNode represents. This value will never be null.boolean addTarget(CallSiteReference site, CGNode target)
Record that a particular call site might resolve to a call to a particular target node. Returns true if this is a new target
IR getIR()
DefUse getDU()
java.util.Iterator<NewSiteReference> iterateNewSites()
java.util.Iterator<CallSiteReference> iterateCallSites()