private static @Nullable VirtualFile findDocs(@NotNull Path jdkHome, @NotNull String relativePath) {
    Path docDir = jdkHome.resolve(relativePath);
    return Files.isDirectory(docDir) ? LocalFileSystem.getInstance().findFileByNioFile(docDir) : null;
  }
private static @Nullable VirtualFile findDocs(@NotNull Path jdkHome, @NotNull String relativePath)