void (@NotNull Facet facet) { if (facet == LibraryContributingFacet.this) { ApplicationManager.getApplication().invokeLater(() -> ((LibraryContributingFacet<?>) facet).updateLibrary(), module.getDisposed()); } }