Class CallerSiteContextPair
- java.lang.Object
-
- com.ibm.wala.ipa.callgraph.propagation.cfa.CallerContext
-
- com.ibm.wala.ipa.callgraph.propagation.cfa.CallerSiteContext
-
- com.ibm.wala.ipa.callgraph.propagation.cfa.CallerSiteContextPair
-
- All Implemented Interfaces:
Context
public class CallerSiteContextPair extends CallerSiteContext
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
Constructors Constructor Description CallerSiteContextPair(CGNode caller, CallSiteReference callSite, Context baseContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ContextItem
get(ContextKey name)
int
hashCode()
String
toString()
-
Methods inherited from class com.ibm.wala.ipa.callgraph.propagation.cfa.CallerSiteContext
getCallSite
-
Methods inherited from class com.ibm.wala.ipa.callgraph.propagation.cfa.CallerContext
getCaller
-
-
-
-
Constructor Detail
-
CallerSiteContextPair
public CallerSiteContextPair(CGNode caller, CallSiteReference callSite, Context baseContext)
- Parameters:
caller
- the node which defines this context.
-
-
Method Detail
-
get
public ContextItem get(ContextKey name)
- Specified by:
get
in interfaceContext
- Overrides:
get
in classCallerSiteContext
- Returns:
- the objects corresponding to a given name
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classCallerSiteContext
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCallerSiteContext
-
toString
public String toString()
- Overrides:
toString
in classCallerSiteContext
-
-