public abstract class BasicCallGraph.NodeImpl extends NodeWithNumber implements CGNode
ContextItem.Value<T>
Modifier and Type | Field and Description |
---|---|
protected IMethod |
method
The method this node represents.
|
Modifier | Constructor and Description |
---|---|
protected |
NodeImpl(IMethod method,
Context C) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
addTarget(CallSiteReference reference,
CGNode target)
This is for use only by call graph builders ...
|
abstract boolean |
equals(Object obj) |
IClassHierarchy |
getClassHierarchy() |
Context |
getContext()
Return the
context this CGNode represents. |
IMethod |
getMethod()
Return the
method this CGNode represents. |
abstract int |
hashCode() |
String |
toString() |
getGraphNodeId, setGraphNodeId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDU, getIR, iterateCallSites, iterateNewSites
getGraphNodeId, setGraphNodeId
protected final IMethod method
public IMethod getMethod()
CGNode
method
this CGNode represents.
This value will never be null
.public abstract boolean equals(Object obj)
equals
in class Object
Object.equals(Object)
public abstract int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
public Context getContext()
CGNode
context
this CGNode represents.
This value will never be null
.getContext
in interface CGNode
public abstract boolean addTarget(CallSiteReference reference, CGNode target)
CGNode
public IClassHierarchy getClassHierarchy()
getClassHierarchy
in interface IClassHierarchyDweller