Class MicroModel
- java.lang.Object
-
- com.ibm.wala.dalvik.ipa.callgraph.androidModel.AndroidModel
-
- com.ibm.wala.dalvik.ipa.callgraph.androidModel.MicroModel
-
- All Implemented Interfaces:
IClassHierarchyDweller
public class MicroModel extends AndroidModel
Model for single Target Class. Is used by the IntentContextInterpreter if a Intent can be resolved internally.- Since:
- 2013-10-12
-
-
Constructor Summary
Constructors Constructor Description MicroModel(IClassHierarchy cha, AnalysisOptions options, AnalysisCache cache, Atom target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SummarizedMethod
getMethod()
Building the SummarizedMethod is delayed upon the first class to this method.Atom
getName()
protected boolean
selectEntryPoint(AndroidEntryPoint ep)
Restrict the model to Activities.-
Methods inherited from class com.ibm.wala.dalvik.ipa.callgraph.androidModel.AndroidModel
build, build, getClassHierarchy, getDeclaringClass, getDescriptor, getMethodAs, getMethodEncap, getReturnType, isStatic, toString
-
-
-
-
Constructor Detail
-
MicroModel
public MicroModel(IClassHierarchy cha, AnalysisOptions options, AnalysisCache cache, Atom target)
-
-
Method Detail
-
selectEntryPoint
protected boolean selectEntryPoint(AndroidEntryPoint ep)
Restrict the model to Activities. Overridden by models to restraint Entrypoints. For each entrypoint this method is queried if it should be part of the model.- Overrides:
selectEntryPoint
in classAndroidModel
- Parameters:
ep
- The EntryPoint in question- Returns:
- if the given EntryPoint shall be part of the model
-
getName
public Atom getName()
- Overrides:
getName
in classAndroidModel
-
getMethod
public SummarizedMethod getMethod() throws CancelException
Description copied from class:AndroidModel
Building the SummarizedMethod is delayed upon the first class to this method.- Overrides:
getMethod
in classAndroidModel
- Returns:
- the method for this model as generated by build()
- Throws:
CancelException
-
-