public static boolean isWindowsUNCRoot(@NotNull CharSequence path, int lastPathSeparatorPosition) {
    return Platform.CURRENT == Platform.WINDOWS &&
           startsWithSeparatorSeparator(path) && lastPathSeparatorPosition >= 1
           && !hasFileSeparatorsOrNavigatableDots(path, 2, lastPathSeparatorPosition);
  }
public static boolean isWindowsUNCRoot(@NotNull CharSequence path, int lastPathSeparatorPosition)