Collection<MavenDomPlugin> (@NotNull final MavenDomPlugin plugin) { String artifactId = plugin.getArtifactId().getStringValue(); if (artifactId == null) return Collections.emptyList(); String groupId = plugin.getGroupId().getStringValue(); MavenDomProjectModel model = plugin.getParentOfType(MavenDomProjectModel.class, false); if (model == null) return Collections.emptyList(); return searchManagedPluginUsages(model, groupId, artifactId); }