void (@NotNull PsiFile file) { fileCount[0]++; final ProgressIndicator progressIndicator = ProgressManager.getInstance().getProgressIndicator(); final VirtualFile virtualFile = file.getVirtualFile(); if (virtualFile != null) { progressIndicator.setText2(ProjectUtil.calcRelativeToProjectPath(virtualFile, project)); } progressIndicator.setText(AnalysisBundle.message("scanning.scope.progress.title")); if (!(file instanceof PsiJavaFile)) return; final Module module = ModuleUtilCore.findModuleForPsiElement(file); if (module != null && processed.add(module)) { if (PsiUtil.getLanguageLevel(file).compareTo(LanguageLevel.JDK_1_5) < 0) { modulesWithLL.add(module); } else if (javaPsiFacade.findClass(defaultNullable, GlobalSearchScope.moduleWithDependenciesAndLibrariesScope(module)) == null) { modulesWithoutAnnotations.add(module); } } }