void (@NotNull ProjectStructureElement element) { if (element instanceof ArtifactProjectStructureElement) { final Artifact originalArtifact = ((ArtifactProjectStructureElement)element).getOriginalArtifact(); final ArtifactEditorImpl artifactEditor = myArtifactEditors.get(originalArtifact); if (artifactEditor != null) { updateProblems(originalArtifact, artifactEditor); } } }