boolean (@NotNull DependencyAnalysisResult result) { for (DependenciesBuilder builder : result.getBuilders()) { for (Set<PsiFile> files : builder.getDependencies().values()) { if (!files.isEmpty()) { return true; } } } final String source = StringUtil.decapitalize(result.getPanelDisplayName()); final String target = StringUtil.decapitalize(myTargetScope.getDisplayName()); String message = CodeInsightBundle.message("no.dependencies.found.message", source, target); if (DependencyVisitorFactory.VisitorOptions.fromSettings(myProject).skipImports()) { message += " "; message += CodeInsightBundle.message("dependencies.in.imports.message"); } NOTIFICATION_GROUP.createNotification(message, MessageType.INFO).notify(myProject); return false; }