PluginInfo (InspectionToolWrapper<?, ?> tool) { InspectionEP extension = tool.getExtension(); PluginDescriptor pluginDescriptor = extension == null ? null : extension.getPluginDescriptor(); return pluginDescriptor != null ? getPluginInfoByDescriptor(pluginDescriptor) : null; }