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

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
  • 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

      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 class AndroidModel
      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:
      getName in class AndroidModel
    • getMethod

      public com.ibm.wala.ipa.summaries.SummarizedMethod getMethod() throws com.ibm.wala.util.CancelException
      Description copied from class: AndroidModel
      Building the SummarizedMethod is delayed upon the first class to this method.
      Overrides:
      getMethod in class AndroidModel
      Returns:
      the method for this model as generated by build()
      Throws:
      com.ibm.wala.util.CancelException