|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContextSelector
An interface to an object which helps control context-sensitivity
| Method Summary | |
|---|---|
boolean |
allSitesDispatchIdentically(CGNode node,
CallSiteReference site)
|
boolean |
contextIsIrrelevant(CGNode node,
CallSiteReference site)
|
int |
getBoundOnNumberOfTargets(CGNode caller,
CallSiteReference site,
IMethod targetMethod)
|
Context |
getCalleeTarget(CGNode caller,
CallSiteReference site,
IMethod callee,
InstanceKey receiver)
Given a call site, returns the Context in which the callee should be evaluated. |
boolean |
mayUnderstand(CGNode caller,
CallSiteReference site,
IMethod targetMethod,
InstanceKey instance)
|
void |
setWarnings(WarningSet newWarnings)
Bind this object to a new object to track warnings |
| Method Detail |
|---|
Context getCalleeTarget(CGNode caller,
CallSiteReference site,
IMethod callee,
InstanceKey receiver)
site - description of the call site
int getBoundOnNumberOfTargets(CGNode caller,
CallSiteReference site,
IMethod targetMethod)
boolean mayUnderstand(CGNode caller,
CallSiteReference site,
IMethod targetMethod,
InstanceKey instance)
instance - the instance dispatched on. null means "any possible instance"
void setWarnings(WarningSet newWarnings)
newWarnings -
boolean contextIsIrrelevant(CGNode node,
CallSiteReference site)
site -
boolean allSitesDispatchIdentically(CGNode node,
CallSiteReference site)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||