public class UnknownTargetModel extends AndroidModel
All internal Components of a Type (if given) then an ExternalModel is called. Used by the IntentContextInterpreter.
IntentContextInterpreter| Modifier and Type | Field and Description |
|---|---|
com.ibm.wala.util.strings.Atom |
name |
| Constructor and Description |
|---|
UnknownTargetModel(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)
The UnknownTargetModel does not call any entrypoints on it's own.
|
build, getClassHierarchy, getDeclaringClass, getDescriptor, getMethodAs, getMethodEncap, getName, getReturnType, isStatic, toStringpublic UnknownTargetModel(com.ibm.wala.ipa.cha.IClassHierarchy cha,
com.ibm.wala.ipa.callgraph.AnalysisOptions options,
com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache,
AndroidComponent target)
target - Component Type, may be null: No restrictions are imposed on AndroidModel thenprotected boolean selectEntryPoint(AndroidEntryPoint ep)
Instead it first creates a restricted AndroidModel and an ExternalModel. These are actually called.
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)
throws com.ibm.wala.util.CancelException
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 XXXcom.ibm.wala.util.CancelException