boolean () { if (myStopFormatting) { return true; } updateIndicatorFraction(myFilesProcessed); if (next != null) { PsiFile file = next; myFilesProcessed++; if (shouldProcessFile(file)) { updateIndicatorText(ApplicationBundle.message("bulk.reformat.process.progress.text"), ReadAction.compute(() -> getPresentablePath(myProject, file))); VirtualFile virtualFile = PsiUtilCore.getVirtualFile(file); if (virtualFile != null) { DumbService.getInstance(myProject).withAlternativeResolveEnabled(() -> performFileProcessing(virtualFile)); } } } return true; }