public class LambdaMethodTargetSelector extends Object implements MethodTargetSelector
Constructor and Description |
---|
LambdaMethodTargetSelector(MethodTargetSelector base) |
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 LambdaMethodTargetSelector(MethodTargetSelector base)
public IMethod getCalleeTarget(CGNode caller, CallSiteReference site, IClass receiver)
MethodTargetSelector
getCalleeTarget
in interface MethodTargetSelector
caller
- 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