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
Model for single Target Class.
Is used by the IntentContextInterpreter if a Intent can be resolved internally.
- Since:
- 2013-10-12
- Author:
- Tobias Blaschke <code@tobiasblaschke.de>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMicroModel(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache, Atom target) -
Method Summary
Modifier and TypeMethodDescriptionBuilding the SummarizedMethod is delayed upon the first class to this method.getName()protected booleanRestrict the model to Activities.Methods inherited from class AndroidModel
build, build, getClassHierarchy, getDeclaringClass, getDescriptor, getMethodAs, getMethodEncap, getReturnType, isStatic, toString
-
Field Details
-
name
-
target
-
-
Constructor Details
-
MicroModel
public MicroModel(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache, Atom target)
-
-
Method Details
-
selectEntryPoint
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
- Overrides:
getNamein classAndroidModel
-
getMethod
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
-