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
,ContextItem
This is a context which is defined by a pair consisting of <caller node, base context>.
The base context is typically some special case; e.g., a JavaTypeContext used for reflection.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ibm.wala.ipa.callgraph.ContextItem
ContextItem.Value<T>
-
Constructor Summary
ConstructorDescriptionCallerSiteContextPair
(CGNode caller, CallSiteReference callSite, Context baseContext) -
Method Summary
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 Details
-
CallerSiteContextPair
- Parameters:
caller
- the node which defines this context.
-
-
Method Details
-
get
- Specified by:
get
in interfaceContext
- Overrides:
get
in classCallerSiteContext
- Returns:
- the objects corresponding to a given name
-
equals
- Overrides:
equals
in classCallerSiteContext
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCallerSiteContext
-
toString
- Overrides:
toString
in classCallerSiteContext
-