@NotNull
  private List<TodoItem> collectTodoItems(@NotNull PsiFile psiFile, boolean isLight) {
    if (!isLight) ApplicationManager.getApplication().assertReadAccessAllowed();
    PsiTodoSearchHelper searchHelper = PsiTodoSearchHelper.getInstance(myProject);
    TodoItem[] todoItems = isLight ? searchHelper.findTodoItemsLight(psiFile)
                                   : searchHelper.findTodoItems(psiFile);
    return applyFilterAndRemoveDuplicatesAndSort(todoItems, myTodoFilter);
  }
@NotNull
  private List<TodoItem> collectTodoItems(@NotNull PsiFile psiFile, boolean isLight)