public class CrossLanguageMethodTargetSelector extends Object implements MethodTargetSelector
| Constructor and Description |
|---|
CrossLanguageMethodTargetSelector(Map<Atom,MethodTargetSelector> languageSelectors) |
| Modifier and Type | Method and Description |
|---|---|
IMethod |
getCalleeTarget(CGNode caller,
CallSiteReference site,
IClass receiver)
Given a calling node, a call site and (optionally) a dispatch type, return the target method to be called.
|
public CrossLanguageMethodTargetSelector(Map<Atom,MethodTargetSelector> languageSelectors)
public IMethod getCalleeTarget(CGNode caller, CallSiteReference site, IClass receiver)
MethodTargetSelectorgetCalleeTarget in interface MethodTargetSelectorcaller - the GCNode in the call graph containing the callsite - the call site reference of the call sitereceiver - the type of the target object or null