public static @NotNull BasicFileAttributes readAttributes(@NotNull Path path) throws IOException, SecurityException {
    try {
      return Files.readAttributes(path, BasicFileAttributes.class, NO_FOLLOW);
    }
    catch (NoSuchFileException | AccessDeniedException e) { throw e; }
    catch (FileSystemException e) {
      if (SystemInfo.isWindows && JnaLoader.isLoaded() && isNtfsReparsePoint(path)) {
        LOG.debug(e);
        return BROKEN_SYMLINK;
      }
      throw e;
    }
  }
public static @NotNull BasicFileAttributes readAttributes(@NotNull Path path)