void (@NotNull final Element rootElement) { savePaths(rootElement, myAddedPaths, PATHS_ADDED_BY_USER_ROOT, PATH_ADDED_BY_USER); savePaths(rootElement, myExcludedPaths, PATHS_REMOVED_BY_USER_ROOT, PATH_REMOVED_BY_USER); savePaths(rootElement, myPathsToTransfer, PATHS_TO_TRANSFER_ROOT, PATH_TO_TRANSFER); if (myAssociatedModulePath != null) { rootElement.setAttribute(ASSOCIATED_PROJECT_PATH, myAssociatedModulePath); } rootElement.setAttribute(SDK_UUID_FIELD_NAME, myUUID.toString()); JDOMExternalizer.write(rootElement, FLAVOR_ID, myFlavorAndData.getFlavor().getUniqueId()); JDOMExternalizer.write(rootElement, FLAVOR_DATA, myGson.toJson(myFlavorAndData.getData(), myFlavorAndData.getDataClass())); }