void (@NotNull Library library, String oldName, String newName) { final Artifact[] artifacts = myPackagingEditorContext.getArtifactModel().getArtifacts(); for (Artifact artifact : artifacts) { updateLibraryElements(artifact, library, oldName, newName); } }