com.ibm.wala.ipa.callgraph.propagation.cfa
Class CallerContextPair

java.lang.Object
  extended by com.ibm.wala.ipa.callgraph.propagation.cfa.CallerContext
      extended by 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.


Constructor Summary
CallerContextPair(CGNode caller, Context baseContext)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ContextItem get(ContextKey name)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.wala.ipa.callgraph.propagation.cfa.CallerContext
getCaller
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CallerContextPair

public CallerContextPair(CGNode caller,
                         Context baseContext)
Parameters:
caller - the node which defines this context.
Method Detail

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