Class IntentModel
- java.lang.Object
-
- com.ibm.wala.dalvik.ipa.callgraph.androidModel.AndroidModel
-
- com.ibm.wala.dalvik.ipa.callgraph.androidModel.IntentModel
-
- All Implemented Interfaces:
IClassHierarchyDweller
public class IntentModel extends AndroidModel
Like MicroModel but includes CallBacks.- Since:
- 2014-02-12
-
-
Constructor Summary
Constructors Constructor Description IntentModel(IClassHierarchy cha, AnalysisOptions options, AnalysisCache cache, Atom target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SummarizedMethodgetMethod()Building the SummarizedMethod is delayed upon the first class to this method.AtomgetName()protected booleanselectEntryPoint(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
-
IntentModel
public IntentModel(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:
selectEntryPointin classAndroidModel- Parameters:
ep- The EntryPoint in question- Returns:
- if the given EntryPoint shall be part of the model
-
getName
public Atom getName()
- Overrides:
getNamein classAndroidModel
-
getMethod
public SummarizedMethod getMethod() throws CancelException
Description copied from class:AndroidModelBuilding the SummarizedMethod is delayed upon the first class to this method.- Overrides:
getMethodin classAndroidModel- Returns:
- the method for this model as generated by build()
- Throws:
CancelException
-
-