@ApiStatus.Internal
  public static @Nullable String readProjectName(@NotNull Path projectDir) {
    String s;
    try (Stream<String> stream = Files.lines(projectDir.resolve(".name"))) {
      s = stream.findFirst().orElse("");
    }
    catch (IOException | UncheckedIOException e) {
      return null;
    }
    return normalizeProjectName(s);
  }
@ApiStatus.Internal
  public static @Nullable String readProjectName(@NotNull Path projectDir)