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 booleanequals(Object obj)ContextItemget(ContextKey name)inthashCode()StringtoString()-
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:
getin interfaceContext- Overrides:
getin classCallerSiteContext- Returns:
- the objects corresponding to a given name
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classCallerSiteContext
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCallerSiteContext
-
toString
public String toString()
- Overrides:
toStringin classCallerSiteContext
-
-