@ApiStatus.Internal
  public static boolean isSeparator(@Nullable TreePath path) {
    return path != null && isSeparator(path.getLastPathComponent());
  }
@ApiStatus.Internal
  public static boolean isSeparator(@Nullable TreePath path)