class Names {

  public static boolean nameNeedsEscaping(@Nullable String name) {
    return name != null
        && !name.isEmpty()
        && (name.startsWith(ESCAPE_CHAR)
            || Character.isDigit(name.charAt(0))
            || name.startsWith("/")
            || nameContainsSpecialChar(name));
  }

  private  Names();

}