void (IdeaPlugin ideaPlugin, DomElementAnnotationHolder holder, Module module) { if (!ideaPlugin.hasRealPluginId()) return; if (!isUnderProductionSources(ideaPlugin, module)) return; if (Boolean.TRUE == ideaPlugin.getImplementationDetail().getValue()) return; Collection<VirtualFile> pluginIconFiles = FilenameIndex.getVirtualFilesByName(PLUGIN_ICON_SVG_FILENAME, GlobalSearchScope.moduleScope(module)); if (pluginIconFiles.isEmpty()) { holder.createProblem(ideaPlugin, ProblemHighlightType.WEAK_WARNING, DevKitBundle.message("inspections.plugin.xml.no.plugin.icon.svg.file", PLUGIN_ICON_SVG_FILENAME), null); } }