protected static class Overrides.StartComponentMethodTargetSelector
extends java.lang.Object
implements com.ibm.wala.ipa.callgraph.MethodTargetSelector
| Modifier and Type | Field and Description |
|---|---|
protected com.ibm.wala.ipa.callgraph.MethodTargetSelector |
child |
protected com.ibm.wala.ipa.callgraph.MethodTargetSelector |
parent |
protected java.util.HashMap<com.ibm.wala.types.MethodReference,com.ibm.wala.ipa.summaries.SummarizedMethod> |
syntheticMethods |
| Constructor and Description |
|---|
StartComponentMethodTargetSelector(java.util.HashMap<com.ibm.wala.types.MethodReference,com.ibm.wala.ipa.summaries.SummarizedMethod> syntheticMethods,
com.ibm.wala.ipa.callgraph.MethodTargetSelector child) |
| Modifier and Type | Method and Description |
|---|---|
com.ibm.wala.classLoader.IMethod |
getCalleeTarget(com.ibm.wala.ipa.callgraph.CGNode caller,
com.ibm.wala.classLoader.CallSiteReference site,
com.ibm.wala.classLoader.IClass receiver) |
void |
setChild(com.ibm.wala.ipa.callgraph.MethodTargetSelector child)
The MethodTarget selector to ask when the Method could not be resolved by this one.
|
void |
setParent(com.ibm.wala.ipa.callgraph.MethodTargetSelector parent)
The MethodTarget selector to ask before trying to resolve the Method with this one.
|
protected com.ibm.wala.ipa.callgraph.MethodTargetSelector parent
protected com.ibm.wala.ipa.callgraph.MethodTargetSelector child
protected final java.util.HashMap<com.ibm.wala.types.MethodReference,com.ibm.wala.ipa.summaries.SummarizedMethod> syntheticMethods
public StartComponentMethodTargetSelector(java.util.HashMap<com.ibm.wala.types.MethodReference,com.ibm.wala.ipa.summaries.SummarizedMethod> syntheticMethods,
com.ibm.wala.ipa.callgraph.MethodTargetSelector child)
syntheticMethods - The Methods to overridechild - Ask child if unable to resolve. May be nullpublic void setParent(com.ibm.wala.ipa.callgraph.MethodTargetSelector parent)
java.lang.IllegalStateException - if tried to set parent twicepublic void setChild(com.ibm.wala.ipa.callgraph.MethodTargetSelector child)
In order to be able to use this function you have to set null as child in the Constructor.
java.lang.IllegalStateException - if tried to set parent twicepublic com.ibm.wala.classLoader.IMethod getCalleeTarget(com.ibm.wala.ipa.callgraph.CGNode caller,
com.ibm.wala.classLoader.CallSiteReference site,
com.ibm.wala.classLoader.IClass receiver)
getCalleeTarget in interface com.ibm.wala.ipa.callgraph.MethodTargetSelector