public class ExternalModel extends AndroidModel
Is used by the IntentContextInterpreter if an Intent is marked as beeing external.
IntentContextInterpreter| Modifier and Type | Field and Description |
|---|---|
com.ibm.wala.util.strings.Atom |
name |
| Constructor and Description |
|---|
ExternalModel(com.ibm.wala.ipa.cha.IClassHierarchy cha,
com.ibm.wala.ipa.callgraph.AnalysisOptions options,
com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache,
AndroidComponent target) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
build(com.ibm.wala.util.strings.Atom name,
java.util.Collection<? extends AndroidEntryPoint> entrypoints)
Generate the SummarizedMethod for the model (in this.model).
|
com.ibm.wala.ipa.summaries.SummarizedMethod |
getMethod()
Building the SummarizedMethod is delayed upon the first class to this method.
|
protected boolean |
selectEntryPoint(AndroidEntryPoint ep)
Do not call any EntryPoint.
|
build, getClassHierarchy, getDeclaringClass, getDescriptor, getMethodAs, getMethodEncap, getName, getReturnType, isStatic, toStringpublic ExternalModel(com.ibm.wala.ipa.cha.IClassHierarchy cha,
com.ibm.wala.ipa.callgraph.AnalysisOptions options,
com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache,
AndroidComponent target)
protected boolean selectEntryPoint(AndroidEntryPoint ep)
Overridden by models to restraint Entrypoints.
For each entrypoint this method is queried if it should be part of the model.
selectEntryPoint in class AndroidModelep - The EntryPoint in questionpublic com.ibm.wala.ipa.summaries.SummarizedMethod getMethod()
throws com.ibm.wala.util.CancelException
AndroidModelgetMethod in class AndroidModelcom.ibm.wala.util.CancelExceptionprotected void build(com.ibm.wala.util.strings.Atom name,
java.util.Collection<? extends AndroidEntryPoint> entrypoints)
AndroidModelThe actual generated model depends on the on the properties of this overloaded class. Most generated methods should reside in the AndroidModelClass and take AndroidComponents as well as some parameters (these marked REUSE) to the EntryPoints of the components.
Use AndroidModel.getMethod() to retrieve the method generated here or getMethodAs to get a
version which is wrapped to another signature.
build in class AndroidModelname - The name the generated method will be known asentrypoints - The functions to call additionally to boot-code and XXX