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
-
Constructor Summary
ConstructorDescriptionMicroModel
(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 boolean
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
-
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:
selectEntryPoint
in classAndroidModel
- Parameters:
ep
- The EntryPoint in question- Returns:
- if the given EntryPoint shall be part of the model
-
getName
- Overrides:
getName
in classAndroidModel
-
getMethod
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
-