Set<TodoItem> (@NotNull PsiFile psiFile, @Nullable TodoFilter todoFilter) { VirtualFile file = psiFile.getVirtualFile(); if (!myIncludedFiles.contains(file)) return Collections.emptySet(); Change change = ChangeListManager.getInstance(myProject).getChange(file); if (change == null) return Collections.emptySet(); List<Change> changes = Collections.singletonList(change); TodoCheckinHandlerWorker worker = new TodoCheckinHandlerWorker(myProject, PartialChangesUtil.wrapPartialChanges(myProject, changes), todoFilter); worker.execute(); return worker.inOneList(); }