java.lang.Object
com.ibm.wala.dalvik.ipa.callgraph.androidModel.AndroidModel
com.ibm.wala.dalvik.ipa.callgraph.androidModel.IntentModel
All Implemented Interfaces:
com.ibm.wala.ipa.cha.IClassHierarchyDweller

public class IntentModel extends AndroidModel
Like MicroModel but includes CallBacks.
Since:
2014-02-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

    • IntentModel

      public IntentModel(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