code: private static Pair<Method, Object> findMethodInActivityAndFragments(FragmentActivity activity, Class<?> resultType,
                                                                           Class<? extends TaskResult> annotation, Task<?> task, boolean compareFragmentIndex) {
  
          Pair<Method, Object> pair = findMethodInActivity(activity, activity.getClass(), resultType, annotation, task);
          if (pair != null) {
              return pair;
          }
  
          return findMethodInFragmentManager(FragmentHack.getFragmentManager(activity), resultType, annotation, task, compareFragmentIndex);
      }
docs: /*
  public void post(TaskCacheFragmentInterface cacheFragment, Object result, Task<?> task) {
  Pair<Method, Object> target = getMethod(cacheFragment, getResultType(result, task), task);
  if (target != null) {
  invoke(target, result, task);
  }
  }