protected final boolean acceptTodoFilter(@NotNull PsiFile psiFile) {
    PsiTodoSearchHelper searchHelper = getSearchHelper();
    return myTodoFilter != null && myTodoFilter.accept(searchHelper, psiFile) ||
           (myTodoFilter == null && searchHelper.getTodoItemsCount(psiFile) > 0);
  }
protected final boolean acceptTodoFilter(@NotNull PsiFile psiFile)