public class MicroModel extends AndroidModel
Is used by the IntentContextInterpreter if a Intent can be resolved internally.
| Modifier and Type | Field and Description |
|---|---|
com.ibm.wala.util.strings.Atom |
name |
com.ibm.wala.util.strings.Atom |
target |
| Constructor and Description |
|---|
MicroModel(com.ibm.wala.ipa.cha.IClassHierarchy cha,
com.ibm.wala.ipa.callgraph.AnalysisOptions options,
com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache,
com.ibm.wala.util.strings.Atom target) |
| Modifier and Type | Method and Description |
|---|---|
com.ibm.wala.ipa.summaries.SummarizedMethod |
getMethod()
Building the SummarizedMethod is delayed upon the first class to this method.
|
com.ibm.wala.util.strings.Atom |
getName() |
protected boolean |
selectEntryPoint(AndroidEntryPoint ep)
Restrict the model to Activities.
|
build, build, getClassHierarchy, getDeclaringClass, getDescriptor, getMethodAs, getMethodEncap, getReturnType, isStatic, toStringpublic final com.ibm.wala.util.strings.Atom name
public final com.ibm.wala.util.strings.Atom target
public MicroModel(com.ibm.wala.ipa.cha.IClassHierarchy cha,
com.ibm.wala.ipa.callgraph.AnalysisOptions options,
com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache,
com.ibm.wala.util.strings.Atom 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.util.strings.Atom getName()
getName in class AndroidModelpublic com.ibm.wala.ipa.summaries.SummarizedMethod getMethod()
throws com.ibm.wala.util.CancelException
AndroidModelgetMethod in class AndroidModelcom.ibm.wala.util.CancelException