private @Nullable String getRootProjectPath() {
    ProjectSystemId externalSystemId = mySettings.getExternalSystemId();
    AbstractExternalSystemLocalSettings<?> localSettings = ExternalSystemApiUtil.getLocalSettings(getProject(), externalSystemId);
    ExternalProjectPojo externalProject = ContainerUtil.getFirstItem(localSettings.getAvailableProjects().keySet());
    return ObjectUtils.doIfNotNull(externalProject, it -> FileUtil.toCanonicalPath(it.getPath()));
  }
private @Nullable String getRootProjectPath()