Configurable (OrderEntry orderEntry) { if (!(orderEntry instanceof LibraryOrderEntry libOrderEntry)) return null; Library lib = libOrderEntry.getLibrary(); if (lib instanceof LibraryEx) { Project project = libOrderEntry.getOwnerModule().getProject(); PersistentLibraryKind<?> libKind = ((LibraryEx)lib).getKind(); if (libKind != null) { return LibrarySettingsProvider.getAdditionalSettingsConfigurable(project, libKind); } } return null; }