void (@Nullable Element element) { collectPaths(JDOMExternalizer.loadStringsList(element, PATHS_ADDED_BY_USER_ROOT, PATH_ADDED_BY_USER), myAddedPaths); collectPaths(JDOMExternalizer.loadStringsList(element, PATHS_REMOVED_BY_USER_ROOT, PATH_REMOVED_BY_USER), myExcludedPaths); collectPaths(JDOMExternalizer.loadStringsList(element, PATHS_TO_TRANSFER_ROOT, PATH_TO_TRANSFER), myPathsToTransfer); if (element != null) { setAssociatedModulePath(element.getAttributeValue(ASSOCIATED_PROJECT_PATH)); var uuidStr = element.getAttributeValue(SDK_UUID_FIELD_NAME); if (uuidStr != null) { myUUID = UUID.fromString(uuidStr); } setAssociatedModulePath(element.getAttributeValue(ASSOCIATED_PROJECT_PATH)); var flavorId = JDOMExternalizer.readString(element, FLAVOR_ID); if (flavorId != null) { var flavorOpt = PythonSdkFlavor.EP_NAME.getExtensionList().stream().filter(f -> f.getUniqueId().equals(flavorId)).findFirst(); if (flavorOpt.isPresent()) { setFlavorFromConfig(element, flavorOpt.get()); } else { myFlavorAndData = new PyFlavorAndData<>(PyFlavorData.Empty.INSTANCE, PythonSdkFlavor.UnknownFlavor.INSTANCE); } } } }