void (@NotNull Element element) { final String typeId = element.getAttributeValue(JpsLibraryTableSerializer.TYPE_ATTRIBUTE); if (typeId == null) return; myKind = (PersistentLibraryKind<?>)LibraryKindRegistry.getInstance().findKindById(typeId); final Element propertiesElement = element.getChild(JpsLibraryTableSerializer.PROPERTIES_TAG); if (myKind == null) { myKind = UnknownLibraryKind.getOrCreate(typeId); UnknownLibraryKind.UnknownLibraryProperties properties = new UnknownLibraryKind.UnknownLibraryProperties(); properties.setConfiguration(propertiesElement); myProperties = properties; return; } myProperties = myKind.createDefaultProperties(); if (propertiesElement != null) { ComponentSerializationUtil.loadComponentState(myProperties, propertiesElement); } }