void () { List<SamDescriptor> descriptors = calcDescriptors(this); if (scope instanceof GlobalSearchScope && !performSearchUsingCompilerIndices(descriptors, (GlobalSearchScope)scope, project, consumer)) { return; } PsiManager.getInstance(project).runInBatchFilesMode(() -> { processOffsets(descriptors, this); return null; }); }