public class CrossLanguageClassTargetSelector extends Object implements ClassTargetSelector
Constructor and Description |
---|
CrossLanguageClassTargetSelector(Map languageSelectors) |
Modifier and Type | Method and Description |
---|---|
IClass |
getAllocatedTarget(CGNode caller,
NewSiteReference site)
Given a calling node and a new site, return the type to be allocated.
|
public CrossLanguageClassTargetSelector(Map languageSelectors)
public IClass getAllocatedTarget(CGNode caller, NewSiteReference site)
ClassTargetSelector
getAllocatedTarget
in interface ClassTargetSelector
caller
- the GCNode in the call graph containing the new site.site
- the new site reference of the new site.