public class UnionContextSelector extends Object implements ContextSelector
DelegatingContextSelector| Constructor and Description |
|---|
UnionContextSelector(ContextSelector A,
ContextSelector B) |
| Modifier and Type | Method and Description |
|---|---|
Context |
getCalleeTarget(CGNode caller,
CallSiteReference site,
IMethod callee,
InstanceKey[] receiver)
If only one Context exists return it, else return a DelegatingContext.
|
com.ibm.wala.util.intset.IntSet |
getRelevantParameters(CGNode caller,
CallSiteReference site)
Given a calling node and a call site, return the set of parameters based
on which this selector may choose to specialize contexts.
|
String |
toString() |
public UnionContextSelector(ContextSelector A, ContextSelector B)
public Context getCalleeTarget(CGNode caller, CallSiteReference site, IMethod callee, InstanceKey[] receiver)
getCalleeTarget in interface ContextSelectorcaller - the node containing the call sitesite - description of the call sitereceiver - the abstract objects (InstanceKeys) of parameters of interest to the selectorpublic com.ibm.wala.util.intset.IntSet getRelevantParameters(CGNode caller, CallSiteReference site)
ContextSelectorgetRelevantParameters in interface ContextSelectorcaller - the calling nodesite - the specific call siteCopyright © 2015. All rights reserved.