boolean (VirtualFile file) { ++filesInProjectToBeIndexed; if (file.isValid() && !file.isDirectory()) sizeOfFilesToBeIndexed += file.getLength(); return filesInProjectToBeIndexed < ourMinFilesToStartDumbMode && sizeOfFilesToBeIndexed < ourMinFilesSizeToStartDumbMode && System.currentTimeMillis() < start + 100; }