private static boolean isContentRootAncestor(@NotNull ContentRootData data, @NotNull File ideaOutDir) {
    var canonicalIdeOutPath = toCanonicalPath(ideaOutDir.getPath());
    var canonicalRootPath = data.getRootPath();
    return isAncestor(canonicalRootPath, canonicalIdeOutPath, false);
  }
private static boolean isContentRootAncestor(@NotNull ContentRootData data, @NotNull File ideaOutDir)