com.ibm.wala.ipa.callgraph.propagation.cfa
Class CallerContextPair
java.lang.Object
com.ibm.wala.ipa.callgraph.propagation.cfa.CallerContext
com.ibm.wala.ipa.callgraph.propagation.cfa.CallerContextPair
- All Implemented Interfaces:
- Context
public class CallerContextPair
- extends CallerContext
This is a Context which is defined by a pair consisting of .
The base context is typically some special case; e.g., a JavaTypeContext used for reflection.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CallerContextPair
public CallerContextPair(CGNode caller,
Context baseContext)
- Parameters:
caller - the node which defines this context.
get
public ContextItem get(ContextKey name)
- Specified by:
get in interface Context- Overrides:
get in class CallerContext
- Returns:
- the objects corresponding to a given name
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class CallerContext
hashCode
public int hashCode()
- Overrides:
hashCode in class CallerContext
toString
public java.lang.String toString()
- Overrides:
toString in class CallerContext