void (@NotNull Collection<VirtualFile> files, final FrameworkType frameworkType) { ensureOldSettingsLoaded(); if (!myDetectionEnabled || myExcludedFrameworks.contains(frameworkType.getId())) { files.clear(); return; } final Iterator<VirtualFile> iterator = files.iterator(); while (iterator.hasNext()) { ProgressManager.checkCanceled(); VirtualFile file = iterator.next(); if (isFileExcluded(file, frameworkType.getId())) { iterator.remove(); } } }