@Override
  public @Nullable String toRelativePath(@NotNull String path) {
    if (myJavaSdkPathMap == null || myJavaSdkPathMap.isEmpty()) return null;
    Optional<Map.Entry<String, String>> optionalEntry = myJavaSdkPathMap.entrySet().stream()
      .filter(entry -> FileUtil.startsWith(path, entry.getValue())).findFirst();
    if (optionalEntry.isEmpty()) return null;

    Map.Entry<String, String> javaSdkEntry = optionalEntry.get();
    return javaSdkEntry.getKey() + path.substring(javaSdkEntry.getValue().length());
  }
@Override
  public @Nullable String toRelativePath(@NotNull String path)