Class MicroModel
java.lang.Object
com.ibm.wala.dalvik.ipa.callgraph.androidModel.AndroidModel
com.ibm.wala.dalvik.ipa.callgraph.androidModel.MicroModel
- All Implemented Interfaces:
com.ibm.wala.ipa.cha.IClassHierarchyDweller
Model for single Target Class.
Is used by the IntentContextInterpreter if a Intent can be resolved internally.
- Since:
- 2013-10-12
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.ibm.wala.core.util.strings.Atomfinal com.ibm.wala.core.util.strings.Atom -
Constructor Summary
ConstructorsConstructorDescriptionMicroModel(com.ibm.wala.ipa.cha.IClassHierarchy cha, com.ibm.wala.ipa.callgraph.AnalysisOptions options, com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache, com.ibm.wala.core.util.strings.Atom target) -
Method Summary
Modifier and TypeMethodDescriptioncom.ibm.wala.ipa.summaries.SummarizedMethodBuilding the SummarizedMethod is delayed upon the first class to this method.com.ibm.wala.core.util.strings.AtomgetName()protected booleanRestrict 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
public final com.ibm.wala.core.util.strings.Atom name -
target
public final com.ibm.wala.core.util.strings.Atom target
-
-
Constructor Details
-
MicroModel
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.core.util.strings.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
public com.ibm.wala.core.util.strings.Atom getName()- Overrides:
getNamein classAndroidModel
-
getMethod
public com.ibm.wala.ipa.summaries.SummarizedMethod getMethod() throws com.ibm.wala.util.CancelExceptionDescription 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:
com.ibm.wala.util.CancelException
-