public void writeExternal(@NotNull Element element, @Nullable PathMacroSubstitutor pathMacroSubstitutor) {
    writeField(element, BEFORE_PATH_FIELD_NAME, collapsePath(BEFORE_PATH, pathMacroSubstitutor));
    writeField(element, AFTER_PATH_FIELD_NAME, collapsePath(AFTER_PATH, pathMacroSubstitutor));
    writeField(element, SHELVED_PATH_FIELD_NAME, collapsePath(SHELVED_PATH, pathMacroSubstitutor));
  }
public void writeExternal(@NotNull Element element, @Nullable PathMacroSubstitutor pathMacroSubstitutor)