|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.cast.ipa.callgraph.CrossLanguageClassTargetSelector
public class CrossLanguageClassTargetSelector
A ClassTargetSelector implementation that delegates to one of several child selectors based on the language of the type being allocated. This selector uses the language associated with the TypeReference of the allocated type to delagate t =o the appropriate language-specific selector.
| Constructor Summary | |
|---|---|
CrossLanguageClassTargetSelector(java.util.Map languageSelectors)
|
|
| Method Summary | |
|---|---|
IClass |
getAllocatedTarget(CGNode caller,
NewSiteReference site)
Given a calling node and a new site, return the type to be allocated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CrossLanguageClassTargetSelector(java.util.Map languageSelectors)
| Method Detail |
|---|
public IClass getAllocatedTarget(CGNode caller,
NewSiteReference site)
ClassTargetSelector
getAllocatedTarget in interface ClassTargetSelectorcaller - the GCNode in the call graph containing the new site.site - the new site reference of the new site.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||